Maya resume from USB wireless keyboard help

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
boourns

Maya resume from USB wireless keyboard help

Post 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!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
snison

Re: Maya resume from USB wireless keyboard help

Post by snison »

Is there an option in the BIOS for wake from USB? Common for Dell Notebooks and some others.
boourns

Re: Maya resume from USB wireless keyboard help

Post 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
zeke

Re: Maya resume from USB wireless keyboard help

Post 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.
Locked

Return to “Beginner Questions”