Sunday, January 1, 2012

Waking my Acer Aspire Running Ubuntu with a USB Keyboard and Mouse

In a previous post I detail how happy I am with my low-budget web-surfing Acer Aspire.  However, it would not wake up with the lid closed using an external keyboard.  A bit of Google-ing led me to the following:


On my Acer Aspire, the external wake on USB keyboard was not working.

"cat /proc/acpi/wakup" showed:
Device S-state   Status   Sysfs node
HDEF   S3 *disabled  pci:0000:00:1b.0
LANE   S4 *disabled  pci:0000:02:00.0
USB1   S3 *disabled  pci:0000:00:1d.0
USB2   S3 *disabled  pci:0000:00:1d.1
USB3   S3 *disabled  pci:0000:00:1d.2
USB4   S3 *disabled  pci:0000:00:1d.3
USB7   S3 *disabled  pci:0000:00:1d.7

Looking at syslog (or dmesg) I found the USB id to be, "0000:00:1d.7".  That corresponded to 
USB7.

The following commnad (as root, no sudo): 

'echo "USB7" > /proc/acpi/wakeup'

evice S-state   Status   Sysfs node
HDEF   S3 *disabled  pci:0000:00:1b.0
LANE   S4 *disabled  pci:0000:02:00.0
USB1   S3 *disabled  pci:0000:00:1d.0
USB2   S3 *disabled  pci:0000:00:1d.1
USB3   S3 *disabled  pci:0000:00:1d.2
USB4   S3 *disabled  pci:0000:00:1d.3
USB7   S3 *enabled   pci:0000:00:1d.7

And now it works.

Add the line above to "/etc/rc.local" to make it permanent. 

0 comments:

Post a Comment