Thanks for Comment #30 and Comment #31 logs. But there still are no others enough information about this issue in those logs. (In reply to Michal Suchanek from comment #27) > :~> cat /proc/acpi/wakeup > Device S-state Status Sysfs node > LANC S5 *disabled > EHC1 S3 *enabled pci:0000:00:1d.0 > EHC2 S3 *enabled pci:0000:00:1a.0 > XHC S3 *enabled pci:0000:00:14.0 > PCIB S5 *disabled > RP02 S4 *disabled > ECF0 S4 *disabled > RP03 S4 *disabled pci:0000:00:1c.2 > RP04 S5 *disabled pci:0000:00:1c.3 > WNIC S5 *disabled pci:0000:03:00.0 > RP06 S5 *disabled pci:0000:00:1c.5 > NIC S5 *disabled pci:0000:04:00.0 > RP07 S4 *disabled > RP08 S4 *disabled > HST1 S5 *disabled > > FTR reverted the revert in 5.0.4-2.g76ff396-default and observe > > - keypress on the audio device does wakeup the machine immediately > - with or without audio stream running the machine wakes up after a while > (not immediately as with 5.0.2) > - the packet that wakes it up seems to be key management related That is really interesting. I test with enable my EHC1 XHC to S3 by setting enable in BIOS/Power Management - USB Wake Support ( follow the patch describe : a0085f2510e8 Bluetooth: btusb: driver to enable the usb-wakeup feature (v4.14-rc1)) then for testing use Bluetooth mouse (hid-generic 0005:046D:B008.0009: input,hidraw0: BLUETOOTH HID v3.18 Mouse [Bluetooth Laser Travel Mouse] on 10:02:b5:98:71:4f) and Bluetooth touchpad (magicmouse 0005:05AC:030E.000B: input,hidraw0: BLUETOOTH HID v1.60 Mouse [AL's touchpad] on 10:02:b5:98:71:4f) and bluetooth headphones. Only use bluetooth mouse can wake up my laptop (for sure). I will try to find one bluetooth headphone to reproduce and also fix the wakeup from BT (over HID) more properly at the same time.