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

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

 



Hi,

On Thu, Apr 02, 2015 at 02:50:05PM -0500, Liu, Bin wrote:
> > > I really don't care about reset or not, it is just about board reboot,
> > > not a big deal. The only thing I want to do is prevent the *** user
> > > using the current driver loading test packets to FIFO multiple times
> > > which breaks the test.
> > 
> > You don't need to reboot the board at all. When USB spec says 'reset', it's
> > referring to a USB bus reset. See if my device-reset tool helps you out [1]
> > 
> > [1] https://gitorious.org/usb/usb-
> > tools/source/373b417a9f0ded25312d0626486f6e7a2d660c32:device-reset.c
> 
> 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.

(run this from within AM335x itself)

-- 
balbi

Attachment: signature.asc
Description: Digital signature


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

  Powered by Linux