Re: Genius KB-29E USB Keyboard problems
Szekeres István <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Nov 05, 2007 at 12:13:43PM +0100, Jiri Kosina wrote:
>
> > Thanks a lot for your detailed report! Looks like the report descriptor of
> > the keyboard is broken and presents 0x09 usage page (button) instead of
> > 0x0c (consumer). This could be easily fixed by fixing the report
> > descriptor before it is passed to the HID parser (we do this for various
> > other broken devices already via HID_QUIRK_RDESC_* quirk entries).
> >
> > I will send you a patch to test hopefully tomorrow.
>
> Please let me know whether the patch below works for you. Thanks.
Jiri,
thanks for the patch, I tested it, most keys seem to work, only 4 of them
not:
1. The "W" key (Word processor) (KEY_WORDPROCESSOR):
drivers/hid/hid-core.c: report (size 2) (numbered)
drivers/hid/hid-core.c: report 4 (size 1) = 01
hid-debug: input Button.0156 = 1
2. The "Ex" key (Spreadsheet) (KEY_SPREADSHEET):
drivers/hid/hid-core.c: report (size 2) (numbered)
drivers/hid/hid-core.c: report 4 (size 1) = 02
[...]
hid-debug: input Button.0157 = 1
3. The "P" key (Presentation) (KEY_PRESENTATION):
drivers/hid/hid-core.c: report (size 2) (numbered)
drivers/hid/hid-core.c: report 4 (size 1) = 04
[...]
hid-debug: input Button.0158 = 1
4. The "Stop" key (KEY_STOP):
drivers/hid/hid-core.c: report (size 4) (numbered)
drivers/hid/hid-core.c: report 3 (size 3) = 20 00 00
[...]
hid-debug: input Consumer.015c = 1
In one of my previous mails I probably lied when I said all keys
follow the "Standards". Seems like these do not follow them.
Regards,
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel