Announcement Banner
UNSOLVED

F-Bomb

updated

9 years ago

FB

F-Bomb

4 Posts

1

7483

September 19th, 2017 00:00

How to wake up laptop using USB device when lid is closed?

Hi all,

My Dell XPS 13 9360 with Ubuntu 16.04 is attached to an external monitor most of the time, with the laptop lid closed. I would like to wake up the computer from suspend using a USB mouse or keyboard that is attached to it, but it does not seem to work.

In the Bios, the USB Wakeup option is set to enabled. Also, as far as I can tell, Ubuntu should be able to wake up from USB since I have this:

 

$ lspci | grep -i USB
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)

$ grep 00:14.0 /proc/acpi/wakeup
XHC S0 *enabled pci:0000:00:14.0

 

I am not familiar with /proc/acpi/wakeup. Maybe the S0 state should be set to something else? For example the Lid and power button seem to have state S3.

 

$ cat /proc/acpi/wakeup | tail

LID0 S3 *enabled platform:PNP0C0D:00
PBTN S3 *enabled platform:PNP0C0C:00

 

Any help appreciated to get this to work! Thanks