Projects   Hardware   About   Gallery

Hanvon Tablet Linux Driver

logo Linux 2.6 driver for the Hanvon USB Artmaster I and Rollick tablets. Initially tested with kernel version 2.6.38. Also works with older kernels (2.6.32) with a small source modification.


Download v0.4 with RL0604 support: hanvon-20111113.tgz
Download latest stable (with extra buttons support for AM1107 and AM1209): hanvon-20111102.tgz


With older kernels (like 2.6.32) you will probably see following errors:

hanvon.c:140: error: implicit declaration of function ‘usb_alloc_coherent’
hanvon.c:140: warning: cast to pointer from integer of different size
hanvon.c:197: error: implicit declaration of function ‘usb_free_coherent’

Open the hanvon.c file and substitute usb_alloc_coherent with usb_buffer_alloc and usb_free_coherent with usb_buffer_free. The driver should compile and work then normally.

Output of 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'


Hanvon tablet driver

Driver for Linux kernels which supports complete functionality of the tablet:
pen coordinates, touch/float/click detection, pressure, x and y tilt, pen
button. On Artmaster I four simple tablet buttons (note that the first
one works only together with pen activity), and the slider button.

Supported hardware

Artmaster I: AM0806, AM1107, AM1209
Rollick: RL0604


Type 'make' to compile the module. New file hanvon.ko will be produced in
current directory. Load the module with root permissions

insmod ./hanvon.ko

If everything goes right the tablet should start working immediately.


After insmod, check with dmesg, if the module was loaded properly.  
"USB Hanvon tablet driver" should appear in the listing.

lsmod should also contain hanvon in its listing: lsmod | grep hanvon

Revision history

0.0.1 - initial release
  0.2 - corrected pressure detection, working slider button
  0.3 - remaining buttons also working, added x and y tilting
 0.3b - patch for AM1209 from Markus Zucker applied
 0.3c - patch for AM1107 from Daniel Koch applied
 0.3d - support for right side buttons of AM1107 and AM1209
  0.4 - code cleanup, RL0604 patch from Daniel Clemmer

Suggestions and feedback welcome, ɯoɔ˙ןıɐɯb@ןǝʌɐɥ˙ɐɹpuo

Dairy Notes

2011/22/09 22:05:34 +0200 thu
hanvon artmaster linux driver 0.3b was just released here

2006/04/17-20:58:04 mon
Directory listing of http daemon at is broken, some links will not work properly.

2006/04/15-15:01:57 mon
I've added OAT, the Perl JCOP card emulator frontend.

2005/06/13-10:21:46 mon
Klapache reprise in version 1.2. It's now able to run OOPP based pages. Enjoy here at project page.

Wow, I managed to upgrade these pages from HTML 4.01 Transitional to Strict. Old table design was removed and all is now driven by CSS. Everything is now fully integrated into CVS.

First OOPP based web portal was just made public. Making it close to be HTML and CSS pure was quite hard work. What a satisfaction!

New version of Le grand blond available. Channel autorejoining and server autoreconnecting features were added.

Le grand blond project was derived from Calamity branch of PPhone and is now available. It's simple Perl script for autoopping at IRC channel.

Ole! reprised. New version got rid of PHP and uses Perl now for static presentations (i.e. no web server required for browsing). Check out more at project page.

Finally, after one year and 15 days I got to rewriting these pages. None of my projects changed much, only pphone project was much improved as multiple dramatic bugs were discovered. Just now I have some work with OOPP development which I believe will be finished during this weekend.

Random funny pick

Sold out.