<div dir="ltr">Im pretty sure that the usb number is equal to the bus number when you do a lsusb.<div><br></div><div style>for my example:</div><div style><div>Bus 003 Device 005: ID 046d:c71f Logitech, Inc. diNovo Mini Wireless Keyboard</div>
<div><br></div><div style>Bus=003 => usb3.</div><div style><br></div><div style>I will agree that it could look like that there is power already if the led is on. To be sure that its enabled just cat it:</div><div style>
cat <span style="font-size:13px;color:rgb(80,0,80);font-family:arial,sans-serif">/sys/bus/usb/devices/usb3/</span><span style="font-size:13px;color:rgb(80,0,80);font-family:arial,sans-serif">power/wakeup</span></div><div style>
<span style="font-size:13px;color:rgb(80,0,80);font-family:arial,sans-serif"><br></span></div><div style><span style="font-size:13px;color:rgb(80,0,80);font-family:arial,sans-serif">Hope it helps.</span></div><div style><span style="font-size:13px;color:rgb(80,0,80);font-family:arial,sans-serif"><br>
</span></div><div style><span style="font-size:13px;color:rgb(80,0,80);font-family:arial,sans-serif">Best</span></div></div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/2 Mitchell Gore <span dir="ltr"><<a href="mailto:mitchell.gore@gmail.com" target="_blank">mitchell.gore@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div class="im"><br><br><div class="gmail_quote">On Tue, Apr 2, 2013 at 10:59 AM, Ole Nissen <span dir="ltr"><<a href="mailto:mail@olenissen.com" target="_blank">mail@olenissen.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div>You need to turn on the power to the usb port as well, like:<div>echo enabled > /sys/bus/usb/devices/usb3/power/wakeup'"</div>
<div><br></div><div>Ofcourse change "usb3" to the port you use.</div>
<div><br></div><div>I have made a udev rule for my dinovo mini keyboard like this:</div><div>SUBSYSTEM=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c71f" RUN+="/bin/sh -c 'echo enabled > /sys$env{DEVPATH}/../power/wakeup;echo enabled > /sys/bus/usb/devices/usb3/power/wakeup'"<br>
</div><div><br></div><div>Hope this helps.</div><div><br></div><div>Best Ole</div></div><div class="gmail_extra"><br></div></blockquote></div></div>How do i know the usb number?<br></div></div>
<br>_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<br></blockquote></div><br></div>