[mythtv-users] Powering up hidden FE
Thomas Boehm
mythtv-users at lists.boehmi.net
Mon Jan 2 21:59:11 UTC 2012
Brian J. Murrell wrote:
> On 11-12-26 10:12 PM, Joey Morris wrote:
>>
>> echo enabled > /sys/devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.0/rc/rc0/input4/../power/wakeup
>
> This seems to always yield:
>
> # echo enabled > /sys/devices/pci0000\:00/0000\:00\:10.1/usb3/3-1/3-1\:1.0/rc/rc0/input10/../power/wakeup
> bash: echo: write error: Invalid argument
>
> for every device I've tried. :-(
The path seems to be wrong. Firstly the ".." looks wrong and secondly
the path on my Ubuntu system looks more like
/sys/devices/pci0000\:00/0000\:00\:10.1/power/wakeup
There are no folders called usb* in /sys/devices/pci0000\:00/*/ on my system
This is how it works on my FE:
Get the ID of your USB device
~# lsusb
...
Bus 003 Device 002: ID 0471:0815 Philips eHome Infrared Receiver
...
Get the port details
~# grep 0815 /sys/bus/usb/devices/*/idProduct
/sys/bus/usb/devices/3-1/idProduct:0815
In my case it's port 3-1
Check the state of this port
~# cat /sys/bus/usb/devices/3-1/power/wakeup
disabled
If it's disabled, add the following into your /etc/rc.local before the
"exit 0" line
echo enabled > /sys/bus/usb/devices/3-1/power/wakeup
HTH
Thomas
More information about the mythtv-users
mailing list