Skip to contentSkip to conversation

FAQ Somewhere? USB error messges

DISCUSSION Yan Seiner 3 participants 7 messages Feb 19, 2009

lore
Share & tools
lore

Yan Seiner

author
#0 lore raw

I have a device that has fallen off my usb hub. It now refuses to connect with:

Feb 18 18:57:21 selene kernel: [217569.165436] usb 2-4.4.4.4.4.3: new 
low speed USB device using ehci_hcd and address 55
Feb 18 18:57:22 selene kernel: [217569.572035] usb 2-4.4.4.4.4.3: device 
not accepting address 55, error -71
Feb 18 18:57:22 selene kernel: [217569.572366] hub 2-4.4.4.4.4:1.0: 

unable to enumerate USB device on port 3

I'm fairly sure it's not the device as I have two identical ones that work fine in other hubs. I'm fairly sure it's not the hub as I have other devices that work fine on that hub.

So now I need to figure out what that error message means. Where can I look up the error code?

#1 lore raw
Quoted 8 lines · Yan Seiner

I have a device that has fallen off my usb hub. It now refuses to connect with:

Feb 18 18:57:21 selene kernel: [217569.165436] usb 2-4.4.4.4.4.3: new low 
speed USB device using ehci_hcd and address 55
Feb 18 18:57:22 selene kernel: [217569.572035] usb 2-4.4.4.4.4.3: device 
not accepting address 55, error -71
Feb 18 18:57:22 selene kernel: [217569.572366] hub 2-4.4.4.4.4:1.0: unable 
Quoted 8 lines

to enumerate USB device on port 3

I'm fairly sure it's not the device as I have two identical ones that work fine in other hubs. I'm fairly sure it's not the hub as I have other devices that work fine on that hub.

So now I need to figure out what that error message means. Where can I look up the error code?

Documentation/usb/error-codes.txt

author
#2 lore raw
In reply to Yan Seiner
Quoted 16 lines · Greg KH
Quoted 14 lines · Yan Seiner

I have a device that has fallen off my usb hub. It now refuses to connect with:

Feb 18 18:57:21 selene kernel: [217569.165436] usb 2-4.4.4.4.4.3: new low 
speed USB device using ehci_hcd and address 55
Feb 18 18:57:22 selene kernel: [217569.572035] usb 2-4.4.4.4.4.3: device 
not accepting address 55, error -71
Feb 18 18:57:22 selene kernel: [217569.572366] hub 2-4.4.4.4.4:1.0: unable 

to enumerate USB device on port 3

I'm fairly sure it's not the device as I have two identical ones that work fine in other hubs. I'm fairly sure it's not the hub as I have other devices that work fine on that hub.

Quoted 7 lines
Quoted 3 lines

So now I need to figure out what that error message means. Where can I look up the error code?

Documentation/usb/error-codes.txt

That says things like:

-ENODEV specified USB-device or bus doesn't exist

-ENOENT specified interface or endpoint does not exist or
is not enabled

It has no information on translating 71 to E*. Unfortunately that doesn't tell me what 71 is about. Grepping /usr/include for some of those errors *still* doesn't tell me what error 71 is as it doesn't appear anywhere.

Is there any reason why the hotplug subsystem has to throw those cryptic errors with no pointers to any docs where we might be able to decipher them? We're in userland; we don't deal with this on a daily basis, and we have no clue where any of the info we need to understand those errors lies.

--Yan

#3 lore raw
In reply to Yan Seiner
Quoted 32 lines · Yan Seiner
Quoted 16 lines · Greg KH
Quoted 14 lines · Yan Seiner

I have a device that has fallen off my usb hub. It now refuses to connect with:

Feb 18 18:57:21 selene kernel: [217569.165436] usb 2-4.4.4.4.4.3: new low 
speed USB device using ehci_hcd and address 55
Feb 18 18:57:22 selene kernel: [217569.572035] usb 2-4.4.4.4.4.3: device 
not accepting address 55, error -71
Feb 18 18:57:22 selene kernel: [217569.572366] hub 2-4.4.4.4.4:1.0: 

unable to enumerate USB device on port 3

I'm fairly sure it's not the device as I have two identical ones that work fine in other hubs. I'm fairly sure it's not the hub as I have other devices that work fine on that hub.

Quoted 7 lines
Quoted 3 lines

So now I need to figure out what that error message means. Where can I look up the error code?

Documentation/usb/error-codes.txt

That says things like:

(quoted diff) +0 -2
-ENODEV         specified USB-device or bus doesn't exist
 
