Resubmit [PATCH] pu203 dual controller

Sam Liddicott <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Cc'ding you guys directly, this patch send on 9 May doesn't seem to be 
picked up yet.


I've tested this patch on ubuntu's 2.6.20 kernel.

It adds the same quirks for the PCS Ltd pu203 as I recently added for
the Wisegroup quad controller.

I don't exactly know if both quirks are required (for the pu203), but it 
works for me like this.

Sam

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
pu203.patch (text/x-patch, 1.2 KB)
--- /usr/src/linux-source-2.6.20/drivers/usb/input/hid-core.c	2007-04-10 06:43:08.000000000 +0100
+++ ./linux-source-2.6.20-2.6.20/drivers/usb/input/hid-core.c	2007-05-02 22:50:32.000000000 +0100
@@ -720,6 +720,10 @@
 #define USB_VENDOR_ID_WISEGROUP_LTD	0x6677
 #define USB_DEVICE_ID_SMARTJOY_DUAL_PLUS 0x8802
 
+/* Personal Communication Systems, Inc. */
+#define USB_VENDOR_ID_PCS_INC		0x0810
+#define USB_DEVICE_ID_PU203             0x0001
+
 #define USB_VENDOR_ID_CODEMERCS		0x07c0
 #define USB_DEVICE_ID_CODEMERCS_IOW40	0x1500
 #define USB_DEVICE_ID_CODEMERCS_IOW24	0x1501
@@ -936,6 +940,8 @@
 	{ USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_QUAD_USB_JOYPAD, HID_QUIRK_NOGET | HID_QUIRK_MULTI_INPUT },
 	{ USB_VENDOR_ID_WISEGROUP_LTD, USB_DEVICE_ID_SMARTJOY_DUAL_PLUS, HID_QUIRK_NOGET | HID_QUIRK_MULTI_INPUT },
 
+	{ USB_VENDOR_ID_PCS_INC, USB_DEVICE_ID_PU203, HID_QUIRK_NOGET | HID_QUIRK_MULTI_INPUT },
+
 	{ USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_MIGHTYMOUSE, HID_QUIRK_MIGHTYMOUSE | HID_QUIRK_INVERT_HWHEEL },
 	{ USB_VENDOR_ID_A4TECH, USB_DEVICE_ID_A4TECH_WCP32PU, HID_QUIRK_2WHEEL_MOUSE_HACK_7 },
 	{ USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_MOUSE, HID_QUIRK_2WHEEL_MOUSE_HACK_5 },
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.