lkml.org 
[lkml]   [2004]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patches in this message
/
Date
From
SubjectRe: [patch] Graphire3 support
Hi,

Vojtech Pavlik wrote:

>On Sat, Jan 24, 2004 at 01:44:07AM +0100, Panagiotis Issaris wrote:
>
>
>
>>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.
>>
>>
>
>Thanks, applied to my tree. I suppose you'll be able to find it in
>2.6.3.
>
>
Thanks! Unfortunately, there still was a problem regarding the height
and width of the tablet.
This patch fixes it. I've added both a new patch and an incremental one.

With friendly regards,
Takis
diff -u /scratch/src/linux-2.6/drivers/usb/input/wacom.c /scratch/src/linux-2.6/drivers/usb/input/wacom.c
--- /scratch/src/linux-2.6/drivers/usb/input/wacom.c 2004-01-24 00:53:23.000000000 +0100
+++ /scratch/src/linux-2.6/drivers/usb/input/wacom.c 2004-01-24 00:53:23.000000000 +0100
@@ -428,7 +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 Graphire3", 8, 10208, 7424, 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 },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, 10208, 7424, 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) },
\
 
 \ /
  Last update: 2005-03-22 14:00    [from the cache]
©2003-2011 Jasper Spaans