-ENOENT         specified interface or endpoint does not exist or
               is not enabled
Quoted 1 line

It has no information on translating 71 to E*.

That would be found in the include/asm-generic/errno.h file, as EPROTO.

Quoted 3 lines

Unfortunately that doesn't tell me what 71 is about. Grepping /usr/include for some of those errors *still* doesn't tell me what error 71 is as it doesn't appear anywhere.

See above.

Quoted 3 lines

Is there any reason why the hotplug subsystem has to throw those cryptic errors with no pointers to any docs where we might be able to decipher them?

That's not the hotplug system, that's the kernel giving off those messages.

Quoted 2 lines

We're in userland; we don't deal with this on a daily basis, and we have no clue where any of the info we need to understand those errors lies.

Hope the above information helped.

In short, it looks like you have a broken usb device, or not enough power being sent to it.

good luck,

greg k-h

#4 lore raw
In reply to Yan Seiner
Quoted 32 lines · Yan Seiner
Quoted 16 lines · Greg KH
Quoted 14 lines · Yan Seiner

I have a device that has fallen off my usb hub. It now refuses to connect with:

Feb 18 18:57:21 selene kernel: [217569.165436] usb 2-4.4.4.4.4.3: new
low speed USB device using ehci_hcd and address 55
Feb 18 18:57:22 selene kernel: [217569.572035] usb 2-4.4.4.4.4.3:
device not accepting address 55, error -71
Feb 18 18:57:22 selene kernel: [217569.572366] hub 2-4.4.4.4.4:1.0:

unable to enumerate USB device on port 3

I'm fairly sure it's not the device as I have two identical ones that work fine in other hubs. I'm fairly sure it's not the hub as I have other devices that work fine on that hub.

Quoted 7 lines
Quoted 3 lines

So now I need to figure out what that error message means. Where can I look up the error code?

Documentation/usb/error-codes.txt

That says things like:

(quoted diff) +0 -2
-ENODEV         specified USB-device or bus doesn't exist
 
-ENOENT         specified interface or endpoint does not exist or
               is not enabled
Quoted 4 lines

It has no information on translating 71 to E*. Unfortunately that doesn't tell me what 71 is about. Grepping /usr/include for some of those errors *still* doesn't tell me what error 71 is as it doesn't appear anywhere.

$ grep -w 71 /usr/include/asm-generic/errno.h
#define	EPROTO		71	/* Protocol error */

and see EPROTO in the file that Greg referred you to.

Quoted 5 lines

Is there any reason why the hotplug subsystem has to throw those cryptic errors with no pointers to any docs where we might be able to decipher them? We're in userland; we don't deal with this on a daily basis, and we have no clue where any of the info we need to understand those errors lies.

Signature · 1 line
~Randy
author
#5 lore raw
In reply to Yan Seiner

[Sorry Greg - misdirected the last one email]

Quoted 9 lines · Greg KH
Quoted 3 lines · Yan Seiner

We're in userland; we don't deal with this on a daily basis, and we have no clue where any of the info we need to understand those errors lies.

Hope the above information helped.

In short, it looks like you have a broken usb device, or not enough power being sent to it.

HAH! I bet it's power.... I've had problems with power on that hub before - it's "self powered" but only comes with a 500ma wall wart.

Is there a USB user wiki somewhere I can update or where this information could be kept?

--Yan

Signature · 10 lines
  o__
  ,>/'_          o__
  (_)\(_)        ,>/'_        o__
Yan Seiner      (_)\(_)       ,>/'_     o__
       Personal Trainer      (_)\(_)    ,>/'_        o__
             Professional Engineer     (_)\(_)       ,>/'_
Who says engineers have to be pencil necked geeks?  (_)\(_)

You are an adult when you realize that everyone's an idiot sometimes. You
are wise when you include yourself.
#6 lore raw
In reply to Yan Seiner
Quoted 8 lines · Yan Seiner

[Sorry Greg - misdirected the last one email]

Quoted 5 lines · Greg KH
Quoted 3 lines · Yan Seiner

We're in userland; we don't deal with this on a daily basis, and we have no clue where any of the info we need to understand those errors lies.

Quoted 7 lines
Quoted 4 lines

Hope the above information helped.

In short, it looks like you have a broken usb device, or not enough power being sent to it.

HAH! I bet it's power.... I've had problems with power on that hub before - it's "self powered" but only comes with a 500ma wall wart.

Yes, that sounds like the problem.

Quoted 2 lines

Is there a USB user wiki somewhere I can update or where this information could be kept?

Sorry, none that I know of.

good luck,

greg k-h