Home > usb error > documentation usb error codes txt

Documentation Usb Error Codes Txt

Contents

1 Revised: 2004-Oct-21 2 3 This is the documentation of (hopefully) all possible error codes (and 4 their interpretation) that can be returned from usbcore. 5 6 Some of them are returned by the Host Controller Drivers (HCDs), which 7 device drivers only see through usbcore. usb error codes linux As a rule, all the HCDs should 8 behave the same except for urb status transfer speed dependent behaviors and the 9 way certain faults are reported. 10 11 12 ************************************************************************** 13 * Error urb error codes codes returned by usb_submit_urb * 14 ************************************************************************** 15 16 Non-USB-specific: 17 18 0 URB submission went fine 19 20 -ENOMEM no memory for allocation of internal structures 21 22 USB-specific: 23 24 usb error code list -EBUSY The URB is already active. 25 26 -ENODEV specified USB-device or bus doesn't exist 27 28 -ENOENT specified interface or endpoint does not exist or 29 is not enabled 30 31 -ENXIO host controller driver does not support queuing of this type 32 of urb. (treat as a host controller bug.) 33 34 -EINVAL a) Invalid transfer type specified (or not supported) 35 b)

Usb Eproto Error

Invalid or unsupported periodic transfer interval 36 c) ISO: attempted to change transfer interval 37 d) ISO: number_of_packets is < 0 38 e) various other cases 39 40 -EXDEV ISO: URB_ISO_ASAP wasn't specified and all the frames 41 the URB would be scheduled in have already expired. 42 43 -EFBIG Host controller driver can't schedule that many ISO frames. 44 45 -EPIPE The pipe type specified in the URB doesn't match the 46 endpoint's actual type. 47 48 -EMSGSIZE (a) endpoint maxpacket size is zero; it is not usable 49 in the current interface altsetting. 50 (b) ISO packet is larger than the endpoint maxpacket. 51 (c) requested data transfer length is invalid: negative 52 or too large for the host controller. 53 54 -ENOSPC This request would overcommit the usb bandwidth reserved 55 for periodic transfers (interrupt, isochronous). 56 57 -ESHUTDOWN The device or host controller has been disabled due to some 58 problem that could not be worked around. 59 60 -EPERM Submission failed because urb->reject was set. 61 62 -EHOSTUNREACH URB was rejected because the device is suspended. 63 64 -ENOEXEC A control URB doesn't contain a Setup packet.

Orig file: v2.2.17/Documentation/usb/error-codes.txt Orig date: Thu Jan 1 01:00:00 1970 diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/Documentation/usb/error-codes.txt linux/Documentation/usb/error-codes.txt @@

Linux Urb

-0,0 +1,108 @@ +$Id: README.error-codes,v 1.1 1999/12/14 14:03:02 usb device not accepting address error 71 fliegl Exp $ + +This is the documentation of (hopefully) all possible error codes linux usb error 71 (and +their interpretation) that can be returned from the hostcontroller driver +and from usbcore. + +NOTE: +The USB_ST_* codes are deferred http://lxr.free-electrons.com/source/Documentation/usb/error-codes.txt and are only listed for compatibility, new +software should use only -E* instead! + + + +************************************************************************** +* Error codes returned by usb_submit_urb * +************************************************************************** + +Non-USB-specific: + +USB_ST_NOERROR +0 URB submission went fine + +-ENOMEM no memory for allocation of internal structures + http://ftp.riken.jp/Linux/kernel/v2.2/patch-html/patch-2.2.18/linux_Documentation_usb_error-codes.txt.html +USB-specific: + +-ENODEV specified USB-device or bus doesn't exist + +-ENXIO specified endpoint doesn't exist on the device + +USB_ST_URB_INVALID_ERROR +-EINVAL a) Invalid transfer type specified (or not supported) + b) Invalid interrupt interval (0<=n<256) + c) more than one interrupt packet requested + +-EAGAIN a) specified ISO start frame too early + b) (using ISO-ASAP) too much scheduled for the future + wait some time and try again. + +-EFBIG too much ISO frames requested (currently uhci>900) + +-EPIPE specified pipe-handle is already stalled + +-EMSGSIZE endpoint message size is zero, do interface/alternate setting + + +************************************************************************** +* Error codes returned by in urb->status * +* or in iso_frame_desc[n].status (for ISO) * +************************************************************************** + +USB_ST_NOERROR +0 Transfer completed successfully + +USB_ST_URB_KILLED +-ENOENT URB was canceled by unlink_urb + +USB_ST_URB_PEN

