Thread (11 messages) 11 messages, 4 authors, 2011-05-10

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

flat view

From: Jiri Kosina <hidden>
Date: 2011-05-06 12:58:18
Also in: lkml

Possibly related (same subject, not in this thread)

On Tue, 3 May 2011, Alan Stern wrote:
quoted
Do you know of a way for me to tell the kernel/usbhid to use interface 1 
and ignore interface 0?
Well, you can always unbind interface 0 from usbhid -- it corresponds
to the 2-1.1:1.0 file in /sys/bus/usb/drivers/usbhid/.  If you do that,
you'll probably find the few keys which _do_ currently work suddenly
stop working.

But there's nothing to be done immediately about interface 1; usbhid is
_already_ using it.  It just isn't using it correctly.
Adi,

could you please provide output of

	cat /syse/kernel/debug/hid/<keyboard>/rdesc

anytime after the keyboard has been plugged, and

	cat /syse/kernel/debug/hid/<keyboard>/events

from the time you press any of the working and non-working keys? (both 
cases will be interesting).

Oh, and the above assumes that you have debugfs mounted under 
/sys/kernel/debug.

Thanks,

-- 
Jiri Kosina
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help