Пытаюсь настроить включение от спящего режима по нажатию клавиатуры.
> lsusb
Bus 001 Device 004: ID 058f:6387 Alcor Micro Corp. Flash Drive
Bus 001 Device 005: ID 09da:0260 A4 Tech Co., Ltd KV-300H Isolation Keyboard
Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Вот как пытался «включить» пробуждение с клавы.
echo 'enabled' > /sys/devices/pci0000:00/0000:00:1d.0/usb2/power/wakeup
echo 'enabled' > /sys/devices/pci0000:00/0000:00:1d.1/usb3/power/wakeup
echo 'enabled' > /sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/power/wakeup
echo 'enabled' > /sys/devices/pci0000:00/0000:00:1d.2/usb4/power/wakeup
echo 'enabled' > /sys/devices/pci0000:00/0000:00:1d.3/usb5/power/wakeup
echo 'enabled' > /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5.4/power/wakeup
echo 'enabled' > /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-5/power/wakeup
echo 'enabled' > /sys/devices/pci0000:00/0000:00:1d.7/usb1/power/wakeup
du -all -h /sys/devices/ | grep usb | grep wakeup
В биосе выставлен режим S3.
Казалось бы, сигнал с клавы должен проходить, т.к.
> cat /proc/acpi/wakeup
Device S-state Status Sysfs node
PCI0 S5 *disabled no-bus:pci0000:00
PEX0 S5 *disabled pci:0000:00:1c.0
PEX1 S5 *disabled pci:0000:00:1c.1
PEX2 S5 *disabled
PEX3 S5 *disabled
PEX4 S5 *disabled
PEX5 S5 *disabled
HUB0 S5 *disabled pci:0000:00:1e.0
USB0 S3 *enabled pci:0000:00:1d.0
USB1 S3 *enabled pci:0000:00:1d.1
USB2 S3 *enabled pci:0000:00:1d.2
USB3 S3 *enabled pci:0000:00:1d.3
USBE S3 *enabled pci:0000:00:1d.7
AZAL S5 *disabled pci:0000:00:1b.0
OS: Mint 17 qiana,
Kernel: x86_64 Linux 3.13.0-24-generic