here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site http://unix.stackexchange.com/questions/191272/where-can-i-find-a-list-of-usb-error-codes About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody usb error can ask a question Anybody can answer The best answers are voted up and rise to the top Where can I find a list of USB error codes? up vote 2 down vote favorite Every time I boot Debian, the boot log shows a bunch of xhci_hcd problems, and messages like usb 3-13: hub failed to enable device, error -22 usb 3-13: device descriptor read/8, error -61 usb error code I'm having a hard time finding out what these error codes actually mean, though. Is there anywhere that lists what all of these error codes mean? debian boot drivers usb documentation share|improve this question asked Mar 19 '15 at 18:27 Eric Dand 1135 Hmmm....you'll probably end up looking at the driver source code for the definitive answer. –mdpc Mar 19 '15 at 18:30 add a comment| 2 Answers 2 active oldest votes up vote 0 down vote accepted The first one is EINVAL (a standard POSIX C error) inverted. If you are curious it's from line 4218 in [src]/drivers/usb/core/hub.c (v. 3.19): 4217 if (udev->state != USB_STATE_DEFAULT) 4218 return -EINVAL; The other one is from the hub_port_init() function in the same file. These kinds of error messages aren't really intended to provide more information to end users than what's there ("hub failed to enable device"), however. They're used in debugging, possibly including if you were to file a bug report. If you were hoping for documentation that will explain the problem in detail I think you are out of luck. Part of the reason for this is perhaps that there may not be any more accurate, detailed

 

Related content

alpine deck usb error 1

Alpine Deck Usb Error table id toc tbody tr td div id toctitle Contents div ul li a href Alpine Radio Usb Error a li li a href Alpine Usb Device Error a li li a href Alpine Radio Usb Device Error a li li a href Alpine Usb Device Error Android a li ul td tr tbody table p Gallery What's New Car Audio Classifieds Car Audio Shop Help Product Reviews Register Search Titles Only Show Results as relatedl Posts Advanced Search Forum Car Audio Discussion Head Units Alpine alpine cde usb error ERROR- Closed Thread Results to of

code 45 error for usbs

Code Error For Usbs table id toc tbody tr td div id toctitle Contents div ul li a href Usb Error Code a li li a href Usb Error Code a li li a href Usb Error Code a li li a href Usb Error Code a li ul td tr tbody table p games PC games code usb windows Windows games Windows phone games Entertainment All Entertainment p h id Usb Error Code p Movies TV Music Business Education Business Students educators usb error code Developers Sale Sale Find a store Gift cards Products Software services Windows Office Free

code 10 usb error

Code Usb Error table id toc tbody tr td div id toctitle Contents div ul li a href Usb Error Code Windows a li li a href Usb To Serial Error Code a li li a href Usb Error Code a li li a href Usb Error Code a li ul td tr tbody table p games PC games usb error code vista Windows games Windows phone games Entertainment All Entertainment p h id Usb Error Code Windows p Movies TV Music Business Education Business Students educators this device cannot start code Developers Sale Sale Find a store Gift cards

error usb

Error Usb table id toc tbody tr td div id toctitle Contents div ul li a href Usb Error Windows a li li a href Usb Error Camera a li ul td tr tbody table p be down Please try the request again Your cache administrator is webmaster Generated Sat Oct GMT by s ac squid p p Du siehst YouTube auf Deutsch Du kannst diese Einstellung unten ndern Learn more You're viewing YouTube in German relatedl You can change this preference below Schlie en Ja p h id Usb Error Camera p ich m chte sie behalten R ckg

