Menu

#16 Cannot wake up from suspend using USB mouse/keyboard

Next Release
closed
nobody
None
2018-05-08
2018-05-06
floflooo
No

Hi,

I cannot wake up my Dell XPS 13 9360 laptop from suspend using a connected USB mouse/keyboard. I have researched the issue, read a number of similar issues and tested quite a few potential solutions (including changing the kernel boot options), but none of them worked. This is on Ubuntu 16.04 (acpid 2.0.26), though I was also able to reproduce the issue on Ubuntu 18.04 (acpid 2.0.28) and Fedora using a Live USB thumbdrive. I have also used a different USB mouse, without success.

$ uname -a
Linux floflooo-XPS-13-9360 4.4.0-119-generic #143-Ubuntu SMP Mon Apr 2 16:08:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

$ cd /sys/bus/pci/devices/0000:00:14.0/usb1/1-1
$ echo cat idVendor:cat idProduct
062a:4101

$ lsusb | grep 062a:4101
Bus 001 Device 004: ID 062a:4101 Creative Labs Wireless Keyboard/Mouse

$ cat /sys/bus/pci/devices/0000:00:14.0/usb1/1-1/power/wakeup
enabled
$ cat /sys/bus/pci/devices/0000:00:14.0/usb1/power/wakeup
enabled
$ cat /sys/bus/pci/devices/0000:00:14.0/power/wakeup
enabled

$ cat /proc/acpi/wakeup
Device S-state Status Sysfs node
RP09 S4 disabled pci:0000:00:1d.0
PXSX S4
disabled pci:0000:3c:00.0
RP10 S4 disabled
PXSX S4
disabled
RP11 S4 disabled
PXSX S4
disabled
RP12 S4 disabled
PXSX S4
disabled
RP13 S4 disabled
PXSX S4
disabled
RP01 S4 disabled pci:0000:00:1c.0
PXSX S4
disabled
RP02 S4 disabled
PXSX S4
disabled
RP03 S4 disabled
PXSX S4
disabled
RP04 S4 disabled
PXSX S4
disabled
RP05 S4 disabled pci:0000:00:1c.4
PXSX S4
disabled pci:0000:3a:00.0
RP06 S4 disabled pci:0000:00:1c.5
PXSX S4
disabled pci:0000:3b:00.0
disabled platform:rtsx_pci_sdmmc.0
disabled platform:rtsx_pci_ms.0
RP07 S4 disabled
PXSX S4
disabled
RP08 S4 disabled
PXSX S4
disabled
RP17 S4 disabled
PXSX S4
disabled
RP18 S4 disabled
PXSX S4
disabled
RP19 S4 disabled
PXSX S4
disabled
RP20 S4 disabled
PXSX S4
disabled
RP21 S4 disabled
PXSX S4
disabled
RP22 S4 disabled
PXSX S4
disabled
RP23 S4 disabled
PXSX S4
disabled
RP24 S4 disabled
PXSX S4
disabled
RP14 S4 disabled
PXSX S4
disabled
RP15 S4 disabled
PXSX S4
disabled
RP16 S4 disabled
PXSX S4
disabled
GLAN S4 disabled
XHC S0
enabled pci:0000:00:14.0
SS06 S0 disabled no-bus:usb2-port6
XDCI S4
disabled
HDAS S4 disabled pci:0000:00:1f.3
LID0 S3
enabled platform:PNP0C0D:00
PBTN S3 *enabled platform:PNP0C0C:00

$ dmesg
[see attachment]

When I click on Ubuntu's suspend icon, then click on a mouse button to wakeup from suspend... nothing happens. When I then click on the power button,the laptop wakes up. Here is dmesg log after this attempt.

$ dmesg
[see attachment]

Note the line: "xhci_hcd 0000:00:14.0: System wakeup enabled by ACPI"

I suspect that the issue is the S0 entry for XHC in /proc/acpi/wakeup . Is this caused by an acpid issue? Or is the laptop's DSDT table buggy?

I included an ACPI dump of my system. Perhaps someone familiar with the topic will be able to see an obvious problem in it... I am happy to provide additional information, as needed to debug the issue.

Cheers,
Florent

3 Attachments

Discussion

  • Ted Felix

    Ted Felix - 2018-05-07

    acpid is not responsible for wake on USB. That feature is governed by the BIOS. Check your BIOS settings and contact your motherboard manufacturer for support.

     
  • Ted Felix

    Ted Felix - 2018-05-07
    • status: open --> closed
     
  • floflooo

    floflooo - 2018-05-08

    Thank you for confirming this, Ted.
    As far as I can tell, I have toggled all BIOS settings that seemed relevant. So, I will contact Dell and see if they can patch the BIOS.

     

Log in to post a comment.