Tuesday, March 10, 2015

How to install Huion graphic tablets on Linux


The graphic tablet market is basically dominated by Wacom, which makes very good tablets, but at a high price.

Enter Huion, a chinese company that manufactures cheap graphic tablets that are a good alternative to Wacom, especially for people who never used a graphic tablet before, or for those on a tight budget.

These graphic tablets all work on Windows and Mac OSX with the provided drivers (or -better- by downloading the latest version from Huion's website).

Linux users have to work a little in order to see their Huion tablet work under their beloved operating system. So here is a little how-to to solve this issue.

First of all, most Huion tablets are natively supported via kernel, starting from kernel version 3.17, therefore if you are using a kernel >=3.17, you shouldn't have any problem.

If you are using a kernel <3.17 you are going to need to follow these simple steps (instructions are valid for debian-based distros, like Ubuntu and its derivates):

1. Go to project DIGImend on GitHub;
2. Download the latest release of digimend-kernel-drivers
3. unzip/untar the downloaded package in a new directory (for example: ~/digimend )
4. open a terminal
5. make sure you have the appropriate linux-headers installed
sudo apt-get install linux-headers-`uname -r`
6. move to the directory where you have unzipped/untarred the drivers package:
cd ~/digimend
7. in the terminal give the command:
make
8. when it finishes give the command:
sudo make install

Ignore any "Can't read private key" messages that might show up. This won't be a problem unless you set up kernel module signature verification. But most people won't so, don't worry.

Now you can plug your Huion graphic tablet and enjoy using it under Linux.


Don't have a graphic tablet yet? Buy one now! 


24 comments:

  1. when i put in cd ~/digimend it says no directory such found. why does this keep happening?

    ReplyDelete
    Replies
    1. Have you uncompressed the downloaded package into that directory?

      1) mkdir ~/digimend
      2) cd ~/digimend
      3) wget https://github.com/DIGImend/digimend-kernel-drivers/releases/download/v6/digimend-kernel-drivers-6.tar.gz
      4) tar xvzf digimend-kernel-drivers-6.tar.gz

      Delete
    2. ok i did that successfully. but when i do the make command, it wont work.

      Delete
    3. sudo apt-get install build-essential

      Delete
    4. thank you very much for your help.

      Delete
    5. After the build essential, what do you do next because I'm stuck and I really want to use this new Huion tablet for my birthday

      Delete
  2. I folled all the advice given, including the tips for owen. B, but when i type make nothing happens

    ReplyDelete
    Replies
    1. The code is instanly timing out and connecting but doing nothing (im the same person as the unkown person before)

      Delete
    2. I have followed all of these steps but i still need an application to open the "zip archive" file, and nothing is working

      Delete
  3. I re opended the code, and followed the steps, meaning that it allowed me to type cd ~/digimend, yet is still says no targets when i try to say "make"

    ReplyDelete
    Replies
    1. I'm sorry but I am not able to replicate your issue.
      What distro/version are you trying to install the drivers on?

      Delete
  4. Im trying to install this on a rasberry pi

    ReplyDelete
  5. And now how do I use my Huion tablet

    ReplyDelete
  6. Hi.
    My daughter has the 156HD v2. It works out of the box for drawing but the zoom and buttons do not work. Any ideas on how to install drivers or map tablet buttons?

    ReplyDelete
  7. Hi,
    I opened the digimend directory but when I run 'make' I get the following :

    make -C /lib/modules/4.19.66-v7+/build SUBDIRS=/home/pi/Downloads/digimend-kernel-drivers-master modules
    make[1]: *** /lib/modules/4.19.66-v7+/build: No such file or directory. Stop.
    make: *** [Makefile:22: modules] Error 2

    I have already run update and upgrade and I'm running the latest version of Raspbian. Any suggestions to get my H610P working.

    ReplyDelete
    Replies
    1. Are you sure you have the linux kernel headers installed?

      sudo apt-get install -y "linux-headers-$(uname -r)"

      Delete
  8. When I try installing the headers I get the following :

    pi@raspberrypi:~/Downloads/digimend-kernel-drivers-master $ sudo apt-get install -y "linux-headers-$(uname -r)"
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package linux-headers-4.19.66-v7
    E: Couldn't find any package by glob 'linux-headers-4.19.66-v7'
    E: Couldn't find any package by regex 'linux-headers-4.19.66-v7'

    ReplyDelete
    Replies
    1. Are you 100% positive you gave
      sudo apt-get update
      before?

      Delete
    2. Hi did you get your tablet running on the pi? I'm trying to get a Huion 1060plus running on my pi, and seem to be having the same problems that you experienced. Is it a lost cause or can you point me in the right direction?

      TIA

      Delete
  9. Thanks for your help Sciamano.

    Just found out that installing headers for RPi needs the following :

    sudo apt-get install raspberrypi-kernel-headers

    Now need to reboot and check it has worked.

    ReplyDelete
    Replies
    1. I have not used any Raspberry Pi for a long time, and I did not know about this special command it needed. Glad you worked it out.

      Delete
  10. It worked. Now have a working H610P with pressure sensitivity, just need to figure out how to setup the buttons.

    ReplyDelete
    Replies
    1. That's great. I'm glad you were finally successful. Enjoy your Huion tablet!

      Delete