03 February 2013

This short post describes a fix for a standby/wakeup problem with XBMC, latest XBMCbuntu (fully updated with Kernel 3.2.0-37-generic-pae and XBMC 2:11.0~git20120423.cd20772-1).

For some reason I couldn't resume/wakeup from suspend my XBMC system via the remote anymore. In earlier versions you might had something like

echo USB3 > /proc/acpi/wakeup

in your /etc/rc.local. This configured your system tro accept USB-wakup calls via the "USB3" port. So to get it to work again, the first thing is to comment that line out. Then

$ dmesg | grep -i flirc
[ 2.014322] input: flirc.tv flirc as /devices/pci0000:00/0000:00:1d.3/usb5/5-2/5-2:1.0/input/input2
[ 2.014636] generic-usb 0003:20A0:0001.0001: input,hidraw0: USB HID v1.01 Keyboard [flirc.tv flirc] on usb-0000:00:1d.3-2/input0

If you do a

$ cat /proc/acpi/wakeup
USB3 S3 *enabled pci:0000:00:1d.3

shows you two things: First, 1d.3 is "USB3". Then usb5 (taken from the dmesg output regarding flirc above) is what we need in our next step. The new line for /etc/rc.local is as follows:

echo "enabled" > /sys/bus/usb/devices/usb5/power/wakeup

and that needs to go before the "exit 0" line of course.



blog comments powered by Disqus