On Wed, 20 Dec 2006, Pete Zaitcev wrote:

> On Wed, 20 Dec 2006 10:04:01 -0500 (EST), Alan Stern <[EMAIL PROTECTED]> 
> wrote:
> 
> > > Assuming x86 32, -115 = -EINPROGRESS, that means URB still pending, no 
> > > results yet
> > 
> > All successful Submission ('S') lines will contain this code.
> > 
> > > > e.g. status code "-2"
> > > 
> > > -2 = -ENOENT, specified interface or endpoint does not exist or is not 
> > > enabled
> > 
> > That's would the code would mean if it appeared on a Submission line.  But 
> > when it appears on a Completion ('C') line it means "URB was synchronously 
> > unlinked by usb_unlink_urb".
> 
> I hate to disappoint you, Alan, but this is not how usbmon works.
> Errors in submission are reported with 'E' event immediately after
> the submission. So the monitoring application sees 'S' (which is
> always successful, the status should be always ignored), and
> possibly 'E'.

You're right.  I should have said "That's what the code would mean if it 
appeared on an Error-in-submission ('E') line."

It remains true that -ENOENT on a Completion line means "URB was 
synchronously unlinked by usb_unlink_urb".

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