如果你的键盘可以唤醒,但是鼠标去不能
cat /proc/acpi/wakeup
Device S-state Status Sysfs node
GP18 S4 *disabled
SIO1 S3 *disabled pnp:00:03
GPP0 S4 *enabled pci:0000:00:01.1
GPP1 S4 *disabled
GPP2 S4 *disabled
GPP4 S4 *enabled pci:0000:00:02.2
GPP5 S4 *disabled
GP17 S4 *disabled pci:0000:00:08.1
XHC0 S3 *enabled pci:0000:0c:00.3
XHC1 S3 *enabled pci:0000:0c:00.4
GPP3 S4 *enabled pci:0000:00:02.1
LAN S4 *disabled pci:0000:09:00.0
WLAN S4 *disabled
PTXH S3 *enabled pci:0000:02:00.0
利用lsusb确定你的鼠标挂载位置:
lsusb
Bus 001 Device 008: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
# echo enabled > /sys/bus/usb/devices/1-8/power/wakeup
GP18 S4 *disabled
SIO1 S3 *disabled pnp:00:03
GPP0 S4 *enabled pci:0000:00:01.1
GPP1 S4 *disabled
GPP2 S4 *disabled
GPP4 S4 *enabled pci:0000:00:02.2
GPP5 S4 *disabled
GP17 S4 *enabled pci:0000:00:08.1
XHC0 S3 *enabled pci:0000:0c:00.3
XHC1 S3 *enabled pci:0000:0c:00.4
GPP3 S4 *enabled pci:0000:00:02.1
LAN S4 *disabled pci:0000:09:00.0
WLAN S4 *disabled
PTXH S3 *enabled pci:0000:02:00.0
这样的输出就可以唤醒了
标签:00,0000,S3,enabled,S4,pci,Linux From: https://www.cnblogs.com/kean0048/p/17988681