I've written a "driver" for it. It's really a Perl script that uses wacdump to initialize the serial port through which the device is accessible. It then reads values from it and uses X11::GUITest to control the mouse in X11. The script should be a good starting point for writing a real driver.
There's now also a real X driver available here
, but so far the button click actions have not been very intuitive.
If you don't have the X11::GUITest module, you can install it from the CPAN shell:
# perl -e shell -MCPAN
cpan> install X11::GUITest
At every boot you should run the following commands (as root):
# setserial /dev/ttyS0 irq 4 port 0x220 autoconfig
# chmod a+rwx /dev/ttyS0
However, Brad Midgley
notes that he had to use the default port (0x3f8) with setserial.
After that run one of these scripts in X:
: Simple, only left mouse button
- tablet4.pl: Hold for right click
: Same as above, but
-- Fixed a dragging bug
-- Added xset command to power on display after idle power off
-- Added some comments to help with recalibration, if necessary
: Added command line options for rotation and skipping initialization
Note that if you run multiple X servers, you need to restart the script each time you change virtual terminals. You also need to restart the script if you rotate the display with xrandr. Use the -cw and -ccw options (inversion is not supported).