How to setup the HUION 430P drawing tablet on 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.

An entry-level drawing tablet.

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

Just connect the drawing tablet to a USB port on your computer. That’s it. Just to make sure, run the following. If you do not get that, write a comment.

$ 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.

Drawing in GIMP. First line is with the mouse, the second with 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.

Device Status. Here it shows only the Core Pointer (mouse) and no drawing tablet.

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!

Configuring the input devices in GIMP for the Huion 430P drawing tablet.

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.

Device Status showing both the Mouse (Core Pointer) and the Pen (Huion Tablet Pen).

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!

The line on the left was drawn with the mouse. The one on the right, with the pen of the drawing tablet.

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!

Here I tried all the stock Dynamics presets in GIMP (see bottom left). I used black and white, and black to white gradient. Some are really colorful if you use other colors. You can also create your own dynamics!
We switched to the Ink tool. When we draw, we feel like we are using a calligraphy pen.

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

Different types of brushes. The one selected, is a 2B pencil.

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.

Permanent link to this article: https://blog.simos.info/how-to-setup-the-huion-430p-drawing-tablet-on-ubuntu-20-04/

18 comments

Skip to comment form

    • aron on May 23, 2020 at 14:48

    i cant get that ouput in
    xsetwacom –list devices

    1. Hi!

      Can you tell me which Linux distribution you are using?
      Which tablet do you have?

  1. No output on xsetwacom –list devices
    Linux Mint 19.3

    1. Kernel 4.15.0-99-generic

    2. Hi! Which tablet do you have?

      1. 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

      2. 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 contents

        Section "InputClass"
            Identifier "Huion class"
            MatchUSBID "256c:006e"
            MatchDevicePath "/dev/input/event*"
            Driver "wacom"
        EndSection
        

        Restart your session.

        1. On my case this works:
          Section “InputClass”
          Identifier “Huion on wacom”

          MatchIsTablet “on”

          MatchProduct “HUION”
          MatchDevicePath “/dev/input/event*”
          Driver “wacom”
          EndSection

  2. 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.

    1. 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.

    • Mallika on July 8, 2020 at 08:58

    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?

    1. 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.

    • dani1967 on July 22, 2020 at 08:33

    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.

    1. 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.

  3. 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.

    • Em Vega on August 13, 2020 at 02:45

    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

  4. 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).

    • Hpm on September 1, 2020 at 03:29

    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

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: