Update 6 Feb 2021: Added instructions to enable the HUION H430P to use the wacom
driver. Verified on Ubuntu 18.04 and Ubuntu 20.04.
If you want to draw on your computer, you can always use your mouse. But if you want to really draw, you can upgrade to a drawing tablet (also known as graphics tablets). Here is one below. It is an entry level drawing tablet, has a pressure-sensitive pen that does not require batteries, and the actual tablet to draw on, looks like an over-sized laptop touchpad. Instead of your fingers, you use the pen to move the pointer on your screen.

In this post we are using the Huion Inspiroy 430P, an entry-level drawing tablet that is supported on Ubuntu. There is mainline support in the Linux kernel for this tablet since 2015, therefore the following should work with Ubuntu 16.04 or newer. They have been tested on Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. It is suggested to use a recent version of Ubuntu as there is drawing tablet support in the system settings.
Setting up the the Huion 430P on Ubuntu 20.04
Connect the drawing tablet to a USB port on your computer. Then, run the following. You should get the following two lines, for the pad and the stylus. If not, continue reading to setup your X server to recognize the Huion 430P.
$ xsetwacom --list devices HUION Huion Tablet Pen stylus id: 15 type: STYLUS HUION Huion Tablet Pad pad id: 16 type: PAD $
The X server has a wacom
driver that can be used for the Huion 430P. In Ubuntu, this driver is loaded by default. But the driver needs help to recognize which USB devices are to be used by the wacom
driver. You provide this help by editing the file /usr/share/X11/xorg.conf.d/70-wacom.conf
and referencing the Huion drawing tablet.
First, reconnect the drawing tablet and run dmesg
to view the most recent kernel messages.
$ dmesg ... [ +3,067195] usb 3-7: new full-speed USB device number 6 using xhci_hcd [ +0,149539] usb 3-7: New USB device found, idVendor=256c, idProduct=006d, bcdDevice= 1.00 [ +0,000003] usb 3-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ +0,000003] usb 3-7: Product: Huion Tablet [ +0,000001] usb 3-7: Manufacturer: HUION [ +0,002723] input: HUION Huion Tablet Pen as /devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.0/0003:256C:006D.0006/input/input32 [ +0,000206] input: HUION Huion Tablet Pad as /devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.0/0003:256C:006D.0006/input/input33 [ +0,000216] uclogic 0003:256C:006D.0006: input,hidraw0: USB HID v1.11 Keypad [HUION Huion Tablet] on usb-0000:00:14.0-7/input0 [ +0,012709] uclogic 0003:256C:006D.0007: No inputs registered, leaving [ +0,000114] uclogic 0003:256C:006D.0007: hidraw1: USB HID v1.11 Device [HUION Huion Tablet] on usb-0000:00:14.0-7/input1
Now we have enough information to write the rule that will match our drawing tablet and load the wacom
X11 driver. Here is the addition to the file /usr/share/X11/xorg.conf.d/70-wacom.conf
The identifier is a free-text description of the device. We match the product name and the USBID. We picked the values from the output of the dmesg
command. In the MatchProduct, we match the product name HUION. This should work with other Huion tablets as well. Then, in MatchUSBID we match the vendor part of the USB ID, so that other Huion tablets should work as well.
# Huion H430P drawing tablet Section "InputClass" Identifier "Huion H430P drawing tablet" MatchProduct "HUION" MatchUSBID "256c:*" MatchDevicePath "/dev/input/event*" Driver "wacom" EndSection
At this point, you need to restart the X server (either logout and log in again) or restart your computer. The X server checks the configuration only when it starts. Once you restart the X server, verify you get the following output.
$ xsetwacom --list devices HUION Huion Tablet Pen stylus id: 15 type: STYLUS HUION Huion Tablet Pad pad id: 16 type: PAD $
Configuring the Huion 430P on Ubuntu 20.04
There are settings in GNOME Shell to configure a drawing tablet. There is no specific configuration for the Huion 430P but there are for other Huion models. It is easy to add support for the 430P and I have some configuration. For now, we accept the default setup. If we want to perform specific configuration, we can always use the xsetwacom
utility.
You can use the drawing tablet as a mouse. The small area of the drawing tablet (4.3″ diagonally) is mapped directly to your full display. That is, unlike a mouse where you can lift it to move the pointer further away, on a tablet instead pointer is mapped directly to the full display. Which means that a small 4.3″ active tablet area might be too dense/sensitive for your FullHD or 4K display. Each application like GIMP, Inkscape and Blender have support to configure input devices like drawing tablets. You can configure in them whether you want to map the active area to the whole screen, or the window’s drawing area.
Configuring GIMP
We have installed GIMP 2.10 (snap package) and we have started drawing with the Brush tool. We use the default settings and switched the Dynamics to Pressure Size. This meas that the pen, which detects the pressure, should draw a line that has a variable size, depending on the pressure. But it does not. The first line has been drawn with the mouse, and the second with the drawing tablet. At this stage, the drawing tablet is just smoother than the mouse. We need to properly configure the drawing tablet.

We have not configured the drawing tablet yet.
In the above screenshot there is a tab called Device Status. It looks like the following. It only shows the Core Pointer and has not information about the drawing tablet. This means that the drawing tablet is not configured. It also means that the drawing tablet will probably work, but only as a mouse. The pressure sensitivity of the stylus will not be taken into account when we draw.

Let’s look into Edit → Input Settings in GIMP to activate the drawing tablet. There are two input devices for the Huion tablet, one for the Pad and one for the Stylus. By default, their Mode was both Disabled. In the following, I switched them to Screen, as shown below. It says the the X axis has no curve, meaning that this drawing tablet has no tilt support. In addition, we have not configured yet any of the buttons on the drawing tablet. Note that both the stylus and the pad have buttons. We just want to draw already!

Let’s see again the Device Status tab in GIMP. There are entries for the Tab and the Pen (Stylus). Ignore for now the Tab settings (in red). We have the Core Pointer (Mouse) and the Pen, both with the exact same drawing settings.

It is time to draw again, with the mouse and then the pen, and compare. The pen is smoother, and evidently the line understands the pressure. The thickness depends on the pressure we exert to the pen!

Drawing with the pen
We are going to draw with the pen using the Paintbrush tool. And we are going to experiment with the Dynamics option of the Paintbrush tool. And here is the most important tip of the day:
When you change the settings of a tool in the GIMP with the mouse, you are changing the mouse settings for this tool. You need to use the pen to change the pen settings!


Another tool is the MyPaint Brush. It has many types of brushes. The following screenshot shows about half of them.

