[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4DC3FEC7.6050503@sieker.io>
Date: Fri, 06 May 2011 15:59:35 +0200
From: "Adi J. Sieker" <adi@...ker.io>
To: Jiri Kosina <jkosina@...e.cz>
CC: Alan Stern <stern@...land.harvard.edu>,
Oliver Neukum <oliver@...kum.org>,
USB list <linux-usb@...r.kernel.org>,
linux-input@...r.kernel.org,
Kernel development list <linux-kernel@...r.kernel.org>
Subject: Re: USB keyboard recognized as HID keyboard but doesn't work
On 06/05/11 14:58, Jiri Kosina wrote:
> On Tue, 3 May 2011, Alan Stern wrote:
>
>>> 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
in /sys/kernel/debug/hid I have two devices for the keyboard. One is
0003:060B:0230.0002 and the other 0003:060B:0230.0003
attached are the rdesc files for both devices.
>
> 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).
I only get events for the working keys on the *:0002 device.
All other files were empty after I pressed some keys.
The events for the working keys are attached in the *.events file.
I first pressed backspace and then the menu key.
Cheers
Adi
View attachment "0003:060B:0230.0002.rdesc" of type "text/plain" (9075 bytes)
Download attachment "0003:060B:0230.0002-working-keys.events" of type "application/octet-stream" (1030 bytes)
View attachment "0003:060B:0230.0003.rdesc" of type "text/plain" (770 bytes)
Powered by blists - more mailing lists