Disable USB wakeup

Created at 2025-12-19 10:50
Last edited at 2025-12-24 09:44

List USB devices that can wake up the system from sleep

cat /proc/acpi/wakeup
Device  S-state  Status     Sysfs node
GPP6    S0       *enabled   pci:0000:00:02.2
GPP7    S0       *disabled
GP11    S0       *disabled
SWUS    S4       *disabled
GP12    S0       *enabled   pci:0000:00:04.1
SWUS    S4       *disabled
XHC0    S3       *enabled   pci:0000:33:00.3
XHC1    S3       *disabled  pci:0000:33:00.4
NHI0    S0       *disabled
NHI1    S0       *enabled   pci:0000:34:00.6
XHC2    S3       *enabled   pci:0000:34:00.0
XHC3    S3       *enabled   pci:0000:34:00.3
XHC4    S3       *enabled   pci:0000:34:00.4
LID     S4       *enabled   platform:PNP0C0D:00
SLPB    S3       *enabled   platform:PNP0C0E:00

Toggle device status

echo XHC4 > /proc/acpi/wakeup