Kodi Community Forum

Full Version: [SOLVED] Gotham Wake from USB
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,

I have just upgraded my media centre with a clean install of XBMCBuntu Gotham.

I can't seem to get my box to wake up from USB from suspend, I have gone through all the steps I can remember/find but I still can't get it to work.

When I press the power button on my Harmony Remote the IR receiver picks it up but the box does not turn on.

As far as I can tell wake from usb is set up correctly or else my IR receiver would not pick up the command.

Cheers.
MCE remote setup:

Created a new rule:


Code:
sudo nano /etc/udev/rules.d/90-mcewakeup.rules

Entered this in with the correct product and vendor id's (with the help of lsusb):
Quote:For example, if the output of lsusb is:

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 003 Device 002: ID 413c:2003 Dell Computer Corp. Keyboard
Bus 004 Device 002: ID 1784:0008 TopSeed Technology Corp. eHome Infrared Transceiver
Bus 004 Device 003: ID 046d:c518 Logitech, Inc. MX610 Laser Cordless Mouse

Code:
Code:
SUBSYSTEM=="usb", ATTRS{idVendor}=="1784", ATTRS{idProduct}=="0008" RUN+="/bin/sh -c 'echo enabled > /sys$env{DEVPATH}/../power/wakeup'"

Edited one line in grub (added "usbcore.autosuspend=-1 acpi_enforce_resources=lax"):

Code:
Code:
sudo nano /etc/default/grub

Code:
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=-1 acpi_enforce_resources=lax"

Then:

Code:
Code:
sudo update-grub

Reboot

This works for me with XBMCBuntu Gotham.
Many thanks this worked perfectly!