LOADING...

加载过慢请开启缓存(浏览器默认开启)

loading

Linux Device

问题

设备自动唤醒功能导致无法正常睡眠

如果是 Systemd,创建 /etc/systemd/system/suspend-fix.service

[Unit]
Description=Disables wake-up from device
# the service runs before the computer goes to sleep
Before=sleep.target

[Service]
Type=simple
# check that is enabled, if so, toggle it to disabled
ExecStart=/usr/bin/bash -c 'for i in $(cat /proc/acpi/wakeup|grep -E "([X|E]HC|IGBE)" | grep "*enable" | awk "{print $1}"); do echo $i > /proc/acpi/wakeup; done'

[Install]
# this does the hook to sleep.target
WantedBy=sleep.target

然后执行:

systemctl daemon-reload
systemctl enable --now suspend-fix

T440s 在的触摸板无法使用,也不能睡眠

echo "blacklist i2c_i801" >> /etc/modprobe.d/t440s.conf

然后内核参数加上 psmouse.synaptics_intertouch=1

RK61 键盘的功能键无法使用

如果有内核模块 hid_apple,需要:

echo "options hid_apple fnmode=0" >> /etc/modprobe.d/rk-keyboard.conf