Linux 2.6+ driver for the Hanvon USB Artmaster I, Rollick, Nilox Art Painter
Pro and Easy Sketch tablets. Initially tested with kernel version 2.6.38. Also
works with older kernels (2.6.32) with a small source code modification.
Hanvon Driver Download
Supported devices: AM3M, AM0806, AM0605, AM1107, AM1209, RL0604, RL0504, GP0906, GP0806, GP0605, GP0605+, GP0504, NXS1513, APPIV0906
-
hanvon-20150601.tgz stable version (kernel 3.5 or newer) Improved handling of gp0504 by Robin Desorme
Hanvon8 Driver Download
Supported devices: NXS1310 (Nilox Easy Sketch)
Compilation
Output of a successfull compilation should look like this:
make -C /lib/modules/2.6.32-5-xen-amd64/build M=/home/ond/mysrc/hanvon modules make[1]: Entering directory `/usr/src/linux-headers-2.6.32-5-xen-amd64' CC [M] /home/ond/mysrc/hanvon/hanvon.o Building modules, stage 2. MODPOST 1 modules CC /home/ond/mysrc/hanvon/hanvon.mod.o LD [M] /home/ond/mysrc/hanvon/hanvon.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-5-xen-amd64'
Aspect Ratio
In order to adjust the aspect ratio of the device, set the coordinate transformation matrix via xinput accordingly. You may need to compute the y-factor yourself. In order to achieve 16:9 I use the following command with my device (y-factor 1.3):
xinput --set-prop "Hanvon Artmaster I tablet" "Coordinate Transformation Matrix" 1 0 0 0 1.3 0 0 0 1
Portrait Mode
In order to change orientation of the device from landscape to portrait mode, you need to adjust the coordinate transformation matrix and inverse one axis. (You may need to recalculate proper x and y coefficients to match actual screen size.)
xinput --set-prop "Hanvon Artmaster I tablet" "Coordinate Transformation Matrix" 0 1 0 1 0 0 0 0 1 xinput --set-prop "Hanvon Artmaster I tablet" "Evdev Axis Inversion" 0 1
Wayland Support
There’s no Wayland support. Thanks Nicolas B. for pointing this out. The only workaround is to disable Wayland
vi /etc/gdm/custom.conf # GDM configuration storage [daemon] # Uncoment the line below to force the login screen to use Xorg WaylandEnable=false
Suggestions and feedback welcome, ɯoɔ˙ןıɐɯb@ןǝʌɐɥ˙ɐɹpuo