|
| 1 | +# Lenovo ThinkPad X13s |
| 2 | + |
| 3 | +The Lenovo ThinkPad X13s Snapdragon-based laptop is supported on kernel 6.8 and |
| 4 | +higher, with some caveats. See [jhovold's |
| 5 | +wiki](https://github.com/jhovold/linux/wiki/X13s) for the current feature |
| 6 | +support status. |
| 7 | + |
| 8 | +## Installation |
| 9 | + |
| 10 | +Before installing, update the UEFI firmware to at least version 1.59 from |
| 11 | +Windows, then disable "Secure Boot" and enable "Linux Boot" in the UEFI |
| 12 | +firmware. |
| 13 | + |
| 14 | +Boot an aarch64 Void Linux live ISO using one of the "Void Linux for Thinkpad |
| 15 | +X13s" menu entries in GRUB. |
| 16 | + |
| 17 | +To install, follow the [chroot install guide](../chroot.md), using the "XBPS |
| 18 | +method", observing the following modifications: |
| 19 | + |
| 20 | +For the base installation, install both `base-system` and `x13s-base`. This |
| 21 | +package provides important configurations and installs the necessary |
| 22 | +dependencies. |
| 23 | + |
| 24 | +Before running `grub-install`, append the following to `/etc/default/grub`: |
| 25 | + |
| 26 | +``` |
| 27 | +GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT arm64.nopauth clk_ignore_unused pd_ignore_unused" |
| 28 | +GRUB_DEFAULT_DTB="qcom/sc8280xp-lenovo-thinkpad-x13s.dtb" |
| 29 | +``` |
| 30 | + |
| 31 | +> Note: if using another bootloader, ensure the kernel cmdline arguments |
| 32 | +> `arm64.nopauth clk_ignore_unused pd_ignore_unused` are used. |
| 33 | +
|
| 34 | +The `void-installer` script provided on Void live ISOs currently is not |
| 35 | +compatible with this device. |
| 36 | + |
| 37 | +## WWAN (LTE) |
| 38 | + |
| 39 | +To enable the WWAN modem, install `ModemManager` and unlock it: |
| 40 | + |
| 41 | +``` |
| 42 | +# mkdir -p /etc/ModemManager/fcc-unlock.d |
| 43 | +# ln -s /usr/share/ModemManager/fcc-unlock.available.d/105b /etc/ModemManager/fcc-unlock.d/105b:e0c3 |
| 44 | +``` |
0 commit comments