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 H1161 latest firmware causes tablet to not work #600

Open dnikic opened 2 years ago

dnikic commented 2 years ago

Hello,

I've bought a Huion H1161, updated its firmware using the official firmware tool on Windows to enable proper android support, booted into Ubuntu 20.04 LTS on xorg, and the drawing tablet doesn't seem to work.

I've installed the latest digimend drivers using the .deb package, the tablet didn't start working. I've tried installed the drivers by cloning, making and installing them from source by flowing the readme file without success.

Could someone please explain how I can monitor, map and configure my tablet to debug it and make it work? Is there some useful config or log I could post to make diagnosing my issue easier?

dnikic commented 2 years ago

Windows driver reports that the device is INSPIROY H1161 with Firmware Version: T191_211207.

On Ubuntu lsusb returns Bus 001 Device 006: ID 4037:2804 HUION Huion Tablet_H1161 Bus 001 Device 009: ID 256c:0064 HUION Huion Tablet_H1161 Gnome settings shows a Wacom Tablet category but inside states that "No stylus found" and "No tablet detected", and xsetwacom list doesn't return anything.

dnikic commented 2 years ago

I've managed to enable the pen and tablet with pressure support by editing sudo vi /usr/share/X11/xorg.conf.d/50-digimend.conf And adding my detected device id (by using lsusb) within the other huion tablets specified id set under MatchUSBID separated by a pipe (| symbol).

Section "InputClass" Identifier "Huion tablets with Wacom driver" MatchUSBID "5543:006e|256c:006e|256c:006d|4037:2804|256c:0064" MatchDevicePath "/dev/input/event*" MatchIsKeyboard "false" Driver "wacom" EndSection

Now xsetwacom list returns HUION Huion Tablet_H1161 Pen stylus id: 13 type: STYLUS
HUION Huion Tablet_H1161 Pen eraser id: 23 type: ERASER

Tilt works, and I have tested it using Krita (Only the brushes with two circular arrows icon support tilt).

Still can't seem to enable the pen and tablet buttons and the touch slide bar for zooming.

dnikic commented 2 years ago

By performing these commands I can enable the down press to be a left click, and one pen button to be middle click, but I still cant enable the other pen button not the pad buttons.

xsetwacom --set 'HUION Huion Tablet_H1161 Pen stylus' button 1 1 xsetwacom --set 'HUION Huion Tablet_H1161 Pen stylus' button 2 2