Linux Wake from suspend with harmony remote
#1
I'm trying to get the suspend working on my ASROCK ION:

My setup:

1. Asrock ION 330 w/XBMCbuntu 11.0
2. Harmony 880 as media center remote
3. Philips (or NXP) Consumer Infrared Transceiver (HP) (HP IR receiver off ebay)

I followed the following guides:

1. http://wiki.xbmc.org/index.php?title=HOW..._in_Ubuntu
2. http://wiki.xbmc.org/index.php?title=Ena...-On-Device
3. http://forum.xbmc.org/showthread.php?pid...post835642 (POST 35)

I can confirm
Code:
xbmc@XBMC:~$ cat /proc/acpi/wakeup
Device  S-state   Status   Sysfs node
SMB0      S4    *disabled  pci:0000:00:03.2
USB0      S4    *enabled   pci:0000:00:04.0
USB2      S4    *enabled   pci:0000:00:04.1
NMAC      S5    *enabled   pci:0000:00:0a.0
PBB0      S4    *disabled  pci:0000:00:09.0
HDAC      S4    *disabled  pci:0000:00:08.0
XVR0      S4    *disabled
XVR1      S4    *disabled
P0P5      S4    *disabled
P0P6      S4    *disabled
P0P7      S4    *disabled
P0P8      S4    *disabled
P0P9      S4    *disabled

Code:
xbmc@XBMC:~$ grep 060c /sys/bus/usb/devices/*/idProduct
/sys/bus/usb/devices/2-5/idProduct:060c
xbmc@XBMC:~$ cat /sys/bus/usb/devices/2-5/power/wakeup
enabled

I am still unable to resume from standby of hibernate.

When i put the box into standby or hibernate the IR receiver appears to turn off (normally when i press a button i get a red light), i dont know if thats the problem.

In addition when i walk to the box and push power button to resume, it all comes back fine, but the remote no longer works (but i can see the red light again).

Any help would be great.

Birnie
Reply
#2
Has anyone got this working?
Reply
#3
I have almost the exact same hardware and i got mine working.
Using XBMCBuntu from XBMCfreak though, men newer version og ubuntu
Reply
#4
Posted this elsewhere today, same issue. No power to IR receiver when is suspend/sleep.

This might help is getting power to usb when in sleep. Note the edit to grub. This is where making the system keep power to USB is set.

Hope it helps. (from this post: http://forum.xbmc.org/showthread.php?tid...pid1135997)

(2012-06-27, 15:48)d_hero Wrote: I followed this instructions:


On my Mythbuntu and MCE remote setup:

Created a new rule:


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

Entered this in with the correct product and vendor id's (with the help of lsusb):

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

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

Code:
sudo gedit /etc/default/grub

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

Then:

Code:
sudo update-grub

Then after a reboot tested it and it worked.

The problem is that it relies on the vendor id and product id for each different usb receiver

Media Companion Dev.
Media Companion - Kodi / XBMC - Media Companion
Reply

Logout Mark Read Team Forum Stats Members Help
Wake from suspend with harmony remote0