Digital drawing tablet Huion - proper drivers install
#1
Hi,
I've been on summer holidays and meanwhile i received my Huion Digital drawing tablet.
On Ubuntu 16.04 it is detected and ready to run in no more than 2-3 minutes.
I tried to install given DEB package from Digimend on Pine64 ( Digimend GitHub ) and also to make manual install from source with SU rights. For this procedure it is needed kernel version 6 and upper as I could understand from their description how to install drivers
In both ways drivers looks like are installed properly (no error reported) but device is still not detected.

When I try to list if device it gives only ID with numbers of it:

Here is list of lsusb -v and what I get for this device:
Bus 003 Device 002: ID 256c:006e  
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x256c 
  idProduct          0x006e 
  bcdDevice            0.00
  iManufacturer           5 
  iProduct                6 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           59
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     177
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               2
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     161
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               2

Looks like something I am missing so if anyone can help making proper installation , good.

My plans is to complete circle and to make Pine64 drawing machine for my daughter using GIMP and TuxPaint as basic drawing programs and Huion tablet for drawing device.

Waiting for your help.
Regards,
  Reply
#2
The github page you link says "Kernel v3.5 or newer is required. Kernel headers or the build tree for the running kernel are required." We have all this in place with the Ubuntu or Debian images (Kernel 3.10.102+ and headers). So if you follow the manual build instructions to get a package for arm64, where does it fail?
Come have a chat in the Pine IRC channel >>
  Reply
#3
[attachment=394 Wrote:xalius pid='17069' dateline='1470049833']The github page you link says "Kernel v3.5 or newer is required. Kernel headers or the build tree for the running kernel are required." We have all this in place with the Ubuntu or Debian images (Kernel 3.10.102+ and headers). So if you follow the manual build instructions to get a package for arm64, where does it fail?

It fails at place where it is not working at all. it is not detected by GIMP or system as working input device. It says that it is there, but without any additional info just numbers in lsusb output (Bus 003 on first listing on attached picture).

I can remove installed drivers and re-install them, and if there is option to make log of whole installing procedure to a txt file, I can make it and put it here and see together where the situation is stuck.

Regards,


Attached Files Thumbnail(s)
   
  Reply
#4
you say you managed to build/install the driver module, can you paste the output of 'dmesg' and 'lsmod' before and after you insert the driver module?
Come have a chat in the Pine IRC channel >>
  Reply
#5
Looks like tablet is recognised but why  it is not detected by GIMP and Inkscape I do not know.

Attached are outputs of dmesg before and after driver installation.

Where is the catch ?


Attached Files
.txt   w_o_driv.txt (Size: 40.58 KB / Downloads: 544)
.txt   w_driver.txt (Size: 41.87 KB / Downloads: 501)
  Reply
#6
Bump.
Anyone ?
  Reply
#7
What does lsmod show you ?

... do you see the drivers in lsmod loaded ?

Do you see the devices in /dev/ ?

You probably have to configure GIMP to use the device/ I don't have the device so I can't test it... if the device is in /dev you should be able to point GIMP at the device, methinks
marcushh777    Cool

please join us for a chat @  irc.pine64.xyz:6667   or ssl  irc.pine64.xyz:6697

( I regret that I am not able to respond to personal messages;  let's meet on irc! )
  Reply
#8
Did you try and follow http://digimend.github.io/support/howto/apps/gimp/ ?

Also before you setup the applications, it seems you might have to configure Xorg:

http://digimend.github.io/support/howto/drivers/evdev/

Can you post your Xorg logfile from /var/log/Xorg.0.log ?
Come have a chat in the Pine IRC channel >>
  Reply
#9
Here is Log file from Xorg.
Looks like module is somehow unloaded as I can see from last lines.


Attached Files
.log   Xorg.0.log (Size: 20.92 KB / Downloads: 517)
  Reply
#10
Yeah it looks like X configures the device just fine but since there is no configuration (see above links) it thinks that you dont use those and unloads the device again. I guess you have to add proper X configuration now.
Come have a chat in the Pine IRC channel >>
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How install Qbittorrent on Debian? Callisto 5 9,957 03-17-2018, 10:31 PM
Last Post: Callisto
  libssl-dev eon't install williamcolls 2 5,478 11-01-2017, 10:20 PM
Last Post: dkryder
Exclamation How to install JavaFX tommypine 3 7,021 01-09-2017, 03:21 AM
Last Post: dkryder
  install shashlik bilylilyli 1 3,949 11-20-2016, 06:59 PM
Last Post: Ghelorn
  Install 32bit java Trond 7 11,062 11-03-2016, 10:07 AM
Last Post: Trond
  Cannot install Dstat on Debian Base PineA64 image ywoody 6 8,541 07-11-2016, 07:15 PM
Last Post: dkryder
  Debian Video Performance/"Driver" Install Fawks 8 12,458 06-15-2016, 07:55 AM
Last Post: Luke
  How to install modules into system? MicroDiery 6 8,519 05-27-2016, 06:44 PM
Last Post: JamesHarris
  debian fresh install 5/14 mkyb14 3 5,533 05-17-2016, 10:52 AM
Last Post: mkyb14

Forum Jump:


Users browsing this thread: 1 Guest(s)