linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* FAQ Somewhere?  USB error messges
@ 2009-02-19  3:13 Yan Seiner
  2009-02-19  4:07 ` Greg KH
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Yan Seiner @ 2009-02-19  3:13 UTC (permalink / raw)
  To: linux-hotplug

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?


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

* Re: FAQ Somewhere?  USB error messges
  2009-02-19  3:13 FAQ Somewhere? USB error messges Yan Seiner
@ 2009-02-19  4:07 ` Greg KH
  2009-02-19 12:59 ` Yan Seiner
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Greg KH @ 2009-02-19  4:07 UTC (permalink / raw)
  To: linux-hotplug

On Wed, Feb 18, 2009 at 07:13:24PM -0800, Yan Seiner wrote:
> 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?

Documentation/usb/error-codes.txt

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

* Re: FAQ Somewhere?  USB error messges
  2009-02-19  3:13 FAQ Somewhere? USB error messges Yan Seiner
  2009-02-19  4:07 ` Greg KH
@ 2009-02-19 12:59 ` Yan Seiner
  2009-02-19 15:43 ` Greg KH
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Yan Seiner @ 2009-02-19 12:59 UTC (permalink / raw)
  To: linux-hotplug

Greg KH wrote:
> On Wed, Feb 18, 2009 at 07:13:24PM -0800, Yan Seiner wrote:
>   
>> 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?
>>     
>
> 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

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

* Re: FAQ Somewhere?  USB error messges
  2009-02-19  3:13 FAQ Somewhere? USB error messges Yan Seiner
  2009-02-19  4:07 ` Greg KH
  2009-02-19 12:59 ` Yan Seiner
@ 2009-02-19 15:43 ` Greg KH
  2009-02-19 16:11 ` Randy Dunlap
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Greg KH @ 2009-02-19 15:43 UTC (permalink / raw)
  To: linux-hotplug

On Thu, Feb 19, 2009 at 04:59:28AM -0800, Yan Seiner wrote:
> Greg KH wrote:
>> On Wed, Feb 18, 2009 at 07:13:24PM -0800, Yan Seiner wrote:
>>   
>>> 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?
>>>     
>>
>> 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*.

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

> 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.

> 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.

> 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

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

* Re: FAQ Somewhere?  USB error messges
  2009-02-19  3:13 FAQ Somewhere? USB error messges Yan Seiner
                   ` (2 preceding siblings ...)
  2009-02-19 15:43 ` Greg KH
@ 2009-02-19 16:11 ` Randy Dunlap
  2009-02-19 16:20 ` Yan Seiner
  2009-02-19 16:22 ` Greg KH
  5 siblings, 0 replies; 7+ messages in thread
From: Randy Dunlap @ 2009-02-19 16:11 UTC (permalink / raw)
  To: linux-hotplug

Yan Seiner wrote:
> Greg KH wrote:
>> On Wed, Feb 18, 2009 at 07:13:24PM -0800, Yan Seiner wrote:
>>  
>>> 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?
>>>     
>>
>> 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.

$ 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.

> 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.


-- 
~Randy

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

* Re: FAQ Somewhere?  USB error messges
  2009-02-19  3:13 FAQ Somewhere? USB error messges Yan Seiner
                   ` (3 preceding siblings ...)
  2009-02-19 16:11 ` Randy Dunlap
@ 2009-02-19 16:20 ` Yan Seiner
  2009-02-19 16:22 ` Greg KH
  5 siblings, 0 replies; 7+ messages in thread
From: Yan Seiner @ 2009-02-19 16:20 UTC (permalink / raw)
  To: linux-hotplug

[Sorry Greg - misdirected the last one email]

On Thu, February 19, 2009 7:43 am, Greg KH wrote:
> On Thu, Feb 19, 2009 at 04:59:28AM -0800, Yan Seiner wrote:
>> 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


-- 
  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.



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

* Re: FAQ Somewhere?  USB error messges
  2009-02-19  3:13 FAQ Somewhere? USB error messges Yan Seiner
                   ` (4 preceding siblings ...)
  2009-02-19 16:20 ` Yan Seiner
@ 2009-02-19 16:22 ` Greg KH
  5 siblings, 0 replies; 7+ messages in thread
From: Greg KH @ 2009-02-19 16:22 UTC (permalink / raw)
  To: linux-hotplug

On Thu, Feb 19, 2009 at 08:20:43AM -0800, Yan Seiner wrote:
> [Sorry Greg - misdirected the last one email]
> 
> On Thu, February 19, 2009 7:43 am, Greg KH wrote:
> > On Thu, Feb 19, 2009 at 04:59:28AM -0800, Yan Seiner wrote:
> >> 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.

Yes, that sounds like the problem.

> 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

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

end of thread, other threads:[~2009-02-19 16:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-19  3:13 FAQ Somewhere? USB error messges Yan Seiner
2009-02-19  4:07 ` Greg KH
2009-02-19 12:59 ` Yan Seiner
2009-02-19 15:43 ` Greg KH
2009-02-19 16:11 ` Randy Dunlap
2009-02-19 16:20 ` Yan Seiner
2009-02-19 16:22 ` Greg KH

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).