Conclusion
Apart from using the drawing tablet in GIMP, you can also use it in Inkscape and Blender. It is especially useful in Grease Pencil in Blender.
A drawing tablet is a big upgrade to drawing on your Ubuntu desktop.You can start off with a Huion drawing tablet such as the Huion 430P. It is available from Aliexpress at around €20 from the official Huion Store.
The Huion 430P drawing tablet is supported in Linux thanks to the effort of the DIGImend project. They have done an amazing work adding Linux support to various brands to drawing tablets.
If you end up loving your drawing tablet, please consider donating to the maintainer of the DIGImend project, Nikolai Kondrashov, on Patreon, on Liberapay, or just buy him a coffee.
34 comments
Skip to comment form
i cant get that ouput in
xsetwacom –list devices
Author
Hi!
Can you tell me which Linux distribution you are using?
Which tablet do you have?
No output on xsetwacom –list devices
Linux Mint 19.3
Kernel 4.15.0-99-generic
Author
Hi! Which tablet do you have?
huion 430P.
In Ubuntu 20.04 works by default. Plug and play
In Linux Mint 19.2 with 4.x kernel and Mint 19.3 with kernel 5.X dont work. I Installed de .deb driver and dont work
Author
Linux support for the H430P has been added sometime in the Linux 4.15 kernel.
Does Mint reuse the Ubuntu Linux kernel?
To be sure, can you upgrade the Linux kernel/Xorg just like Ubuntu does with the LTS Enablement Stack (https://wiki.ubuntu.com/Kernel/LTSEnablementStack)?
Then, create a file
/etc/X11/xorg.conf.d/50-huion.conf
with contentsRestart your session.
On my case this works:
Section “InputClass”
Identifier “Huion on wacom”
MatchIsTablet “on”
MatchProduct “HUION”
MatchDevicePath “/dev/input/event*”
Driver “wacom”
EndSection
Yes i found this page https://askubuntu.com/questions/500141/huion-h610-tablet i try what says and works.
Its the same that you say on your response.
Thank you very much.
Author
The Matching rules specify the product name, HUION.
Which means that the system should somehow know already about HUION.
But if it works for you, then it’s great.
I suppose you are using the Digimend DKMS drivers.
I believe it should be possible to get the stock kernel to work as well,
since the Digimend maintainer mainlined the H430P work around the Linux 4.15 timeframe.
I use laptop with Atom8350 processor, 4GB RAM and ubuntu 20.04. I connected Huion HS64 tablet to the laptop and nothing happened. the command xsetwacom –list devices does not give any output. I downloaded dgigmend.. driver from github and installed it. Still the PC does not recognize the tablet. Can you help please?
Author
Hi!
Have a look at https://github.com/DIGImend/tablets/pull/25
and the referenced link.
Support for the HS64 has been added to the Digimend kernel driver on June 2019.
Verify that the Digimend kernel package that you installed, is more recent than June 2019.
I do not think that the HS64 has been added yet to the mainline Linux kernel, therefore it will not work out of the box like the H430P does.
With my ubuntu 20.04 the command
xsetwacom –list devices
give no output, but the drawing tablet seems to work, like a mouse. I’ve not find the way to change monitor while working with double monitor.
Author
Do you have a Huion 430P?
xsetwacom
will be able to show your tablet if there is configuration on your system about your specific tablet. In/usr/share/X11/xorg.conf.d/70-wacom.conf
or near there.If you are a digital artist then you would want a larger tablet.
I opted for a XP-PEN Deco Pro graphics tablet and find that size pairs well with my 27″ monitor. I download the Linux / ubuntu driver from official site https://www.xp-pen.com/product/432.html . I used it for each of my software. I work on Blender, GIMP, Inkscape, Krita for the main soft and it’s a real comfort.
Pressure sensitivity will allow you to “draw” different density of colours or alter the thickness of the brush.. like a calligraphy brush. Very useful.
The buttons can be programmed to change brushes, zoom, toggle switches, etc. You can skip the buttons if you are okay with reaching over six inches to the keyboard.
Hi Simos, this was the exact device that arrived today. This tutorial looks super helpful.
Your page invited writing a comment if one had difficulty. In my case, this device has not worked by plug n play. So I have been trying to identify similar issues and resolutions. Please note that I am not 100% fluent in Unix / Terminal. I am very much hoping to make this device work on a 64bit Ubuntu 20.04.1 machine. It is not critical but would be very nice.
/usr/src/digimend-9$ ls
compat.h hid-polostar.c hid-uclogic-rdesc.c usbhid
dkms.conf hid-uclogic-core.c hid-uclogic-rdesc.h
hid-ids.h hid-uclogic-params.c hid-viewsonic.c
hid-kye.c hid-uclogic-params.h Makefile
me@me-OptiPlex-9010:/usr/src/digimend-9$ make && sudo make install
make -C /lib/modules/5.4.0-42-generic/build SUBDIRS=/usr/src/digimend-9 modules
make[1]: Entering directory ‘/usr/src/linux-headers-5.4.0-42-generic’
arch/x86/Makefile:147: CONFIG_X86_X32 enabled but no binutils support
LEX scripts/kconfig/lexer.lex.c
/bin/sh: 1: flex: not found
make[3]: *** [scripts/Makefile.host:9: scripts/kconfig/lexer.lex.c] Error 127
make[2]: *** [Makefile:594: syncconfig] Error 2
make[1]: *** [Makefile:704: include/config/auto.conf.cmd] Error 2
make[1]: Leaving directory ‘/usr/src/linux-headers-5.4.0-42-generic’
make: *** [Makefile:22: modules] Error 2
Is it something like an unwanted space somewhere, as best you can tell?
Hope this finds you well and content. Cheers from Texas
Well, ‘lsusb’ command can see the tablet (mine is a H420) but the ‘xsetwacom’ command give me no output. Searching the web, I’ve found some videos and tutorials showing scripting options and installing some dmks drivers (digimend-kernel-drivers) but didn’t quite worked out (with me).
Hi, apparently the problem @Mosqueteroweb is facing (I also read yor spanish page) is that Huion have also “256c:006d” branded as 430P which in digimend is HS64 see https://github.com/Huion-Linux/DIGImend-kernel-drivers-for-Huion/commit/66605efcffdb00232439a209acf2cd3fda714980
is Huion h420 supported? i have Ubuntu 18.04
Author
Many HUION tablets are supported. Some are already supported with the current Ubuntu Linux kernel and xwacom user-space software. Others, either need to just configure the user-space software, or also add support to the Linux kernel using the DKMS kernel driver from the DigiMEND project.
I believe that the H420 should be supported since it is older than the H430P. When you connect it to your Ubuntu, does it work straight away as a mouse? If so, then there is a bit extra user-space configuration to enable it as a graphics tablet.
In the case of the H430P, I had to update the firmware to make it better supported in Ubuntu. As a side-effect, the updated firmware enabled the graphics tablet to be usable on Android devices as well.
Hi Simos! I bought the tablet you suggested (running Ubuntu 20.04.1) and everything works, more or less. I’m having the issue many others have mentioned, that “xserwacom —list devices” doesn’t illicit a response (despite being listed as a command, when I type in just “xsetwacom”?).
Also, my GIMP seems to run differently from yours in many ways. First off, when I go to the “input devices” menu, it only shows the option that it greyed out in your screenshot, “HUION Huion Tablet pen pen (0)” and not the other two that you’ve used to set up the tablet. I am unable to set up the buttons this way.
Secondly, I have a very limited set of brushes. I found the “MyPaint Brush” tool, but there are no brushes in it.
The pen DOES work, however, and with the pressure sensitivity function. It’s just not setting up the way you’ve described.
Author
Hi Bela!
The one thing I did differently, was I updated the firmware of the tablet to the latest version. Unfortunately, I think is possible to do only from Windows.
One outcome of this firmware update, is that the pen can now be used on an Android device (phone, tablet), as long as the device supports USB On-The-Go (OTG) and you have the appropriate USB adapter.
Not too unfortunate! I’m also running Windows on the same computer. So I’ve installed the firmware updater, but I’ve tried a couple of times and it doesn’t seem like the update is actually going through. The instructions aren’t very clear, so my first thought is that I’m doing something wrong.
So, I open the program, click ‘latest version’ and ‘update’. At which point it tells me to “re-plug the tablet as shown”. I gather that it wants me to hold down the button, unplug and replug the tablet, then let go of the button. So I do, and get a message that says “writing firmware” and once it’s finished, it tells me to “replug the tablet and restart the software”. Which I interpret as replugging the tablet as before, then closing the firmware program and reopening it.
The first time, while I was waiting for it to write firmware, I noticed that it said the current version was ‘18…..’ and the latest version was ‘19…..’. After I restarted the program, it showed the tablet as being ‘18…..’ again. This is where I tried the process twice more, but both times the tablet wouldn’t reconnect.
I’ve also checked in with GIMP in Ubuntu, and I now have the “pen pen” option greyed out, but it’s still the only thing shown for the tablet.
Run on Chrome OS?
Author
It likely does, especially with the firmware update.
Author
There is configuration in 20.04 that enables the 430P to work with the Wacom libraries, thus getting it to work out of the box.
Initially, it did not work out of the box and I happened to update the firmware.
When I next reinstall 20.04.1, I have the full set of tasks to try and verify that it indeed works out of the box and there was no small configuration that I ended up doing, that made the difference.
Hi, I came from the DIGImend Github in the hope you may know how to get Ugee M1000L running on Ubuntu 20.04. lsusb detects:
jeanne@jeanne-Aspire-ES1-571:~$ lsusb
Bus 001 Device 007: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 005: ID 0bda:57b3 Realtek Semiconductor Corp. Acer 640 × 480 laptop camera
Bus 001 Device 004: ID 04ca:2012 Lite-On Technology Corp.
Bus 001 Device 014: ID 5543:0081 UC-Logic Technology Corp.
Bus 001 Device 003: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 001 Device 002: ID 8087:8001 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0480:a00c Toshiba America Inc External USB 3.0
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I downloaded the and extracted it.
then ran:
jeanne @ jeanne-Aspire-ES1-571: ~ $ sudo apt-get install -y “linux-headers – $ (uname -r)”
[sudo] Joe’s password:
Reading Package Lists … Done
Building the dependency tree
Reading status information … Done
linux-headers-5.4.0-54-generic is already the most recent version (5.4.0-54.60).
0 updated, 0 newly installed, 0 to remove, and 11 not updated.
jeanne @ jeanne-Aspire-ES1-571: ~ $ sudo apt-get install -y dkms
Reading Package Lists … Done
Building the dependency tree
Reading status information … Done
dkms is already the most recent version (2.8.1-5ubuntu1).
0 updated, 0 newly installed, 0 to remove, and 11 not updated.
What should I try next?
Thanks for any advice.
Author
The Ugee M1000L is different from the Huion.
First, locate the tabet at https://digimend.github.io/tablets/ There is a
Ugee 1000L
which is likely similar to the one you have. The page says that thedigimend-kernel-drivers
should be version 6 or newer (https://digimend.github.io/tablets/Ugee_1000L/). The Huion 430P from this post requires version 8 or newer.Therefore, the issue that you are facing is hopefully an issue that the
wacom
driver in Ubuntu simply does not know the USB ID of your tablet, therefore it does not attempt to use it.I updated this post. Have a look on how to add a section for your tablet in the
wacom
driver configuration file.Author
Check my update in this post. I tried again to setup the tablet on a pristine Ubuntu 20.04 and noticed that it is missing the configuration file for the Huion. Follow this post to add the configuration.
On my ubuntu 20.04 LTS everything worked fine, except for the pen pressure on GIMP.
Even after confguring like the tutorial, the program just acts like the mouse, with no pressure.
Other programs like Krita works the pressure
Any idea how can I make it work in GIMP?
Thanks
Hi! i’m using an Inspirov 640p and gimp. It looks like i’ve got everything to work- however, i can’t seem to get my tablet to register that i’m applying pressure. advice?
Hi Mr.Xenitellis,
followed your guide and everything works fine.
Dell Latitude 7490, Ubuntu 20, programm Xournal and XP-Pen V02.
Thank you very much.
Cheers
Thank you for your excellent page. I have Ubuntu 22.04 and a Huion H580X tablet and I can’t get the stylus to work in either Krita or GIMP. It works with both plugged into a Windows machine so I’m confident this isn’t the hardware. dmesg shows this:
[173193.353479] input: HUION 256C PEN STYLUS as /devices/virtual/misc/uhid/0003:256C:FFFF.0042/input/input101
[173193.353600] hid-generic 0003:256C:FFFF.0042: input,hidraw1: USB HID v0.00 Device [HUION 256C PEN STYLUS] on
[173193.613957] input: HUION 256C PEN STYLUS as /devices/virtual/misc/uhid/0003:256C:FFFF.0043/input/input102
[173193.614091] hid-generic 0003:256C:FFFF.0043: input,hidraw1: USB HID v0.00 Device [HUION 256C PEN STYLUS] on
[173584.781103] usb 1-2: new full-speed USB device number 12 using xhci_hcd
[173584.968626] usb 1-2: New USB device found, idVendor=256c, idProduct=0064, bcdDevice= 1.12
[173584.968631] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[173584.968633] usb 1-2: Product: Huion Tablet_H580X
[173584.968635] usb 1-2: Manufacturer: HUION
[173584.968636] usb 1-2: SerialNumber: 20210221
[173584.989886] hid-generic 0003:256C:0064.0044: hiddev0,hidraw2: USB HID v1.10 Device [HUION Huion Tablet_H580X] on usb-0000:06:00.3-2/input0
[173585.000728] input: HUION Huion Tablet_H580X as /devices/pci0000:00/0000:00:08.1/0000:06:00.3/usb1/1-2/1-2:1.1/0003:256C:0064.0045/input/input103
[173585.057424] hid-generic 0003:256C:0064.0045: input,hidraw3: USB HID v1.10 Device [HUION Huion Tablet_H580X] on usb-0000:06:00.3-2/input1
[173585.063804] input: HUION Huion Tablet_H580X as /devices/pci0000:00/0000:00:08.1/0000:06:00.3/usb1/1-2/1-2:1.2/0003:256C:0064.0046/input/input104
[173585.121326] hid-generic 0003:256C:0064.0046: input,hidraw9: USB HID v1.10 Keyboard [HUION Huion Tablet_H580X] on usb-0000:06:00.3-2/input2
[173593.889491] input: HUION 256C PEN STYLUS as /devices/virtual/misc/uhid/0003:256C:FFFF.0047/input/input105
[173593.890405] hid-generic 0003:256C:FFFF.0047: input,hidraw1: USB HID v0.00 Device [HUION 256C PEN STYLUS] on
[173594.197523] input: HUION 256C PEN STYLUS as /devices/virtual/misc/uhid/0003:256C:FFFF.0048/input/input106
[173594.197679] hid-generic 0003:256C:FFFF.0048: input,hidraw1: USB HID v0.00 Device [HUION 256C PEN STYLUS] on
And I have set the following in /usr/share/X11/xorg.conf.d/70-wacom.conf
Section “InputClass”
Identifier “Huion H580X drawing tablet”
MatchProduct “HUION”
MatchUSBID “256c:”
MatchDevicePath “/dev/input/event”
Driver “wacom”
EndSection
And I get this from xsetwacom:
root@Clevo1:/home/chris# xsetwacom –list devices
HUION Huion Tablet_H580X stylus id: 20 type: STYLUS
HUION Huion Tablet_H580X eraser id: 26 type: ERASER
HUION 256C PEN STYLUS stylus id: 9 type: STYLUS
Any advice would be very gratefully received! Very best for 2023! Chris
Does their any ubuntu driver for other huion tablets like H640p, I want to buy a huion tablet ( https://pctechtest.com/best-huion-drawing-tablets ) to work with krita on my ubuntu laptop. But I’m worried about driver issues.