linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* USB error numbers
@ 2003-09-08 12:21 root
  2003-09-08 15:28 ` Randy.Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: root @ 2003-09-08 12:21 UTC (permalink / raw)
  To: linux-kernel

Where do the various numbers come from in messages such as
USB device not accepting new address=5 (error=-110), and what do they
"mean"?
I'm trying to work out why this happens when I plug in one of several
webcams (into any of several computers) and one webcam occasionally.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: USB error numbers
  2003-09-08 12:21 USB error numbers root
@ 2003-09-08 15:28 ` Randy.Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy.Dunlap @ 2003-09-08 15:28 UTC (permalink / raw)
  To: root; +Cc: linux-kernel

> Where do the various numbers come from in messages such as
> USB device not accepting new address=5 (error=-110), and what do they
> "mean"?
> I'm trying to work out why this happens when I plug in one of several
> webcams (into any of several computers) and one webcam occasionally. -

Hm, the USB error numbers are listed/documented in
linux/Documentation/usb/error-codes.txt (by name).

Look in include/<asm-arch>/errno.h to match names to values
(or include/asm-generic/errno.h).

-110 for x86 is -ETIMEDOUT (USB returns negative error numbers).
It can mean that the device just wasn't responding, or it can mean
that there is a problem with USB interrupt routing.  There is lots
of work going on in this area right now, especially related to ACPI
interrupt routing.

~Randy





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-08 15:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-08 12:21 USB error numbers root
2003-09-08 15:28 ` Randy.Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).