All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] USB-HID: IOWarrior added to blacklist
@ 2004-05-11 12:04 cr7
  0 siblings, 0 replies; 3+ messages in thread
From: cr7 @ 2004-05-11 12:04 UTC (permalink / raw)
  To: linux-kernel; +Cc: vojtech

[-- Attachment #1: Type: text/plain, Size: 331 bytes --]

Hi all,

this is a simple patch of USB's hid-core.c to add Codemercs' IOWarrior 24 and  
IOWarrior 40 to the blacklist as it's not a "real" HID device.
It should be used via Codemercs' driver or via libusb.

The datasheet for IOwarrior can be found here:
http://www.codemercs.com/Downloads/IOWarriorDatasheet.pdf

Regards,
Carsten

[-- Attachment #2: hid-iowarrior.patch --]
[-- Type: text/x-diff, Size: 816 bytes --]

--- /drivers/usb/input/hid-core.c-orig	2004-04-04 05:37:23.000000000 +0200
+++ /drivers/usb/input/hid-core.c	2004-05-11 13:50:11.877974264 +0200
@@ -1412,6 +1412,11 @@
 #define USB_VENDOR_ID_CHIC		0x05fe
 #define USB_DEVICE_ID_CHIC_GAMEPAD	0x0014
 
+#define USB_VENDOR_ID_CODEMERCS         0x07c0
+#define USB_DEVICE_ID_CODEMERCS_IOW40   0x1500
+#define USB_DEVICE_ID_CODEMERCS_IOW24   0x1501
+
+
 struct hid_blacklist {
 	__u16 idVendor;
 	__u16 idProduct;
@@ -1479,6 +1484,9 @@
 	{ USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_RUMBLEPAD, HID_QUIRK_BADPAD },
 	{ USB_VENDOR_ID_TOPMAX, USB_DEVICE_ID_TOPMAX_COBRAPAD, HID_QUIRK_BADPAD },
 
+	{ USB_VENDOR_ID_CODEMERCS, USB_DEVICE_ID_CODEMERCS_IOW40, HID_QUIRK_IGNORE },
+	{ USB_VENDOR_ID_CODEMERCS, USB_DEVICE_ID_CODEMERCS_IOW24, HID_QUIRK_IGNORE },
+
 	{ 0, 0 }
 };
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] USB-HID: IOWarrior added to blacklist
@ 2004-05-11 15:53 cr7
  2004-06-24 13:45 ` Vojtech Pavlik
  0 siblings, 1 reply; 3+ messages in thread
From: cr7 @ 2004-05-11 15:53 UTC (permalink / raw)
  To: linux-kernel; +Cc: vojtech

[-- Attachment #1: Type: text/plain, Size: 333 bytes --]

Hi all,

this is a simple patch of USB's hid-core.c to add Codemercs' IOWarrior 24 and  
IOWarrior 40 to the blacklist as it's not a "real" HID device.
It should be used via Codemercs' driver or via libusb.

The datasheet for IOwarrior can be found here:
http://www.codemercs.com/Downloads/IOWarriorDatasheet.pdf

Regards,
Carsten



[-- Attachment #2: hid-iowarrior.patch --]
[-- Type: text/x-diff, Size: 816 bytes --]

--- /drivers/usb/input/hid-core.c-orig	2004-04-04 05:37:23.000000000 +0200
+++ /drivers/usb/input/hid-core.c	2004-05-11 13:50:11.877974264 +0200
@@ -1412,6 +1412,11 @@
 #define USB_VENDOR_ID_CHIC		0x05fe
 #define USB_DEVICE_ID_CHIC_GAMEPAD	0x0014
 
+#define USB_VENDOR_ID_CODEMERCS         0x07c0
+#define USB_DEVICE_ID_CODEMERCS_IOW40   0x1500
+#define USB_DEVICE_ID_CODEMERCS_IOW24   0x1501
+
+
 struct hid_blacklist {
 	__u16 idVendor;
 	__u16 idProduct;
@@ -1479,6 +1484,9 @@
 	{ USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_RUMBLEPAD, HID_QUIRK_BADPAD },
 	{ USB_VENDOR_ID_TOPMAX, USB_DEVICE_ID_TOPMAX_COBRAPAD, HID_QUIRK_BADPAD },
 
+	{ USB_VENDOR_ID_CODEMERCS, USB_DEVICE_ID_CODEMERCS_IOW40, HID_QUIRK_IGNORE },
+	{ USB_VENDOR_ID_CODEMERCS, USB_DEVICE_ID_CODEMERCS_IOW24, HID_QUIRK_IGNORE },
+
 	{ 0, 0 }
 };
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] USB-HID: IOWarrior added to blacklist
  2004-05-11 15:53 [PATCH] USB-HID: IOWarrior added to blacklist cr7
@ 2004-06-24 13:45 ` Vojtech Pavlik
  0 siblings, 0 replies; 3+ messages in thread
From: Vojtech Pavlik @ 2004-06-24 13:45 UTC (permalink / raw)
  To: cr7; +Cc: linux-kernel

On Tue, May 11, 2004 at 05:53:23PM +0200, cr7@os.inf.tu-dresden.de wrote:
> Hi all,
> 
> this is a simple patch of USB's hid-core.c to add Codemercs' IOWarrior 24 and  
> IOWarrior 40 to the blacklist as it's not a "real" HID device.
> It should be used via Codemercs' driver or via libusb.
> 
> The datasheet for IOwarrior can be found here:
> http://www.codemercs.com/Downloads/IOWarriorDatasheet.pdf

I'm sorry, I was too busy, so your patch slipped by. I applied it now,
expect in 2.6.8. Thanks for the patch.

-- 
Vojtech Pavlik
SuSE Labs, SuSE CR

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-06-24 13:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-11 15:53 [PATCH] USB-HID: IOWarrior added to blacklist cr7
2004-06-24 13:45 ` Vojtech Pavlik
  -- strict thread matches above, loose matches on Subject: below --
2004-05-11 12:04 cr7

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.