Web lists-archives.com

Re: [linux-usb-devel] Question about struct usb_hub




On 7/3/07, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> On Tue, 3 Jul 2007, Felipe Balbi wrote:
>
> > Hi Allan,
> >
> > let me get this same thread to ask you the following
>
> > How could I force my usb host controller to re-enumerate everything
> > attached on the bus through userspace?? would it be some sort of
> > control message???
>
> The easiest way is to unbind the hub driver from the root-hub device
> and then rebind it.  If B is the bus number, you can do:
>
>         echo -n B-0:1.0 >/sys/bus/usb/drivers/hub/unbind
>         echo -n B-0:1.0 >/sys/bus/usb/drivers/hub/bind
>

Thanks Alan...

> Alan Stern
>
>


-- 
Best Regards,

Felipe Balbi
felipebalbi@xxxxxxxxxxxxxxxxxxxxx

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
linux-usb-devel@xxxxxxxxxxxxxxxxxxxxx
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel