I'm thinking of gifting a drawing tablet to a person who uses Ubuntu. I had my eyes on the Huion Kamvas Pro 13 and I would like to know if it is supported before making a terrible mistake. However, I couldn't find any clear information online and the related questions here on AskUbuntu are quite outdated.
I plugged my kamvas 13 pro in a fresh Ubuntu 20.04 LTS and it works :
- full-hd screen recognized
- stylus working well as mouse
- stylus pressure working in blender !!
- multi-monitor setup (except for the stylus, see below)
What does not work out-of-the-box :
- tablet buttons and slider
- forcing the stylus area to a single monitor (tablet) ; the stylus moves to the entire desktop
It works with this xinput fix :
xinput set-prop 15 --type=float "Coordinate Transformation Matrix" 0.5 0 0.25 0 0.333333 0.666666 0 0 1
... here is my monitors setup :
- 4K monitor on top
- full-HD kamvas monitor below centered
I can now work on blender with my kamvas pro 13 in a dual-monitor config !!!!
Huion does not offer a Linux driver, but you can go to this website and it offers huion for some linux versions: https://github.com/Huion-Linux.
I was able to get the Huion pro 13 setup and working without using any dkms kernel drivers. I recomend the kamvas-driver python driver from here: https://pypi.org/project/kamvas-driver/.
Settting up the driver was not very difficult, sudo apt update && sudo apt install python3-pip && sudo pip3 install kamvas-driver && sudo ln -s /usr/bin/python3 /usr/bin/python && sudo apt install xserver-xorg-input-evdev
Once those commands are finished run kamvas -c in your home directory to generate a configuration file. then run kamvas start or kamvas stop to respectively start or stop the driver. You can set what your buttons do in the ~/.kamvas_config.yaml file. In your control panel settings set your monitors to mirror, enjoy your new working Huion tablet!
I managed to get my Huion Pro 13 working (including buttons) on ubuntu 20.04 and 20.10 with kamvas-driver python as suggested by Michael (thanks a lot!) . But I had some issue, here is how I solved it if someone is interested:
- I had to change product_id in ~/.kamvas_config.yaml (i used lsusb to get the proper value)
- I had to change default_display in ~/.kamvas_config.yaml (i used xrandr to get the proper value)
- I had to set /usr/bin/python to refer to python3. I used :
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1 sudo update-alternatives --config python
- I added a file /etc/X11/xorg.conf containing:
Section "InputClass" Identifier "evdev tablet catchall" MatchIsTablet "on" MatchDevicePath "/dev/input/event*" Driver "evdev" EndSection