PINE64
Digital drawing tablet Huion - proper drivers install - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Linux on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=6)
+---- Forum: Debian (https://forum.pine64.org/forumdisplay.php?fid=24)
+---- Thread: Digital drawing tablet Huion - proper drivers install (/showthread.php?tid=1907)

Pages: 1 2 3


Digital drawing tablet Huion - proper drivers install - janeku - 08-01-2016

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,


RE: Digital drawing tablet Huion - proper drivers install - xalius - 08-01-2016

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?


RE: Digital drawing tablet Huion - proper drivers install - janeku - 08-01-2016

[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,


RE: Digital drawing tablet Huion - proper drivers install - xalius - 08-01-2016

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?


RE: Digital drawing tablet Huion - proper drivers install - janeku - 08-01-2016

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 ?


RE: Digital drawing tablet Huion - proper drivers install - janeku - 08-02-2016

Bump.
Anyone ?


RE: Digital drawing tablet Huion - proper drivers install - MarkHaysHarris777 - 08-02-2016

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


RE: Digital drawing tablet Huion - proper drivers install - xalius - 08-02-2016

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 ?


RE: Digital drawing tablet Huion - proper drivers install - janeku - 08-02-2016

Here is Log file from Xorg.
Looks like module is somehow unloaded as I can see from last lines.


RE: Digital drawing tablet Huion - proper drivers install - xalius - 08-02-2016

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.