On Tue, 25 Aug 2026, Nina Kalinina wrote:
Date: Tue, 25 Aug 2026 10:22:16 +0000
From: Nina Kalinina <[email protected]>
To: adr <[email protected]>
Cc: [email protected]
Subject: Re: Graphic tablets on NetBSD
Thanks for the reply. This is actually very helpful context. I'm currently
hacking around the xf86-input-usbtablet driver with my Aiptek tablet, because
it's supported by the usbhid driver, but it is just not a good tablet. I wonder
if you have any code left from your work on usbhid related to Huion that I
could use as a reference?
Do you have access to a linux computer? Could you install uclogic-tools and use
uclogic-probe $bus $dev | uclogic-decode
with a huion tablet attached? Use just the one you are more interested
in for now. The output shold be someting like this (this comes from notes,
the actual output could have changed):
| Manufacturer: HUION
| Product: Huion Tablet
64 | Params block #1:
???????????????????????????????????????????????????????????????????????????????????????????????????
| Max X: 8192
| Max Y: 357
| Max pressure: 2301
| Resolution: 2048
|
79 | Internal model:
???????????????????????????????????????????????????????????????????????????????????????????????????
7b | Buttons status:
???????????????????????????????????????????????????????????????????????????????????????????????????
c8 | Params block #2: ??;?????
| Max X: 24384
| Max Y: 15240
| Max pressure: 8191
| Resolution: 5080
|
c9 | Firmware version: HUION_T176_190314
ca | Internal manufacturer: HUION Animation Technology Co.,ltd
And get the hid report descriptor (after you are sured that the tablet is
working ok, pressure, &c, the driver modifies the report descriptor)
You can use hid-decode from hid-tools to parse the report descriptor.
In case you are not familiar with this:
https://www.kernel.org/doc/html/v7.1/hid/hidintro.html
I could blow the dust and try to add your device when I have time.
xf86-input-usbtablet can be used to test things, but wscons is the
way to go, really.
Regards,
adr