On Wed, 3 Mar 2004, David Brownell wrote:

> >>>/proc/bus/usb/001/004 test 14,    4.012137 secs
> >>
> >>That's handy:  control out testing makes "usbtest" cover
> >>a lot more of the basic host and device functionality.
> > 
> > 
> > Yep. In fact until very recently it was only working with -v0 for me. 
> > Reason was the handling of wLength=0 ep0 data packets. From the spec 
> > (5.5.3) it isn't clear to me whether the host whould send a zero-len 
> > packet in this case. My firmware assumed yes, but linux-usb didn't. I've 
> > changed the firmware now so they behave.
> 
> Seems like that TT issue I saw, maybe ... did OHCI and UHCI act the same?

OHCI: yes, like EHCI. Note the firmware was never expecting an appended 
zero-length packet if wLength equals multiple maxpacket, I'm only talking 
about wLength==0 here. And I'm wondering why a real life device would ever 
issue a request to send 0 bytes - so maybe it's academic, but it happens 
with usbtest and 0<vary<length.

UHCI: not tried - and meanwhile the firmware behaves differently here...

I'm offline for the rest of the day, but I think the iso-firmware is ready 
for release tomorrow :-)

Martin



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to