On Thu, 2 Apr 2015, Liu, Bin wrote:

> > > This is to reset the bus, not the controller right? For the MUSB case,
> > > the controller itself needs reset, no device/hub is connected on the
> > > bus.
> > 
> > IIRC, device-reset -D 1d6b:0002 -c 1 should work, but needs testing.
> 
> I thought about this. It will interesting to know how resetting the roothub 
> will trigger the controller reset, it needs a hook in musb driver to do hw 
> reset and EP re-config kind of init sequence, similar to the babble recover 
> routine...

What you (or rather, the user) could do is unbind the driver from the
controller and then rebind it back.  That will reset the controller
hardware.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to