我有一台配备 PS/2 (!) 键盘和鼠标的台式电脑,运行 Fedora 16,最近才安装。它可以正常进入睡眠状态,但移动鼠标会将其唤醒。我希望移动鼠标不会唤醒它——在键盘上打字就可以了。
我在网上找到了一篇文章(http://blob.inf.ed.ac.uk/chris/2011/03/04/linux-sleep-how-to-wake-with-a-key-press-or-mouse-click/) 告诉我查看/proc/acpi/wakeup
,所以我照做了:
Device S-state Status Sysfs node
PS2K S3 *enabled pnp:00:03
PS2M S3 *disabled pnp:00:04
BR20 S4 *disabled pci:0000:00:1e.0
EUSB S3 *enabled pci:0000:00:1d.0
USBE S3 *enabled pci:0000:00:1a.0
PEX0 S4 *disabled pci:0000:00:1c.0
PEX1 S4 *disabled
PEX2 S4 *disabled
PEX3 S4 *disabled
PEX4 S4 *disabled pci:0000:00:1c.4
PEX5 S4 *disabled
PEX6 S4 *disabled pci:0000:00:1c.6
PEX7 S4 *disabled pci:0000:00:1c.7
GBE S4 *enabled pci:0000:00:19.0
P0P1 S4 *disabled
P0P2 S4 *disabled
P0P3 S4 *disabled
P0P4 S4 *disabled
GBE1 S4 *disabled
PWRB S3 *enabled
在我看来,鼠标(我猜是 PS2M)不应该唤醒计算机。但它确实唤醒了。
答案1
通常,您也可以在 BIOS 中进行此项设置,我认为这比破解您的 Fedora 容易得多。