Hi, everybody,

I got my hands on a new Intuos graphic tablet (a Wacom Intuos S 2),
wich will be supported by the upcomming 4.4 kernel (commit
eda01dab53b1126a20da98b5d691f3e55d79f21d). For testing, I compiled and
installed 4.4-rc7, with CONFIG_HID_WACOM set. However, connecting the
the tablet left me with a broken/hanging X-Server.

Since the problem didn't appear to be rooted in the kernel, I suspected
that the userspace driver (xf86-input-wacom, version 0.32) simply lacked
support for the new device. I had a look at the sources (commit
d9119a8c412926b97fac364d32e2bade47d2c295), found the WacomModelDesc
table (wcmUSB.c:177) and convinced myself that the entries for the new
devices were, in fact, missing. This wasn't particularly surprising.

When looking for uses of the table, I encountered the function
usbWcmInit(), which, at one point, iterates over all the entries,
looking for an entry with a matching vendor- and model-id. Apparently,
the case that the table doesn't contain a matching entry was not
considered, causing the crashes/hangs I encountered.

Completely ignorant of the overal structure, I wrote a patch (which I
will submit) making the function bail out if no matching entry was
found. This at least leaves me with a working X-Server after plugging
in the new, unsupported hardware. I suspect that there might be a better
way. If so, you're welcome to enlighten me.

Now, I'd like to know whether anybody is working on the missing bits
for the new Intuos devices and, if so, he/she could share (preliminary)
patches for testing.

Regards,
Julian Ganz

------------------------------------------------------------------------------
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to