Wacom XD serial tablets patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If anybody have problems with an serial Wacom tablet model XD you might
want this patch. It works for me.

I have notified the wacom driver maintainer, so hopefully this will get
included into the next xfree release.

Best regards
-Rene


--- xf86wacom.26.c      2002-10-10 02:38:51.000000000 +0200
+++ xf86wacom.26patched.c       2002-10-10 03:07:01.000000000 +0200
@@ -1996,8 +1996,9 @@
                if ((ds->device_id & 0xf06) != 0x802)
                  ds->discard_first = 1;

+               DBG(10,ErrorF("(ds->device_id) &
0x07ff)=0x%x\n",ds->device_id &0x07ff));
                if (PEN(ds) || STROKING_PEN(ds) || INKING_PEN(ds) ||
AIRBRUSH(ds))
-                   ds->device_type = STYLUS_ID;
+                       ds->device_type = STYLUS_ID;
                else if (MOUSE_4D(ds) || LENS_CURSOR(ds))
                    ds->device_type = CURSOR_ID;
                else
@@ -2725,7 +2726,7 @@
     /* Extract version numbers */
     sscanf(buffer+loop+1, "%f", &version);

-    if (buffer[2] == 'G' && buffer[3] == 'D') {
+    if ((buffer[2] == 'G'||buffer[2]=='X') && buffer[3] == 'D') {
        DBG(2, ErrorF("detected an Intuos model\n"));
        common->wcmProtocolLevel = 5;
        common->wcmMaxZ = 1023;         /* max Z value */






[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux