ThinkPad X1 Nano Gen 1

Settings and config for ThinkPad X1 Nano (Gen 1)

09-10-23

System notes

Storage

Linux configuration

Arch Linux, KDE

/etc/systemd/system/wakeup.service
~~~
[Unit]
Description=Fixes WAN modem wake-up bug

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

[Install]
WantedBy=multi-user.target
/etc/systemd/system/hdaverb.service
~~~
[Unit]
Description=Thinkpad X1 Nano: Fix crackly audio with headphones
After=sys-devices-pci0000:00-0000:00:1f.3-skl_hda_dsp_generic-sound-card0-controlC0.device
Requires=sys-devices-pci0000:00-0000:00:1f.3-skl_hda_dsp_generic-sound-card0-controlC0.device

[Service]
Type=oneshot
ExecStart=/usr/bin/hda-verb /dev/snd/hwC0D0 0x1d SET_PIN_WIDGET_CONTROL 0x0

[Install]
WantedBy=multi-user.target

Tagged: linux configuration