Thinkpad X13s

Return to Home Page

Device status

Audio DisplayPortN
Mic6.5 (*) Some capture issues Some capture issues
Speakers6.5 (*) - Active speaker protection not enabled, volume limited for now,
- Pops and clicks
- Pipewire playback issues (switch to Pulseaudio as workaround)
- Reducing quantum size appears to help with playback issues -
pw-metadata -n settings 0 clock.max-quantum 1024
- Active speaker protection not enabled, volume limited for now,
- Pops and clicks
- Pipewire playback issues (switch to Pulseaudio as workaround)
- Reducing quantum size appears to help with playback issues -
pw-metadata -n settings 0 clock.max-quantum 1024
Camera6.12 (*) - libcamera needs acccess to /dev/udmabuf (e.g. user must be in the kvm group) - libcamera needs acccess to /dev/udmabuf (e.g. user must be in the kvm group)
Connectivity Bluetooth6.4 (*) - Connectivity issues due to missing board-specific firmware (e.g. very limited range) (fixed in wip branch and linux-firmware)
- Device address needs to be set manually for now: btmgmt --index 0 public-addr 00:11:22:33:44:55
- Connectivity issues due to missing board-specific firmware (e.g. very limited range) (fixed in wip branch and linux-firmware)
- Device address needs to be set manually for now: btmgmt --index 0 public-addr 00:11:22:33:44:55
Wifi6.4 (*) - MAC address not static, can be worked around using udev (e.g. in /etc/udev/rules.d/90-net-address.rules):
ACTION=="add", SUBSYSTEM=="net", KERNELS=="0006:01:00.0", RUN+="/usr/bin/ip link set dev $name address xx:xx:xx:xx:xx:xx"
- Wi-Fi breaks due to ring-buffer corruption (infrequent)
- MAC address not static, can be worked around using udev (e.g. in /etc/udev/rules.d/90-net-address.rules):
ACTION=="add", SUBSYSTEM=="net", KERNELS=="0006:01:00.0", RUN+="/usr/bin/ip link set dev $name address xx:xx:xx:xx:xx:xx"
- Wi-Fi breaks due to ring-buffer corruption (infrequent)
Modem6.2
CPUfreq6.0
EFI variables6.7
HID Backlight6.0
Keyboard6.0
Special KeysN (*) Support for some functions like mic mute is missing Support for some functions like mic mute is missing
Touchpad6.0
Touchscreen6.0
Fingerprint reader6.1
PCIe6.2
Power Battery6.3
HibernationN
Suspend6.1 (*) - All displays fail to resume if suspending after disconnecting external display in X.
- Crash on resume if disconnecting external display while suspended.
- Not yet hitting deepest low-power state during suspend.
- USB disconnect triggers wakeup (disconnect before suspending as workaround)
- All displays fail to resume if suspending after disconnecting external display in X.
- Crash on resume if disconnecting external display while suspended.
- Not yet hitting deepest low-power state during suspend.
- USB disconnect triggers wakeup (disconnect before suspending as workaround)
Remoteproc6.0 (*) aDSP fails to register its services (e.g. sound, battery, USB-C orientation) (very infrequent) aDSP fails to register its services (e.g. sound, battery, USB-C orientation) (very infrequent)
RTC6.4
Storage NVMe SSD6.2
UFSN/A
Thermal sensors6.2
TPMN
USB USBA6.0
USBC6.0
USBC Display Alt Mode6.3 (*) Display driver does not yet support 4-lane DisplayPort Alt Mode Display driver does not yet support 4-lane DisplayPort Alt Mode
USBPDWIP
Video Display6.3 (*) Link training fails during resume (very infrequent) Link training fails during resume (very infrequent)
HDMIN/A
GPU6.5
Video AccelerationBranch
VirtualisationN
Watchdog6.0

Step-by-step install guides

Distro-specific information

Work-in-progress branches

Important fixes and support for new features (once stable enough) can be found in my X13s (sc8280xp) wip branches, for example:

https://github.com/jhovold/linux/tree/wip/sc8280xp-6.13-rc1

These branches also include a minimal (but functional) johan_defconfig that serves as documentation for the configuration options that need to be enabled for the X13s.

Kernel command line

To boot Linux the following kernel parameters need to be provided:

clk_ignore_unused pd_ignore_unused arm64.nopauth efi=noruntime

due to a generic resource handover issue and a couple of firmware bugs, respectively.

With recent UEFI firmware efi=noruntime can be left out when the Linux Boot option is enabled.

Userspace dependencies

  • alsa-ucm-conf 1.2.11
  • libcamera 0.3.0
  • linux-firmware-20230919
    • Bluetooth NVM config (hpnv21.b8c and hpnv21g.b8c) from latest linux-firmware
    • Video acceleration firmware (qcvss8280.mbn) with wip branch
  • Mesa 23.1.4
  • ModemManager 1.20 + fcc-unlock symlink
  • ~Qualcomm protection-domain mapper daemon (pd-mapper)~ (not needed since 6.11)

Information collected and more information

See https://github.com/jhovold/linux/wiki/X13s