TV-Stick blocks XBMCbuntu to go to supend-mode
#1
Hello everyone,

this is my first post and hopefully anyone can help me.
I completely made a fresh set up my ZBOX ID41. I installed the latest XBMCbuntu (Frodo final - Ubuntu 12.10) and everything works fine.
I can control XBMC with my Logitech Harmony which sends signals to a Flirc (Clay Logic).

First I had some problems with the supend-mode, which meanwhile works.
The only problem is that if the USB-TV-stick (Hauppauge Nova-T Stick 3) is connected, the system don't get in S3-mode.
The ZBOX goes down and sticks so I can only restart it by doing a cold reboot.

I think the best way is to post the steps I made.

I tried the following, which didn't help:

cat /proc/acpi/wakeup

bernd@bernd-XBMC:~$ cat /proc/acpi/wakeup
Device S-state Status Sysfs node
P0P1 S4 *disabled pci:0000:00:1e.0
P0P4 S4 *disabled pci:0000:00:1c.0
P0P5 S4 *disabled pci:0000:00:1c.1
P0P6 S4 *disabled pci:0000:00:1c.2
P0P7 S4 *disabled
P0P8 S4 *disabled
P0P9 S4 *disabled
USB0 S3 *enabled pci:0000:00:1d.0
USB1 S3 *enabled pci:0000:00:1d.1
USB2 S3 *enabled pci:0000:00:1d.2
USB3 S3 *enabled pci:0000:00:1d.3
EUSB S3 *enabled pci:0000:00:1d.7



Then I checked with lsusb , to which bus the stick is connected and noted the device-ID ( 20a0)

lsusb

Bus 001 Device 004: ID 2040:7070 Hauppauge Nova-T Stick 3
Bus 003 Device 002: ID 20a0:0001 Clay Logic
Bus 006 Device 002: ID 2109:0811
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 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 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 006 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver


With lsusb -t i realized that my device 2 is connected to bus 3 port 1:

lsusb -t

bernd@bernd-XBMC:~$ lsusb -t
3-1:1.1: No such file or directory
/: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/4p, 480M
|__ Port 2: Dev 3, If 0, Class=HID, Driver=usbhid, 12M
|__ Port 2: Dev 3, If 1, Class=HID, Driver=usbhid, 12M
|__ Port 2: Dev 3, If 2, Class=HID, Driver=usbhid, 12M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
|__ Port 1: Dev 2, If 0, Class=HID, Driver=usbhid, 1.5M
|__ Port 1: Dev 2, If 1, Class=vend., Driver=, 1.5M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/8p, 480M
|__ Port 7: Dev 4, If 0, Class=vend., Driver=dvb_usb_dib0700, 480M


Than I did the following with the entries from above:

echo enabled > /sys/bus/usb/devices/3-1/power/wakeup


and after that

grep 20a0 /sys/bus/usb/devices/*/idProduct


All that didn't help me and I found the following post, which made the sucess.

I made the following:

sudo gedit /etc/udev/rules.d/90-keyboardwakeup.rules

and added the following line:

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


After that I opend the file /etc/default/grub with sudo

and added the following to the line GRUB_CMDLINE_LINUX_DEFAULT="...."

GRUB_CMDLINE_LINUX_DEFAULT=".... usbcore.autosuspend=-1 acpi_enforce_resources=lax"


After rebooting the supend-mode now works for me but only if the TV-Stick is connected the system hangs up and prevents going to suspend-mode.

Can anybody help me ?

Thank you !
Reply

Logout Mark Read Team Forum Stats Members Help
TV-Stick blocks XBMCbuntu to go to supend-mode0