Help with USB remote and wake from sleep.
#1
I'm running Eden beta on a Biostar TH61 ITX board sporting the Intel Sandy Bridge H61 chipset with an i3 2100 as my CPU and using the IGP on die for video over HDMI. I got everything up and running on Oneiric via alanwww1's wonderful guide. Many thanks alanwww1!

Everything seems to be working fine, I even got my old XBox1 DVD dongle and XBox Media Center remote working the way I want, although that gets more difficult with each new iteration of Ubuntu. As I said, everything works, video acceleration, sound, remote, etc.

The one thing I can't get to work is resume from suspend via my remote. I've tried a couple of different things, but I can't seem to get Oneiric to see the dongle as a USBx device.
Output for lsusb:
Code:
xbmc@XBMC:~$ lsusb
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:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 001 Device 004: ID 1bcf:0c31 Sunplus Innovation Technology Inc.
Bus 002 Device 003: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
Bus 002 Device 004: ID 045e:0284 Microsoft Corp. Xbox DVD Playback Kit
I see the bus and device numbers as well as vendor and product IDs, with the XBox DVD dongle being the last entry (Bus 001, Device 004)

Output from ls /sys/bus/usb/devices
Code:
xbmc@XBMC:/etc/default$ ls /sys/bus/usb/devices/
1-0:1.0  1-1:1.0  1-1.2:1.0  1-1.4      2-0:1.0  2-1.1    2-1.1:1.0  3-0:1.0  5-0:1.0  usb1  usb3  usb5
1-1      1-1.2    1-1.2:1.1  1-1.4:1.0  2-1      2-1:1.0  2-1.1:1.1  4-0:1.0  6-0:1.0  usb2  usb4  usb6
So there seems to be devices USB1 - USB6

Output from cat /proc/acpi/wakeup:
Code:
xbmc@XBMC:~$ cat /proc/acpi/wakeup
Device  S-state   Status   Sysfs node
BR20      S3    *disabled
EUSB      S4    *enabled   pci:0000:00:1d.0
USBE      S4    *enabled   pci:0000:00:1a.0
P0P1      S4    *disabled
P0P2      S4    *disabled
P0P3      S4    *disabled
P0P4      S4    *disabled
PEX0      S4    *disabled  pci:0000:00:1c.0
PEX1      S4    *disabled  pci:0000:00:1c.1
PEX2      S4    *disabled  pci:0000:00:1c.2
PEX3      S4    *disabled
PEX4      S4    *disabled
PEX5      S4    *disabled
PEX6      S4    *disabled
PEX7      S4    *disabled
PWRB      S3    *enabled
As you can see the only things that Oneiric sees as being able to wake from S3 are the Power Button (PWRB) and, I'm guessing, the motherboard's usb hubs (EUSB and USBE). Nowhere does it have any listing for USB1-6. I've tried echoing USBx >> /proc/acpi/wakeup, but if Oneiric doesn't recognize those devices to begin with, that command does nothing.

The motherboard states that wake from S3 via USB is an option, and I've enabled it in the BIOS, but I'm not sure where to go from here.

Any help would be greatly appreciated.
Reply
#2
Does the Xbox 1 remote/Dongle even allow waking from suspend? From memory you need a rc6 remote to wake from suspend/hibernate.

This post arethe steps that I used yo get my remote resuming from suspend... http://forum.xbmc.org/showthread.php?p=8...post835642
Reply
#3
I'm starting to think that the dongle doesn't allow wake from S3. After a lot of googling, reading, and SSH CLI work, I was able to find the specific USB device that the remote dongle was listed as, namely /sys/bus/usb/devices/2-1.2. From there I was able to verify via idProduct and idVendor, which matches up with the information given is lsusb.

Drilling down into /power in the above directory, there's no entry for wakeup, where there is for the motherboard USB hub and the keyboard attached to the same set of USB ports. Look like all the magic of the remote is done via software with this thing. I may actually have to break down and buy an MCE remote.

Thanks for the reply.
Reply

Logout Mark Read Team Forum Stats Members Help
Help with USB remote and wake from sleep.0