#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
exit 0
The philips ehome receiver is the device that is supposed to wake the machine:
$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 001 Device 003: ID 046d:0807 Logitech, Inc. Webcam B500
Bus 001 Device 005: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 002 Device 002: ID 0471:0815 Philips (or NXP) eHome Infrared Receiver
Bus 001 Device 006: ID 152e:2507 LG (HLDS) PL-2507 IDE Controller
Bus 001 Device 007: ID 06a3:5f0d Saitek PLC
Bus 001 Device 008: ID 1241:1037 Belkin
after upgrading to 12.04, the machine no longer wakes from sleep using an mce remote control.
$ cat /etc/rc.local usb/devices/ 2-1/power/ wakeup usb/devices/ 2-2/power/ wakeup usb/devices/ 2-4/power/ wakeup usb/devices/ usb2/power/ wakeup usb/devices/ 1-1/power/ wakeup usb/devices/ 1-4/power/ wakeup usb/devices/ 1-3/power/ wakeup usb/devices/ 2-4/power/ wakeup
echo enabled >> /sys/bus/
echo enabled >> /sys/bus/
echo enabled >> /sys/bus/
echo enabled >> /sys/bus/
echo enabled >> /sys/bus/
echo enabled >> /sys/bus/
echo enabled >> /sys/bus/
echo enabled >> /sys/bus/
echo USB0 >> /proc/acpi/wakeup
echo USB1 >> /proc/acpi/wakeup
echo USB2 >> /proc/acpi/wakeup
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
exit 0
The philips ehome receiver is the device that is supposed to wake the machine:
$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 001 Device 003: ID 046d:0807 Logitech, Inc. Webcam B500
Bus 001 Device 005: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 002 Device 002: ID 0471:0815 Philips (or NXP) eHome Infrared Receiver
Bus 001 Device 006: ID 152e:2507 LG (HLDS) PL-2507 IDE Controller
Bus 001 Device 007: ID 06a3:5f0d Saitek PLC
Bus 001 Device 008: ID 1241:1037 Belkin