On Tue, Feb 28, 2006 at 10:29:03PM -0800, David Brownell wrote:
> On Tuesday 28 February 2006 9:48 pm, Marc Singer wrote:
> 
> > The question is this: what is the simplest gadget to use for debugging
> > a UDC driver?  I started with the serial gadget because I figured it
> > would be easy to verify that it is working.
> 
> Gadget Zero is designed to be the place to start; see also the scriptable
> tests (and other testing information) at
> 
>       http://www.linux-usb.org/usbtest/#gadgets
> 
> Be sure to download not just "testusb.c" to whack it using common
> types of sadism, but also use "test.sh" to make sure you hit some of
> the significant boundary conditions (short packets, patterns, etc).
> 
> You will likely find getting control transfers to behave with "test 10"
> overnight will be ... interesting, but worthwhile.  Once you can leave
> your host running "sh test.sh control in out" overnight, the driver
> will be sufficiently revived for most purposes.  :)

Rockin.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to