2003-07-22 01:06:38

by Matthew Harrell

[permalink] [raw]
Subject: hid: ctrl urb status -75?


What does this error mean? I'm attempting to plug in a USB keyboard I've got
and it gives me the messages

hub 1-0:0: new USB device on port 1, assigned address 3
input: USB HID v1.10 Keyboard [CHESEN USB Keyboard] on usb-0000:00:11.2-1
drivers/usb/input/hid-core.c: ctrl urb status -75 received

Other USB keyboards work fine so it must be something special with this one.
This is under all kernels from 2.5.60 to 2.6.0-test1

--
Matthew Harrell The Earth is like a tiny grain of
Bit Twiddlers, Inc. sand, only much, much heavier.
[email protected]


2003-07-22 01:21:45

by Randy.Dunlap

[permalink] [raw]
Subject: Re: hid: ctrl urb status -75?

On Mon, 21 Jul 2003 21:21:37 -0400 Matthew Harrell <[email protected]> wrote:

|
| What does this error mean? I'm attempting to plug in a USB keyboard I've got
| and it gives me the messages
|
| hub 1-0:0: new USB device on port 1, assigned address 3
| input: USB HID v1.10 Keyboard [CHESEN USB Keyboard] on usb-0000:00:11.2-1
| drivers/usb/input/hid-core.c: ctrl urb status -75 received
|
| Other USB keyboards work fine so it must be something special with this one.
| This is under all kernels from 2.5.60 to 2.6.0-test1

include/asm-generic/errno.h says that 75 is EOVERFLOW.
Now look in Documentation/usb/error-codes.txt and it says that
EOVERFLOW is used for:
-EOVERFLOW (*) The amount of data returned by the endpoint was
greater than either the max packet size of the
endpoint or the remaining buffer size. "Babble".

The device returned too much data.
See whichever host controller driver you are using for details.

--
~Randy

2003-07-22 01:29:02

by Matthew Harrell

[permalink] [raw]
Subject: Re: hid: ctrl urb status -75?

: include/asm-generic/errno.h says that 75 is EOVERFLOW.
: Now look in Documentation/usb/error-codes.txt and it says that
: EOVERFLOW is used for:
: -EOVERFLOW (*) The amount of data returned by the endpoint was
: greater than either the max packet size of the
: endpoint or the remaining buffer size. "Babble".
:
: The device returned too much data.
: See whichever host controller driver you are using for details.

Strange. Thanks. For some reason I was thinking those error codes returned
by the driver were more specific to it. I see where the message is generated
and now just need to figure out what the deal is with it here. It works fine
under at least two other OSes so I know the keyboard works.

--
Matthew Harrell Do not meddle in the affairs of cats
Bit Twiddlers, Inc. for they are subtle and will piss
[email protected] on your computer

2003-07-22 01:41:37

by Randy.Dunlap

[permalink] [raw]
Subject: Re: hid: ctrl urb status -75?

On Mon, 21 Jul 2003 21:43:45 -0400 Matthew Harrell <[email protected]> wrote:

| : include/asm-generic/errno.h says that 75 is EOVERFLOW.
| : Now look in Documentation/usb/error-codes.txt and it says that
| : EOVERFLOW is used for:
| : -EOVERFLOW (*) The amount of data returned by the endpoint was
| : greater than either the max packet size of the
| : endpoint or the remaining buffer size. "Babble".
| :
| : The device returned too much data.
| : See whichever host controller driver you are using for details.
|
| Strange. Thanks. For some reason I was thinking those error codes returned
| by the driver were more specific to it. I see where the message is generated
| and now just need to figure out what the deal is with it here. It works fine
| under at least two other OSes so I know the keyboard works.

Well, there could be unknown workarounds or there could be some
corner case(s) that linux-usb doesn't quite handle, so good luck
on it. Is source code available for either of the other working
OSes?

--
~Randy
| http://developer.osdl.org/rddunlap/ | http://www.xenotime.net/linux/ |
Linux-2.6 FAQA:
http://www.codemonkey.org.uk/post-halloween-2.5.txt
or http://lwn.net/Articles/39901/
http://www.kernel.org/pub/linux/kernel/people/rusty/modules/