On the digimend tablets web page UC-Logic Tablet TWHA60 v3 is listed as
unsupported. I have this tablet, and I've just managed to get its stylus
working by making a very small change to hid-uclogic.c. With this change,
basic positioning, clicking the tip, and pressure sensitivity all appear to
work correctly (at least in inkscape).
The report descriptor for interface 0 has a different size in this tablet
than previous versions, so the code that substitutes a fixed descriptor,
based on this size, does nothing. To resolve this, I added an extra if() to
check for the new descriptor size, and substituted a slightly different
fixed descriptor. The only changes needed in the fixed descriptor, were to
the logical maximums for X and Y, which should both be 2047, instead of the
previous values of 39999 and 24999.
I have placed the diff between the 3.13.0-53-generic (Ubuntu) version of
the hid-uclogic.c file, and the fixed version, in the attached text file. I
hope that this is the correct place to post this.
|