I recently moved into a house and have had to watch my power. So obviously standby mode is a big deal in these parts where college students pay the electric bill with the small amounts of nothing they seem to find themselves holding.

In linux, this is not hard to do at all especially since I have ubuntu 12.04 which seems to work great with my hardware.
However, I am not able to wake the computer back up with my wireless logitech keyboard or mouse!!

Google helped me out a bit:

$ lsusb 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 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 002: ID 041e:30dd Creative Technology, Ltd Bus 005 Device 002: ID 046d:c525 Logitech, Inc. MX Revolution Cordless Mouse Bus 005 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver <- THAT ONE

# nano /etc/udev/rules.d/90-keyboardwakeup.rules SUBSYSTEM"usb", ATTRS{idVendor}"046d", ATTRS{idProduct}=="c52b" RUN+="/bin/sh -c 'echo enabled > /sys$env{DEVPATH}/../power/wakeup'"

Rebooted and wala!
I am able to push a single key on my keyboard to wake my machine from standby!

I know, right?

Thank you: http://ubuntuforums.org/showpost.php?p=11902254&postcount=5

Blog Logo

Mario Loria


Published

Image

./scriptthe.net

Because 127.0.0.1 gets old after a while.

Back to Overview