I am running 14.04 XBMCbuntu and am a new user. I have got xbmc installed the way I want it and have an MCE remote setup.
I have got suspend working but the wake is only via the keyboard not IR Remote or mouse.
I have read up on a range of forums to find the answer and tried a number of things.
When I run cat /proc/acpi/wakeup
I get a list of items but no USB01 or USB02 files….. in spite of this I have tried
echo USB0 > /proc/acpi/wakeup
echo USB1 > /proc/acpi/wakeup
echo USB2 > /proc/acpi/wakeup
echo USB3 > /proc/acpi/wakeup
When I run lsusb
The device is there @ Bus02 Device 08: 0471:o60c Philips (or NXP) eHome Infrared Receiver
I have tried to edit the /sys/bus/usb/devices/usb2
power files to "enabled" however get error messages about failing to save a backup and thus can't write the file!
Any support would be appreciated on the following fronts:
- getting the ir receiver to Wake
- edit the sys files noted above
- I can't copy from xterm into the browser. I can copy from browser to xterm using Shift Insert, and can copy from one xterm to another xterm screen using control shift c and Shift Insert….
Best Answer
I had the same problem and was also stumped by my USBs not appearing in /proc/acpi/wakeup. In the end, however, despite many solutions suggesting this was required I did not need to enable USBs in ACPI.
Instead, enabling wakeup on the USB port my IR device was connected to was was enough.
Find your device ID:
In the above example my device ID is 5168.
Grep /sys/bus/usb to find the port your device is plugged into:
This indicates my device is plugged into bus3, port 13.
Confirm the port is correct:
Bus 3, port 13 matches the bus/port returned by grep (3-13)
Check if wakeup is enabled:
Enable wakeup on port:
Check if wakeup enabled:
Test your device, does it wake the system?
Make this change persistent across reboots:
Add the following lines after the comments and before 'exit 0'
Now happily wake your PC from your USB device.
Limitations
One problem with this approach is that if the USB port the IR device is plugged into changes, then enabling that port specifically does not help.
This post has a way of enabling any IR port based on the device that is plugged into it using a Udev rule.
References
Kodi, MCE Remote and Ubuntu
Wake from suspend with keyboard or mouse
Enabling IR devices with a Udev rule