On Thursday 15 December 2005 12:51 pm, Alan Stern wrote:

>  /* cc -Wall -g -Ikernel2x/include -o usb usb.c usbstring.c -lpthread */
> -/* optionally with "-DAIO" with a recent 2.6 gadgetfs */
> +/* optionally with "-DAIO -laio" with a recent 2.6 gadgetfs */

Right, though I also get the impression that "-laio" is a bit orphaned.
Patches for ARM and SPARC support seemed never to have been merged into
an official release, for example ...

Likewise for the others there.  Feel free to check those into CVS
at sourceforge.


> That is, it seems to work when using dummy_hcd.  It doesn't work with
> net2280, and I can only conclude that the net2280 code does not support
> req->zero on ep0!  (I haven't tried other endpoints.)  Too bad there's no
> way to check this out using usbtest.  Do you have any idea what could be
> going on?

You could force gadget zero to give out 62 byte strings to see if it
acts the same.  That should help track the issue down.

I see the userspace "usb.c" test program doesn't support the control
OUT tests (usbtest case 14) that I usually use to make sure all
different lengths of control transfer behave for both IN and OUT.

- Dave


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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