On Wed, 20 Dec 2006, Thomas Sailer wrote:
> On Wed, 2006-12-20 at 10:55 +1100, Aras Vaichas wrote:
>
> > I'm at a loss to understand the status code. Can someone point me to where I
> > can decode this?
>
> With the help of /usr/include/asm/errno.h, you can translate the error
> numbers to error names.
For x86, you actually want to look at /usr/include/asm-generic/errno* (or
in the kernel source, include/asm-generic/errno*).
> Documentation/usb/error-codes.txt then documents the meanings of those
> errors.
>
> > e.g. status code "-115"
>
> 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".
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
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel