Leighton,<br><br>Indeed /sys/bus/usb/drivers/usb/usb1/power/state is set to 0.<br><br>Any attempts to make it be 1 seem to fail however,<br><br>root@davey:/sys/devices/pci0000:00/0000:00:10.0/usb1/power# echo 1 > state<br>
bash: echo: write error: Invalid argument<br><br>Regards,<br><br>Mario<br><br><div><span class="gmail_quote">On 10/27/06, <b class="gmail_sendername">Leighton Brough</b> <<a href="mailto:brough@baremetalsoft.com">brough@baremetalsoft.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Mario Limonciello wrote:<br>> Leighton,<br>><br>> Also, it appears that using the remote to wakeup again in
2.6.17 isn't<br>> working. Ubuntu 6.06 was using 2.6.15, and the remote was no trouble<br>> to wakeup with. 2.6.17 it appears to not work, even after fiddling<br>> with enabling USB1 in /proc/acpi/wakeup.<br>>
<br>> What else did you fumble with?<br>><br>> Thanks,<br>><br>> Mario<br>><br>On 2.6.17 I found I needed to manually set the power state for the USB<br>controller. If you have a rummage in /sys you can find the relevant
<br>stuff for usb1, e.g. "find /sys -name usb1". I think pretty much<br>anything this finds will be symlinked to the same device. In the "power"<br>directory, there's a file called "state", which you can use to set the
<br>power state, e.g.:<br><br>echo 1 > /sys/bus/usb/drivers/usb/usb1/power/state<br><br>(I think "1" was the right state from memory). This ensures that the USB<br>controller is powered up enough during suspend-to-ram that it can
<br>receive the wakeup signal from the remote.<br><br>As well as the above, I recall I also needed to unload the USB module<br>(uhci_hcd) too - if I recall correctly this was because it would reset<br>the power state of the USB controller to 0 on suspend.
<br><br>Leighton<br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br></blockquote></div><br>