hanvon-linux
Last Updated: 2024 September 17 (2024 Jul 26)
A userspace driver for old Hanvon pen tablets.
If you build it, run
sudo hvlusb
(The driver can’t control the cursor without
sudo
.)
Story
During the pandemic, I had gotten the idea to draw something. I had an old pen tablet laying around that I haven’t been using.
When I first got the tablet, it came with a disc which installs the driver. I didn’t have Windows installed anymore, so I passed the tablet onto my friend to see if he could figure something out. He then said the driver doesn’t work on Windows 8 either.
The device is sending packets however.
When I mentioned writing a driver for my old tablet, the same friend looked at me and said,
“Just buy a new tablet.”
The device sends 10 bytes. Considering the limited things a pen tablet does (basically a mouse), which bytes did what were obvious. I also had the original linux kernel module to base the userspace driver from. (I tried compiling and using the kernel module; for unknown reasons, it doesn’t work either.)
After a while of getting used to libusb, the driver worked on my laptop which had Devuan installed at the time.
Graphicpal 0504, my old pen tablet
This thing probably isn’t on the market anymore. I had gotten this pen tablet from Frys Electronics which no longer exists.
Even though the pen tablet is made in China, it is quite durable. A bad habit I have with electronic devices is shifting them on the table such that the rubber feet on the bottoms slide off. For however many years, the feet never wore off. There is also a crack on my tablet which was no effect on the drawing space.
The least durable part is the right-click button on the pen. Mine has fallen off and is kept in place with sometimes tape or sometimes a tiny rubber band. Either the nibs don’t seem to leave scratches or marks on the drawing area, or I don’t draw enough for that to happen.
Drawing
Finally, here is a doodle I made in Krita with the tablet just for this blog post.
Thanks for reading. Members of the species homo sapiens may wiggle their phalanges to leave a comment on my guestbook via e-mail or neocities. Salesmen of “limited time offers” need not respond.