Lenovo X13s Debian Journey

I finally got Linux working on my Lenovo X13s to the level where it's almost a complete daily driver.

  • Graphics acceleration works (w/6.3 kernel or later & mesa 23.1.4-1 or later)
  • 5ghz wifi works
  • Sound works

What isn't working yet.

  • Sleep/Suspend
  • Webcam

For those who want to embark on this adventure, I recommend using these Debian instructions for now.

I was able to get Ubuntu booting, however sound didn't work so I went back to debian.

Note, I have read that there's an aarch linux build out there, however, I am not an aarch person.

Kernel

I recommending using the following kernel with this config

Summary of commands

git clone https://github.com/jhovold/linux.git
cd linux
git checkout wip/sc8280xp-v6.4-rc3
# Copy laptops_defconfig to arch/arm64/configs
make laptops_defconfig
make -j8 bindeb-pkg LOCALVERSION="-01"

# Install the deb package in the parent directory
cd ..
sudo dpkg -i linux-image-6.5.0-rc3-01_6.5.0-rc3-g29a2c46da75c-1_arm64.deb

# Copy the dtb over (example below, please double check your files)
sudo cp /usr/lib/linux-image-6.5.0-rc3-01/qcom/sc8280xp-lenovo-thinkpad-x13s.dtb /boot/efi/dtb/f249803d-0d95-54f3-a28f-f26c14a03f3b.dtb

To be safe run update-grub and if you have windows installed still, ensure windows is added to grub.

Comments

Popular posts from this blog

Getting Vulkan on Crostini/Pixelbook to work