Re: USB keyboard recognized as HID keyboard but doesn't work
From: Adi J. Sieker <hidden>
Date: 2011-05-02 20:50:03
Also in:
lkml
Attachments
- usbmon.out [text/plain] 3675 bytes · preview
From: Adi J. Sieker <hidden>
Date: 2011-05-02 20:50:03
Also in:
lkml
On 02/05/11 22:27, Alan Stern wrote:
On Mon, 2 May 2011, Adi J. Sieker wrote:quoted
quoted
Something else that might help is a usbmon trace showing what happens when you plug in the keyboard. Instructions are in the kernel source file Documentation/usb/usbmon.txt. In particular, while running the test try pressing some of the normal keys that don't work.The attached file usbmon-working.out is the output when I pressed the backspace key. When I press any of the non working keys which is everything but the backspace and menu key. I don't get any output even when using 0u.Sorry, I wasn't clear enough. I meant for you to start the usbmon trace _before_ plugging in the keyboard, so we can see what happens as the keyboard is initialized and probed.
You were clear enough, I just couldn't read. :)
Attached is the usbmon trace when I plug the keyboard in.
lsusb shows the keyboard as:
Bus 002 Device 008: ID 060b:0230 Solid Year
Relevant section from /sys/kernel/debug/usb/devices
T: Bus=02 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 8 Spd=1.5 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=060b ProdID=0230 Rev= 2.20
S: Manufacturer=KB
S: Product=USB Keyboard
C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=usbhid
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
I:* If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
Cheers
Adi