generic usb error codes linux

Generic Usb Error Codes Linux table id toc tbody tr td div id toctitle Contents div ul li a href Usb Eproto Error a li li a href Urb Error Codes a li li a href Usb Error a li ul td tr tbody table p here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies relatedl of this site About Us Learn more about Stack Overflow the usb error code list company Business Learn more about hiring developers or posting ads with us Unix Linux

heimdall usb error 12

Heimdall Usb Error table id toc tbody tr td div id toctitle Contents div ul li a href Heimdall Error a li li a href Heimdall Libusb Error a li li a href Heimdall Protocol Initialisation Failed a li li a href Heimdall Device Is No Longer Connected a li ul td tr tbody table p Apps Gapps MX Player Adaway ViPER Android Audio FX Official XDA App All Apps relatedl Games XDA Assist ANALYSIS Editorials Opinion heimdall failed to access device error Analysis Fact Check The HTC Does not Actually have Phase-Detection p h id Heimdall Error p AutofocusSony

highlander ipod error 5

Highlander Ipod Error table id toc tbody tr td div id toctitle Contents div ul li a href Toyota Sienna Usb Error a li li a href Toyota Usb Port Not Working a li li a href Toyota Sienna Usb Port a li ul td tr tbody table p Improve Gas Mileage Oil Filter Location relatedl DIY Oil Change Oil Filter Comparisons Washing usb error toyota corolla Detailing rd Gen How-To's nd Gen How-To's st Gen How-To's Tire toyota error iphone Size Calculator Changing Spark Plugs Check Engine Light OBD- Codes Stereo Installation Speaker Installation Tacoma Towing Guide toyota corolla

linux usb error

Linux Usb Error table id toc tbody tr td div id toctitle Contents div ul li a href Usb Device Not Accepting Address Error a li li a href Linux Usb Error Codes a li li a href device Descriptor Read Error - a li li a href Usb Error a li ul td tr tbody table p here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site relatedl About Us Learn more about Stack Overflow the company Business Learn more p h

linux urb error codes

Linux Urb Error Codes table id toc tbody tr td div id toctitle Contents div ul li a href Usb Error Codes Linux a li li a href Usb Error Code a li li a href Usb Device Not Accepting Address Error a li li a href Linux Usb Error a li ul td tr tbody table p Member Registered - - Posts SOLVED USB error numbers and codes Hi there I struggle around with some erros on usb devices dmesg relatedl does only output error numbers like e g device not accepting p h id Usb Error Codes Linux

linux usb error messages

Linux Usb Error Messages table id toc tbody tr td div id toctitle Contents div ul li a href Usb Device Not Accepting Address Error a li li a href Usb Error Codes Linux a li li a href Usb Error a li ul td tr tbody table p here for a quick overview of the site Help Center Detailed answers to any questions you relatedl might have Meta Discuss the workings and policies of this linux usb error site About Us Learn more about Stack Overflow the company Business Learn more linux usb error about hiring developers or posting

linux usb error 22

Linux Usb Error table id toc tbody tr td div id toctitle Contents div ul li a href Usb Device Not Accepting Address Error a li li a href Linux Usb Error a li li a href Usb Error Code List a li ul td tr tbody table p here for a quick overview of the site Help Center Detailed answers to relatedl any questions you might have Meta Discuss the usb error codes linux workings and policies of this site About Us Learn more about Stack Overflow p h id Usb Device Not Accepting Address Error p the company

pioneer error 13 usb

Pioneer Error Usb table id toc tbody tr td div id toctitle Contents div ul li a href N a Usb Pioneer Android a li li a href Pioneer Car Stereo Usb Not Working a li li a href Pioneer Radio Usb Wont Work a li ul td tr tbody table p stereo DS Forums tr RegisterFAQToday's PostsSearchRules tr My DS Account No account yet Create one now OR Login with Digital Spy account Error message with my car stereo Search Forums Show Threads Show Posts relatedl Advanced Search Go to Page Thread Tools Search this Thread - - pioneer