Page 1 of 1

Maya resume from USB wireless keyboard help

Posted: Mon Jan 21, 2013 8:04 pm
by boourns
I'm dual booting Win 7 and Mint 13 Maya with Cinnamon, have only minor previous experience with linux. I have gotten resume from usb working in the past on a old machine with xbmc, but can't get it working on this one. I've searched multiple sources and found multiple tutorials ranging from simple changes to /proc/acpi/wakeup and rc.local... to long tutorials involving multiple custom scripts. So not sure where I should start...

I've tried basic commands like... sudo sh -c "echo USB3 > /proc/acpi/wakeup" ... but it changed nothing, USB3 still shows disabled status. (BIOS shows front USB port is USB3)

results of cat /proc/acpi/wakeup:

Code: Select all

Device	S-state	  Status   Sysfs node
P0P1	  S4	*disabled  
USB1	  S3	*disabled  
USB2	  S3	*disabled  
USB3	  S3	*disabled  
USB4	  S3	*disabled  
USB5	  S3	*disabled  
USB6	  S3	*disabled  
USB7	  S3	*disabled  
RP01	  S4	*disabled  
PXSX	  S4	*disabled  
RP02	  S4	*disabled  
PXSX	  S4	*disabled  
RP03	  S4	*disabled  
PXSX	  S4	*disabled  
RP04	  S4	*disabled  
PXSX	  S4	*disabled  
RP05	  S4	*disabled  
PXSX	  S4	*disabled  
RP06	  S4	*disabled  
PXSX	  S4	*disabled  
RP07	  S4	*disabled  
PXSX	  S4	*disabled  
RP08	  S4	*disabled  
PXSX	  S4	*disabled  
PEG0	  S4	*disabled  
PEGP	  S4	*disabled  
PEG1	  S4	*disabled  
PEG2	  S4	*disabled  
PEG3	  S4	*disabled  
GLAN	  S4	*enabled   pci:0000:00:19.0
EHC1	  S4	*enabled   pci:0000:00:1d.0
EHC2	  S4	*enabled   pci:0000:00:1a.0
XHC	  S4	*disabled  
HDEF	  S4	*disabled  pci:0000:00:1b.0
PWRB	  S3	*enabled   
lsusb results:

Code: Select all

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Thanks in advance if anyone can point me in the right direction here!

Re: Maya resume from USB wireless keyboard help

Posted: Tue Jan 22, 2013 12:39 am
by snison
Is there an option in the BIOS for wake from USB? Common for Dell Notebooks and some others.

Re: Maya resume from USB wireless keyboard help

Posted: Tue Jan 22, 2013 5:06 am
by boourns
snison wrote:Is there an option in the BIOS for wake from USB? Common for Dell Notebooks and some others.
No, nothing needs to be enabled in the BIOS from what I could find. Windows 7 wakes from sleep using the same keyboard.
For reference, the hardware is an Intel NUC

Re: Maya resume from USB wireless keyboard help

Posted: Wed Jan 30, 2013 11:06 pm
by zeke
I believe you will need to put the following in your rc.local

Code: Select all

echo enabled > /sys/bus/usb/devices/usb2/power/wakeup
echo enabled > /sys/bus/usb/devices/2-3/power/wakeup
and reboot.
The 2 is the bus and the 3 is the device for the logitech entry in your lsusb output. At least this did it for me.