Page MenuHomeSolus

Huion Graphics Tablets Don't Work
Closed, ResolvedPublic

Description

https://solus-project.com/forums/viewtopic.php?f=18&t=1660

I use a Huion H420 tablet (256c:006e) and cannot get input to work on it. lsusb shows the tablet (unlabeled), and dmesg reports it being plugged in. Xorg.0.log doesn't report any connection events related to the tablet.

I installed evdev without any success.

In that thread, I also mentioned that another user also experienced something similar from Ubuntu 16.04. I know this tablet worked fine from Ubuntu a while back but it's been a while since I've last tried it.

Here's lsusb output for it:

Bus 001 Device 006: ID 256c:006e  
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 HUION
  iProduct                6 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           84
    bNumInterfaces          3
    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     0x0008  1x 8 bytes
        bInterval               4
    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     244
         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     0x0008  1x 8 bytes
        bInterval               4
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      92
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               8
Device Status:     0x0000
  (Bus Powered)

Event Timeline

Espionage724 added a comment.EditedSep 29 2016, 5:05 AM

Hmm, so it looks like the module that supports this tablet is named hid-uclogic.ko, and it doesn't exist in /lib/modules/4.7.5/kernel/drivers/hid on Solus.

Arch's 4.7.5 kernel has the module: https://www.archlinux.org/packages/core/x86_64/linux/files and the .c file exists here: https://github.com/torvalds/linux/blob/master/drivers/hid/hid-uclogic.c

Would it be possible for this module to be included in Solus?

Edit: The tablet seems to work fine in Ubuntu 16.04; seems that they just didn't include the kernel module in an update but fixed it with the next.

Any word about this? My H420 tablet still doesn't work on Solus 1.2.1 (at least from the live environment).

Arch Linux's 4.8.2 kernel also still includes the module and support.

ikey changed the task status from Open to In Progress.EditedOct 19 2016, 2:46 PM
ikey claimed this task.
ikey triaged this task as Normal priority.
ikey added a subscriber: ikey.
# CONFIG_HID_UCLOGIC is not set

I'll fix this in the next kernel update

Looks like it didn't make it for 4.8.3 :/

4.8.3 was an emergency update @Espionage724 - it treated a very very serious CVE. Truth be told this completely slipped my mind, sorry. I'm still happy to put out another kernel build, regardless of versions :)

Landed in unstable as of https://git.solus-project.com/packages/kernel/commit/?id=40fe3b6421cec3fc75746b7312e18f2d33635979

Please validate when we've synced to stable (reboot after the upgrade) so we can get this tasked closed :)

Hmm, so I got the update, the kernel module exists now, but my tablet still doesn't seem to work (pen doesn't cause any clicks or cursor movement). Here's Xorg.0.log's output: http://pastebin.com/E0KSJed5

Nevermind; looks like xorg-driver-input-evdev was needed for it to work along with the kernel module. Pen movement and clicks works fine now!

DataDrake closed this task as Resolved.Oct 22 2016, 12:47 AM
DataDrake added a subscriber: DataDrake.

@Espionage724 Glad to hear it!