Lenovo ThinkPad X13 Gen 1 (AMD) - ArchWiki

Jump to content

# Lenovo ThinkPad X13 Gen 1 (AMD)

From ArchWiki

Hardware | PCI/USB ID | Working?
--- | --- | ---
Touchpad |  | Yes
J-Mouse |  | Yes
Keyboard |  | Yes
Video | `8086:2723` | Yes
Webcam | `04f2:b6d0` | Yes
Ethernet | `10ec:8168` | Yes
Bluetooth | `8086:2723` | Yes
Power management |  | Yes
USB Ports | `10ec:816d` | Yes
SD-Card slot | `` | Yes
HDMI |  | Yes
Audio | `1022:15e3` | Yes
Wireless | `8086:2723` | Yes
Fingerprint reader | `06cb:00bd` | Yes
TPM |  | Untested

## Installation

No special steps needed for installation.

### BIOS

It is recommended to run the latest BIOS version, which is currently 1.36.

The BIOS update can be downloaded as an ISO image from the X13 support page and loaded to a USB stick.

Additionally, there is a BIOS option for customizing the Power profile that by default is tuned to `Windows 10` and is recommended to be set to `Linux`. This setting has been shown to reduce issues with #Power Management.

## Accessibility

The BIOS offers two modes of operation, GUI and Simple Text.

The GUI can be navigated to some degree via the keyboard. Left and Right arrow keys to move the selection and Space to activate.

For full keyboard support switching to simple text would likely be better.

That can be accomplished by:

- Selecting and activating Config on the left side under Setup
- Right arrowing until the drop down to the right of Setup UI is selected
- active the drop down and select Simple Text
- F10 (save and exit)

Note: Blind users may want to request the help of a sighted person to change BIOS settings

## Hardware

### Video

#### Lightdm

Lightdm seems to have an issue with amdgpu loading too late. Use KMS to load the video driver into initramfs

    /etc/mkinitcpio.conf

    MODULES=(amdgpu)

Regenerate the initramfs.

#### Brightness control

As of kernel 5.9 use the native brightness controller

    /etc/default/grub

    GRUB_CMDLINE_LINUX_DEFAULT=".... acpi_backlight=native ...."

Regenerate the main GRUB configuration file.

### Audio

PulseAudio seems to work fine without manual intervention, but the ALSA audio device chosen by default may not be correct. You may need to change the default device.

    /etc/asound.conf

    defaults.pcm.card 2
    defaults.ctl.card 2

You should remember to unmute the volume using the alsamixer interactive application.

    $ alsamixer

You may need to make your settings permanent with the alsactl application.

    # alsactl store

### Webcam

If the integrated webcam is not accessible as `/dev/video*` and does not appear in the output of `lsusb`, installing upd72020x-fwAUR may help.

## Firmware

fwupd does not support this device yet.

## Power Management

Various issues have been reported with resuming from suspend. In order to mitigate them follow the best practices described in #BIOS.

On systems that use full-disk encryption with sd-encrypt it might be preferred to switch to using the `encrypt` mkinitcpio hook.

## Function keys

Key | Visible?1 | Marked?2 | Effect
--- | --- | --- | ---
`Fn` | Yes | No | `XF86WakeUp`
`Fn+Esc` | No | Yes | Enables Fn lock
`Fn+F1` | Yes | Yes | `XF86AudioMute`
`Fn+F2` | Yes | Yes | `XF86AudioLowerVolume`
`Fn+F3` | Yes | Yes | `XF86AudioRaiseVolume`
`Fn+F4` | Yes | Yes | `XF86AudioMicMute`
`Fn+F5` | No | Yes | Monitor Brightness Down
`Fn+F6` | No | Yes | Monitor Brightness Up
`Fn+F7` | Yes | Yes | `XF86Display`
`Fn+F8` | Yes | Yes | `XF86WLAN`3
`Fn+F9` | No | Yes |
`Fn+F10` | No | Yes |
`Fn+F11` | No | Yes |
`Fn+F12` | Yes | Yes | `XF86Favorites`
`Fn+Space` | No | Yes | Enables/disables keyboard backlight
`Fn+4` | Yes | No | `XF86Sleep`3
`Fn+B` | Yes | No | `Ctrl_L + Break`
`Fn+P` | Yes | No | `Pause`
`Fn+K` | Yes | No | `Scroll Lock`
`Fn+Left` | Yes | No | `Home`
`Fn+Right` | Yes | No | `End`
`Fn+S` | Yes | No | `Alt_L + SysRq`
`Fn+End` | Yes | Yes | `Ins`

1. The key is visible via `xev` and similar tools
2. The physical key has a symbol on it, which describes its function
3. systemd-logind handles this by default

## See also

- Specifications: https://psref.lenovo.com/syspool/Sys/PDF/ThinkPad/ThinkPad_x13_Gen_1_AMD/ThinkPad_x13_Gen_1_AMD_Spec.PDF
- Official service manual: https://download.lenovo.com/pccbbs/mobiles_pdf/t14s_gen1_x13_gen1_hmm_en.pdf
- https://certification.ubuntu.com/hardware/202006-27979

Category:

- Lenovo