Lenovo ThinkPad X1 Nano

Power management

At least with all current maintained kernel (< 5.13) the laptop will fail to resume after suspension. A workaround is to disable the wake-up for the WAN modem:

# echo 'RP01      S4    *disabled   pci:0000:00:1c.0' >> /proc/acpi/wakeup

To execute at every start you can add a systemd service, for example /etc/systemd/system/wakeup-bug.service

/etc/systemd/system/wakeup-bug.service
[Unit]
Description=something

[Service]
ExecStart=/bin/bash -c "echo 'RP01      S4    *disabled   pci:0000:00:1c.0' >> /proc/acpi/wakeup"

[Install]
WantedBy=multi-user.target

Audio

This laptop requires firmware in order for the sound card to work. See Advanced Linux Sound Architecture#ALSA firmware.

On the headphone jack, a buzz/noise might be audible that even changes with different cpu usage. The fix is to install the alsa-tools package and then run

 hda-verb /dev/snd/hwC0D0 0x1d SET_PIN_WIDGET_CONTROL 0x0

Fan control

If you are suffering from overheating or you just want more control you can setup Fan speed control#ThinkPad laptops

gollark: Presumably that's a Windows/Chromium maybe-bug, then.
gollark: In Wayland it's just done on the application/GUI toolkit side IIRC.
gollark: Windows includes font rendering components, right? In Linux that would be handled by the X server, GUI toolkit or application depending on something or other, I think.
gollark: Presumably because of differences in fonts, OS text handling, browser, or who knows what...
gollark: I don't see it stacked either, yes.
This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.