Bug 24672 - [hid-ORTEK] Enable GeneralKeys keyboard - Mouse Combi PX-253
Summary: [hid-ORTEK] Enable GeneralKeys keyboard - Mouse Combi PX-253
Status: RESOLVED INVALID
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Greg Kroah-Hartman
URL: https://bugs.archlinux.org/task/22030...
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-11 11:12 UTC by Fabian Schuh
Modified: 2022-10-01 14:56 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.36
Subsystem:
Regression: No
Bisected commit-id:


Attachments
USB resource descriptor fix for Ortek PKB-1700 devices (3.44 KB, patch)
2011-01-05 09:17 UTC, Johan
Details | Diff

Description Fabian Schuh 2010-12-11 11:12:00 UTC
Hi developers,

i request a small change to the add support for the Keyboard/Mouse Combi device PX-253 from ortek. I seems that it is working well with the already developed driver, but does not register correctly to it as it uses a sligthly different device id.

Searching through the web i found a 'patch' at ubuntuusers.de:
<http://forum.ubuntuusers.de/topic/generalkeys-tastatur-maus-kombi-px-2537-675-o/#post-2626390>
and summed the content up at my distributions bug tracker:
<https://bugs.archlinux.org/task/22030>
They told me to add a feature request in the official bugtracker, what I am doing right now.

Unfortunatelly I do not know how to do a patch/diff file with multiple modifications in different files, so I am summarizing the changes:
=================
- All files lie in "/usr/src/linux/drivers/hid"
- in "hid-ids.h" add:
#define USB_DEVICE_ID_ORTEK_PKB1700 0x1700 // neu hinzufuegen
- in "hid-ortek.c" modify:
dev_info(&hdev->dev, "Fixing up Ortek WKB-2000/PKB-1700 "
- in "Kconfig":
Support for Ortek WKB-2000/PKB-1700 wireless keyboard + mouse trackpad.
- in "hid-core.c" add
{ HID_USB_DEVICE(USB_VENDOR_ID_ORTEK, USB_DEVICE_ID_ORTEK_PKB1700) },
- and finally in "hid-ortek.c"
{ HID_USB_DEVICE(USB_VENDOR_ID_ORTEK, USB_DEVICE_ID_ORTEK_PKB1700) },
=================

Thanks for concidering my request.

Grettings
 -- Fabian
Comment 1 Johan 2011-01-05 09:17:20 UTC
Created attachment 42392 [details]
USB resource descriptor fix for Ortek PKB-1700 devices

I have a wireless keyboard with a pointing stick, branded as "Plexgear Mediatrack Mini Comfort" which looks like this:

http://www.kjell.com/?item=91814&path=97000000,192500000,202500000,205500000,207000000

This device also identifies itself as PKB-1700 and I've created a patch which seems to be almost identical to your proposed solution.

Please test this patch with your device.
Comment 2 David Bell 2011-02-26 19:55:13 UTC
Hi, the attached patch (id=42392) in comment #1 worked for me against 2.6.37.2, the keyboard now works correctly :)

Please apply upstream if possible since the patch works against the model in question.

Cheers!
Comment 3 Greg Kroah-Hartman 2012-02-22 21:53:43 UTC
All USB bugs should be sent to the linux-usb@vger.kernel.org mailing 
list, and not entered into bugzilla.  Please bring this issue up there,
if it is still a problem in the latest kernel release.
Comment 4 Jimob 2022-10-01 14:56:11 UTC
(In reply to Johan from comment #1)
> Created attachment 42392 [details]
> USB resource descriptor fix for Ortek PKB-1700 devices
> 
> I have a wireless keyboard with a pointing stick, branded as "Plexgear
> Mediatrack Mini Comfort" which looks like this:
> 
>
> http://www.lagaiphone.se/?item=91814&path=97000000,192500000,202500000,205500000,
> 207000000
> 
> This device also identifies itself as PKB-1700 and I've created a patch
> which seems to be almost identical to your proposed solution.

Please test this patch with your device.

Note You need to log in before you can comment on or make changes to this bug.