avatar
scuti
did not use AI to generate art
https://scuti.neocities.org/

hanvon-linux

Last Updated: 2024 December 08 (2024 Jul 26)

View 5 comment(s).

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.


Comments (5)

Reply to any of the bulleted links to leave a comment.

#5 Tue, December 03, 2024

avatar
scuti @scuti
@mischievoustomato I know another 2010ish game that acts weird with the mouse even with a Linux port. Do you happen to play Devil May Cry?

#4 Tue, December 03, 2024

avatar
Arcana 🎄 @arcana@layer02.net
@scuti Hello

#3 Tue, December 03, 2024

avatar
christmas skibidi tomato :nix: :gnome: @mischievoustomato@mitra.taihou.website

@scuti nice, hello
i play a lot under linux and rarely i come across that doesn't work well, but I have to use a tool to keep my mouse cursor on the center of the screen otherwise fhe camera in that game (dark messiah) goes cuhrayzed

#2 Tue, December 03, 2024

avatar
【理论Full Flavor】τπεory :verifyblack: @theorytoe@ak.kyaruc.moe
@scuti
>ada
rare specimen located

#1 Tue, December 03, 2024

avatar
scuti @scuti
Hi. New account here.

* I don't know what makes a good introduction post.
* I write programs as a hobby. I use C, C++, Lua, Python, or Ada.
* I like to play (older) video games but not out of nostalgia, just that newer games are less likely to work well on Linux.
* I am an infrequent doodler as in having above average illustration skills but not an artist.

Here's my pen tablet driver:

https://scuti.neocities.org/pages/hanvon-linux

If you visited that page, you'd come across this scribble. As that page indicates, I make very simple web pages and put them on #neocities. I also own a set of lockpicks.

#introduction / #introductions, #programming

hanvon-linux

I wrote a userspace driver for a very old pen tablet (Hanvon Graphicpal 0504) and used it to scribble in Krita.

media attached:

  1. image/png