Support for the Huion Kamvas 19 Pro Styluses
Hi, here is a request to support the Huion Kamvas Pro 19, a display tablet with two stylus and a remote pad for the buttons ( but keep this report about the tablet and its styluses only, I created another issue for the pad here: #35 ).
on Wayland:
Nothing, the device is a brick. I tested on Fedora Live KDE 40.1.14 , and in the System Setting the device was not even listed. Only was listed the built-in tablet of my Lenovo Yoga 370.
Update: I tested with Fedora Workstation 40, and some basic settings (eg. screenmapping) of the tablet can be configured with the help of gsetwacom CLI tool, but styluses couldn't be found so no stylus calibration, pressure curve or button customization. Not usable.
I also tested on Fedora KDE Plasma 40, and on it the tablet was showing in the system settings with basic mapping and buttons customization (but no pressure curve, no calibration). Usable for beginner or hobbyist.
on X11:
The tablet works almost fully out of the box on Debian KDE 12 X11, after setting a X11 rule and a xsetwacom script.
- Mapping
- Stylus tip and Pressure sensitivity
- button 2 on stylus
- Eraser tip
- Tilt
- Touch gestures
- button 3 on both styluses (no feedback)
- button 4 on large stylus is an "Eraser Mode", redudent because the stylus has also an eraser tip.
It's possible to setup the tablet with xsetwacom this way:
Copy somewhere the ID of the device (here 256c:006b
) and the name of the target video output (here HDMI-2
)
$ lsusb
Bus 001 Device 002: ID 256c:006b HUION Huion Tablet_GT1902
$ xrandr
HDMI-2 connected 3840x2160+1920+0 (normal left inverted right x axis y axis) 609mm x 355mm
3840x2160 30.00* 25.00 24.00 29.97 23.98 29.98
2560x1440 59.95
1920x1080 60.00 50.00 59.94 30.00 29.97
1600x900 60.00
1280x720 60.00 50.00 59.94
1024x768 60.00
800x600 60.32
640x480 60.00 59.94
Then edit/add a new X11 rule for a Huion device:
sudo $EDITOR /usr/share/X11/xorg.conf.d/70-huion.conf
and paste:
Section "InputClass"
Identifier "Huion Kamvas Pro 19 Tablet"
MatchIsTablet "on"
Driver "wacom"
MatchUSBID "256c:006b"
MatchDevicePath "/dev/input/event*"
EndSection
Save and Reboot.
After a restart, xsetwacom --list
will show the tablet.
My Xsetwacom script to customise the settings:
huion_Kamvas-Pro-19.sh
Hid-recorder
The Huion appears three times in the list, here is a report of all item on the list:
Huion_kamvas_pro_19_hidrecord_all.txt
The second item on this list reported activities when I used the styluses. So I recorded it, but because it is a lot of data, I recorded a video as well to show what I'm doing while I record the hid:
Huion_kamvas_pro_19_hidrecord_video
And here is the hid-recorder output recorded during this video:
Huion_kamvas_pro_19_hidrecord_video_styluses_gestures.txt
Huion-Switcher
From our last email discussion, @bentiss gave me this info:
The "uclogic-probe" tool can be replaced by a call to "sudo huion-switcher --all --verbose" from https://github.com/whot/huion-switcher/releases/tag/0.5.0. Beware that there is a high chance the device "doesn't work" after using huion-switcher because it might be switched to the raw mode and there is no kernel processing for it ATM (but hid-recorder should show data flowing in in one of the nodes). Still, if huion-switcher doesn't give any errors and reports FIRMWARE_ID and others, then we'd need the same hid-recordings.
I admit I couldn't test that part because the high chance the device "doesn't work"
part was a bit too scary for me: I still have to provide a video review to Huion of this device on start November, and draw a 'Huion themed artwork' with it (part of my deal with Huion to receive this hardware).
But if we need to break/brick it for science, I'm OK to sacrify it later after my part of the contract for Huion will be done.
Wish
Getting a udev-hid-bpf workaround to get the styluses button 3
customisable via xsetwacom (default: a right-click). And if possible, having the same for the button 4
of the thick stylus (default: To be invented, because first time I see a new button on a stylus. Proposal: it can be Shift, Ctrl, or v. Because Shift+drag resize the brush in Krita, Ctrl+click sample foreground color, v + drag trace a line).