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 H430P #170

Closed caseneuve closed 6 years ago

caseneuve commented 6 years ago

Sys info:

OS: Antergos Linux x86_64 dkms: digimend-kernel-drivers, 7.r80.gcda5bef, 4.17.3-1-ARCH, x86_64: installed

Issue:

After installation of drivers the tablet is not working.

Troubleshooting:

Tablet hardware:

003:006:001:STREAM 1530738808.761364 0A C0 85 28 77 67 00 00

003:006:001:STREAM 1530738808.765382 0A C0 41 28 27 68 00 00

003:006:001:STREAM 1530738808.769366 0A 80 41 28 27 68 00 00 ...


#### Kernel drivers:
* `evtest` sees the tablet but doesn't give any output for tests

#### Userspace drivers:
* xiput

$ xinput list ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ Logitech USB Optical Mouse id=11 [slave pointer (2)] ⎜ ↳ SynPS/2 Synaptics TouchPad id=13 [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)] ↳ Video Bus id=7 [slave keyboard (3)] ↳ Power Button id=8 [slave keyboard (3)] ↳ TOSHIBA Web Camera: TOSHIBA Web id=9 [slave keyboard (3)] ↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)] ↳ Toshiba input device id=14 [slave keyboard (3)] ↳ HUION Huion Tablet Pen id=10 [slave keyboard (3)]

$ xinput test 10 no event registered...


#### Applications:
* in MyPaint > Help > Debug > Test Input Devices gives no output.

### Request:
I would appreciate any help to make the tablet working. Thanks in advance.

### Update (dmesg)
* portion of `dmesg`  output: 

[44861.632621] input: HUION Huion Tablet Pen as /devices/pci0000:00/0000:00:1c.4/0000:05:00.0/usb1/1-1/1-1:1.0/0003:256C:006E.0004/input/input17 [44861.633218] uclogic 0003:256C:006E.0004: input,hidraw1: USB HID v1.11 Device [HUION Huion Tablet] on usb-0000:05:00.0-1/input0 [44861.645279] uclogic 0003:256C:006E.0005: No inputs registered, leaving [44861.645414] uclogic 0003:256C:006E.0005: hidraw2: USB HID v1.11 Device [HUION Huion Tablet] on usb-0000:05:00.0-1/input1 [47229.429039] uclogic 0003:256C:006E.0006: No inputs registered, leaving [47229.429201] uclogic 0003:256C:006E.0006: hidraw1: USB HID v1.11 Device [HUION Huion Tablet] on usb-0000:05:00.0-1/input1 [47229.476552] uclogic 0003:256C:006E.0007: failed to enable abstract keyboard [47229.476915] input: HUION Huion Tablet Pen as /devices/pci0000:00/0000:00:1c.4/0000:05:00.0/usb1/1-1/1-1:1.0/0003:256C:006E.0007/input/input20 [47229.477247] uclogic 0003:256C:006E.0007: input,hidraw2: USB HID v1.11 Device [HUION Huion Tablet] on usb-0000:05:00.0-1/input0

spbnick commented 6 years ago

Thank you for a detailed report, @caseneuve! Could you please download and install the latest development version from https://github.com/DIGImend/digimend-kernel-drivers/archive/master.zip ?

caseneuve commented 6 years ago

Thanks for a quick response!

I downloaded the file, uninstalled digimend-kernel-drivers-dkms-git, run make; sudo make install in drivers' folder and rebooted: it seems to WORK! :+1:

Two more questions: 1) how should I maintain the drivers (my OS is a rolling release)? 2) is it possible to configure the stylus and pad buttons?

spbnick commented 6 years ago

To keep the driver installed through kernel upgrades, uninstall it with sudo make uninstall and install it again with sudo make dkms_install. See README.md for details. There are multiple ways to configure stylus buttons, depending on which driver you use, but if you want to configure the pad buttons, you will need to use the Wacom X.org driver. See README.md again for a brief introduction to that, and otherwise refer to the Wacom driver configuration.