Debian on X1 Yoga 5th gen

Debian on X1 Yoga 5th gen

General support

Consider to use Debian Bullseye for a correct Intel Chipset support.

Wireless

You'll need the non-free firmware-iwlwifi package to use wireless card.

Touchscreen

They are working great by default with multi touch, rotation

Firefox

Firefox need a little configuration to be able to use scroll and pinch. Just use this command to set a specific environment var

$ echo export MOZ_USE_XINPUT2=1|sudo tee /etc/profile.d/use-xinput2.sh

Wacom tablet and stylus

As usual with wacom the device is working out of box

Sound

At this time you need the non-free packages to install firmware-sof-signed for full support. I recommend it if you want to use microphone.

If sound is muted by default, please use alsamixer to choose correct sound device with F6 key and save unmute master even if already unmuted. Store the configuration for next boot with command alsactl store

Virtualbox

Virtualbox can be installed from sid repository at this time.

If you want to keep Secure Boot enabled which is the recommanded way, you have to sign virtualbox modules to be able to use them. You'll need to install mokutil package to generate your own key pair and sign the modules

# /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n vboxdrv)
# /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n vboxnetflt)
# /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n vboxnetadp)

Battery optimizations

Consider to install tlp package to save much more energy. This package is not installed by default even if your computer is detected as laptop

Fingerprint reader

Still looking on a way to enable it