public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] Graphire3 support
@ 2004-01-24  0:44 Panagiotis Issaris
  2004-01-24  8:29 ` Vojtech Pavlik
  2004-01-27  0:44 ` Greg KH
  0 siblings, 2 replies; 5+ messages in thread
From: Panagiotis Issaris @ 2004-01-24  0:44 UTC (permalink / raw)
  To: linux-kernel; +Cc: Linus Torvalds, akpm

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

Hi,

I got a Wacom Graphire3 for my birthday and unfortunately it didn't 
work. After some playing around, I noticed the 2.6 kernel needs a few 
small modifications to make it work.

This simple patch adds support for the Wacom Graphire 3.  It applies 
fine to both 2.6.2-rc1-mm2 and 2.6.2-rc1.

With friendly regards,
Takis

[-- Attachment #2: pi-20040124_0120-linux_2.6.2_rc1_mm2-graphire3_support.diff --]
[-- Type: text/x-patch, Size: 2017 bytes --]

diff -ur linux-2.6.1/drivers/usb/input/hid-core.c /scratch/src/linux-2.6/drivers/usb/input/hid-core.c
--- linux-2.6.1/drivers/usb/input/hid-core.c	2004-01-24 01:09:01.000000000 +0100
+++ /scratch/src/linux-2.6/drivers/usb/input/hid-core.c	2004-01-24 00:27:24.000000000 +0100
@@ -1369,6 +1369,7 @@
 	{ USB_VENDOR_ID_WACOM, USB_DEVICE_ID_WACOM_GRAPHIRE, HID_QUIRK_IGNORE },
 	{ USB_VENDOR_ID_WACOM, USB_DEVICE_ID_WACOM_GRAPHIRE + 1, HID_QUIRK_IGNORE },
 	{ USB_VENDOR_ID_WACOM, USB_DEVICE_ID_WACOM_GRAPHIRE + 2, HID_QUIRK_IGNORE },
+	{ USB_VENDOR_ID_WACOM, USB_DEVICE_ID_WACOM_GRAPHIRE + 3, HID_QUIRK_IGNORE },
 	{ USB_VENDOR_ID_WACOM, USB_DEVICE_ID_WACOM_INTUOS, HID_QUIRK_IGNORE },
 	{ USB_VENDOR_ID_WACOM, USB_DEVICE_ID_WACOM_INTUOS + 1, HID_QUIRK_IGNORE },
 	{ USB_VENDOR_ID_WACOM, USB_DEVICE_ID_WACOM_INTUOS + 2, HID_QUIRK_IGNORE },
diff -ur linux-2.6.1/drivers/usb/input/wacom.c /scratch/src/linux-2.6/drivers/usb/input/wacom.c
--- linux-2.6.1/drivers/usb/input/wacom.c	2004-01-24 01:07:28.000000000 +0100
+++ /scratch/src/linux-2.6/drivers/usb/input/wacom.c	2004-01-24 00:53:23.000000000 +0100
@@ -428,6 +428,7 @@
         { "Wacom Graphire",      8,  10206,  7422,  511, 32, 1, wacom_graphire_irq },
 	{ "Wacom Graphire2 4x5", 8,  10206,  7422,  511, 32, 1, wacom_graphire_irq },
  	{ "Wacom Graphire2 5x7", 8,  13918, 10206,  511, 32, 1, wacom_graphire_irq },
+ 	{ "Wacom Graphire3", 8,  13918, 10206,  511, 32, 1, wacom_graphire_irq },
   	{ "Wacom Intuos 4x5",   10,  12700, 10360, 1023, 15, 2, wacom_intuos_irq },
  	{ "Wacom Intuos 6x8",   10,  20600, 16450, 1023, 15, 2, wacom_intuos_irq },
  	{ "Wacom Intuos 9x12",  10,  30670, 24130, 1023, 15, 2, wacom_intuos_irq },
@@ -452,6 +453,7 @@
 	{ USB_DEVICE(USB_VENDOR_ID_WACOM, 0x10) },
 	{ USB_DEVICE(USB_VENDOR_ID_WACOM, 0x11) },
 	{ USB_DEVICE(USB_VENDOR_ID_WACOM, 0x12) },
+	{ USB_DEVICE(USB_VENDOR_ID_WACOM, 0x13) },
 	{ USB_DEVICE(USB_VENDOR_ID_WACOM, 0x20) },
 	{ USB_DEVICE(USB_VENDOR_ID_WACOM, 0x21) },
 	{ USB_DEVICE(USB_VENDOR_ID_WACOM, 0x22) },

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

end of thread, other threads:[~2004-01-27  0:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-24  0:44 [patch] Graphire3 support Panagiotis Issaris
2004-01-24  8:29 ` Vojtech Pavlik
2004-01-24 12:15   ` Panagiotis Issaris
2004-01-24 12:39     ` Vojtech Pavlik
2004-01-27  0:44 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox