DIGImend / digimend-kernel-drivers

DIGImend graphics tablet drivers for the Linux kernel
GNU General Public License v2.0
1.17k stars 173 forks source link

Huion 420 doesn't work on Fedora 37 #656

Closed onegentig closed 1 year ago

onegentig commented 1 year ago

Huion 420 tablet isn't working on Fedora 37. I tried installing dkms using DNF, then I built from source, but nothing helped. It seems to get recognised and the tablet's LED lights up like it works, but the cursor doesn't move at all no matter what app I try.

I have X11 windowing system (not Wayland) and use GNOME 43.3.

xinput:

⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ GXT131 Gaming Mouse                       id=10   [slave  pointer  (2)]
⎜   ↳ GXT131 Gaming Mouse Consumer Control      id=11   [slave  pointer  (2)]
⎜   ↳ Micro-Star INT'L CO., LTD. MSI GK71 Sonic Gaming Keyboard Mouse   id=16   [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Power Button                              id=7    [slave  keyboard (3)]
    ↳ Sleep Button                              id=8    [slave  keyboard (3)]
    ↳ GXT131 Gaming Mouse                       id=9    [slave  keyboard (3)]
    ↳ GXT131 Gaming Mouse System Control        id=12   [slave  keyboard (3)]
    ↳ Micro-Star INT'L CO., LTD. MSI GK71 Sonic Gaming Keyboard id=13   [slave  keyboard (3)]
    ↳ Micro-Star INT'L CO., LTD. MSI GK71 Sonic Gaming Keyboard System Control  id=14   [slave  keyboard (3)]
    ↳ Micro-Star INT'L CO., LTD. MSI GK71 Sonic Gaming Keyboard Consumer Control    id=15   [slave  keyboard (3)]
    ↳ Micro-Star INT'L CO., LTD. MSI GK71 Sonic Gaming Keyboard id=17   [slave  keyboard (3)]
    ↳ C-Media Electronics Inc. GXT 258 Microphone   id=18   [slave  keyboard (3)]
    ↳ GXT131 Gaming Mouse Consumer Control      id=19   [slave  keyboard (3)]

dmesg after plugging the tablet in:

[  450.598601] usb 1-10.1.3: new full-speed USB device number 8 using xhci_hcd
[  450.676198] usb 1-10.1.3: New USB device found, idVendor=256c, idProduct=006e, bcdDevice= 0.00
[  450.676216] usb 1-10.1.3: New USB device strings: Mfr=5, Product=6, SerialNumber=0
[  450.676217] usb 1-10.1.3: Product: 420
[  450.676218] usb 1-10.1.3: Manufacturer: HUION
[  450.686334] input: HUION 420 Stylus as /devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10.1/1-10.1.3/1-10.1.3:1.0/0003:256C:006E.000A/input/input32
[  450.686649] input: HUION 420 Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10.1/1-10.1.3/1-10.1.3:1.0/0003:256C:006E.000A/input/input33
[  450.686794] hid-generic 0003:256C:006E.000A: input,hidraw3: USB HID v1.11 Mouse [HUION 420] on usb-0000:00:14.0-10.1.3/input0
[  450.688408] input: HUION 420 Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10.1/1-10.1.3/1-10.1.3:1.1/0003:256C:006E.000B/input/input34
[  450.688612] input: HUION 420 Stylus as /devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10.1/1-10.1.3/1-10.1.3:1.1/0003:256C:006E.000B/input/input35
[  450.688821] hid-generic 0003:256C:006E.000B: input,hiddev97,hidraw4: USB HID v1.11 Mouse [HUION 420] on usb-0000:00:14.0-10.1.3/input1
[  450.689627] input: HUION 420 Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10.1/1-10.1.3/1-10.1.3:1.2/0003:256C:006E.000C/input/input36
[  450.741936] hid-generic 0003:256C:006E.000C: input,hidraw5: USB HID v1.11 Keyboard [HUION 420] on usb-0000:00:14.0-10.1.3/input2
[  450.818916] input: HUION 420 as /devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10.1/1-10.1.3/1-10.1.3:1.0/0003:256C:006E.000A/input/input37
[  450.819161] input: HUION 420 Pad as /devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10.1/1-10.1.3/1-10.1.3:1.0/0003:256C:006E.000A/input/input38
[  450.819299] uclogic 0003:256C:006E.000A: input,hiddev99,hidraw3: USB HID v1.11 Keypad [HUION 420] on usb-0000:00:14.0-10.1.3/input0
[  450.855417] input: HUION 420 Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10.1/1-10.1.3/1-10.1.3:1.1/0003:256C:006E.000B/input/input39
[  450.855661] uclogic 0003:256C:006E.000B: input,hiddev97,hidraw4: USB HID v1.11 Mouse [HUION 420] on usb-0000:00:14.0-10.1.3/input1
[  450.887717] uclogic 0003:256C:006E.000C: interface is invalid, ignoring
[  450.892009] uclogic 0003:256C:006E.000C: interface is invalid, ignoring
onegentig commented 1 year ago

My bad, I installed from source but forgot to remove dkms. After sudo dnf -y remove dkms and restarting X11, it worked like a charm.

Apologies for creating this issue so hastily, but it would be nice if the Fedora repo was up to date with the git release.