RE: [PATCH v2] usb: musb: only set test mode once

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alan,

> -----Original Message-----
> From: Alan Stern [mailto:stern@xxxxxxxxxxxxxxxxxxx]
> Sent: Thursday, April 02, 2015 3:28 PM
> To: Liu, Bin
> Cc: Balbi, Felipe; linux-usb@xxxxxxxxxxxxxxx
> Subject: RE: [PATCH v2] usb: musb: only set test mode once
> 
> 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.

This works! Thanks for the hint.

Regards,
-Bin.

> 
> Alan Stern

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




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux