Please send your messages to the mailing list as well as to me.

On Wed, 2 Aug 2006, Jared Holzman wrote:

> >> Another quick question, what does the status -EOVERFLOW mean for 
> >> individual isochronous packets?
> >>     
> >
> > All the normal USB error codes are explained in 
> > Documentation/usb/error-codes.txt.  -EOVERFLOW status means the received 
> > data packet was larger than expected.
> >
> > Alan Stern
> >
> >   
> Could you be a bit more specific. Does that mean:
> 1) The individual isochronous packets were too small?

No, it means they were too big.  That's what "larger than expected" means.  
Something that is too small is not "larger than expected".

> 2) There weren't enough isochronous packets

No, it doesn't mean there weren't enough of them.  It means some of them 
(the ones that got the -EOVERFLOW status) were larger than expected.  In 
other words, the actual packet size was larger than the value in 
urb->iso_frame_desc[n].length, where n is the index corresponding to the 
packet that got the -EOVERFLOW status.

> 3) The transfer buffer was too small

No, if the transfer buffer were too small then usb_submit_urb() would have 
returned an error immediately.

However you could argue that the value in urb->iso_frame_desc[n].length
was too small.  That's a matter of your point of view: Either the value of
the length field was too small or the packet size was too big (or possibly
both).  All you have told us is that the requirement

                (the length field) >= (the packet size)

was violated.  Without more information I can't say whether the fault
lies on the left side or the right side of the inequality.

> 4) Something else...

I think by now we have belabored the point sufficiently.

Alan Stern


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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