Re: USB keyboard recognized as HID keyboard but doesn't work

From: Alan Stern
Date: Mon May 02 2011 - 16:27:33 EST


On Mon, 2 May 2011, Adi J. Sieker wrote:

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

> > Also, it would help to see the output from "lsusb -v" for this device
> > -- but you'll have to unbind it from the usbhid driver first.
> >
>
> When attaching the keyboard I get 2 devices in
> /sys/bus/usb/drivers/usbhid/2-1.1:1.0 and
> /sys/bus/usb/drivers/usbhid/2-1.1:1.1
>
> The output is in the attached lsusb.txt.

The output looks good. It doesn't mean much to me, but the people on
the linux-input mailing list should be able to get something out of it.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/