Hello, I hope this is the proper place to look for help with this issue. I have searched around the web and this forum and found nothing so far that has helped.
My problem is this: My HUION H610 drawing tablet has stopped working, by which I mean that the buttons (which were working properly the last time I used it on 27-10-18) no longer register any input to Krita or any other program. Unfortunately I cannot test if the pen input is working because the pen is out of battery and refusing to charge (this is the second pen that has spontaneously died since getting the tablet earlier this year), but I have plugged the tablet into my sister’s Windows 10 PC and the buttons on the tablet work properly there, so I don’t believe that it is a hardware issue with the tablet itself.
I am running Manjaro KDE Stable, with the 4.19.4-1 kernel.
Since I last used the tablet I have used yay to update ‘digimend-kernel-drivers-dkms-git’ to the latest version, but did not test the tablet before / after this upgrade, so I can’t be certain that’s what stopped it working, though the update appeared to be successful. As far as I know, nothing else specific has changed about my setup except anything that might have changed via pacman updates in the last month. All my other hardware (USB Soundcard, Logitech mouse, Xbox wired controller) are all still working as well as ever and I have noticed no other problems whatsoever with my system.
I have noticed that in Settings under Input Devices, ‘HUION PenTablet Pad (/dev/input/js0)’ is listed in the Joystick section, and ‘HUION PenTablet P [006E]’ is displayed in the Graphic Tablet section (kcm-wacomtablet package). As far as I can remember, the tablet displayed in neither of these sections back when I first set it up 2 or 3 months ago and it worked just fine.
To get it working back then I installed ‘digimend-kernel-drivers-dkms-git’ from the AUR, created ‘52-tablet.conf’ in /usr/share/X11/xorg.conf.d/ with the following content -
Identifier “Huion on wacom”
and I set up an SH file to run at startup containing a number of commands like this: ‘xsetwacom --set ‘HUION PenTablet Pad pad’ Button 2 “key e”’ in order to bind the buttons correctly.
This worked flawlessly. All buttons were working as expected and the pen and pressure sensitivity was perfect, and this was the case up until my last use of it on the 27th of October. However, today I tried to use the pad for the first time since then and none of the buttons are working, and I am unable to test the pen as it seems to have died and is not charging (its charging plug has been dodgy pretty much since the first charge). The light on the tablet lights up when I press the buttons as it always does but no input seems to register in any of the programs I have tried. I have been able to connect the tablet to a Windows 10 VM running on my system using USB passthrough, and it does seem to recognise the tablet and be registering some kind of input from the it, though the VM does not have an internet connection or the HUION drivers installed to test it properly.
To try and fix the problem I have tried booting with an earlier kernel (4.14), tried plugging it in to different USB ports, reinstalled the digimend drivers and the kcm-wacomtablet package and used Downgrade to roll back the digimend drivers to the previous version, all to no avail (I am currently running the older driver having not re-upgraded it). I also followed these instructions - https://forum.level1techs.com/t/fix-for-linux-wacom-users-tablet-shows-up-as-joystick/115932 - incase the fact that the tablet seemed to be showing up as a joystick in the system preferences was part of the problem but that didn’t help, though that file only seems to list the H610 Pro, so it may not be helping because of that.
‘xinput -list’ shows the tablet and pad under Virtual core pointer the same as it always did, ‘xsetwacom list devices’ returns the pen and pad as I think would be expected and ‘uclogic-probe 5 2 | uclogic-decode’ returns the following:
Max X: 40000
Max Y: 25000
Max pressure: 2047
Internal model: HA60???
Buttons status: HK On
All of which seems to suggest to me that the tablet is connected and recognised by the system, yet the buttons still do not register in any program, despite trying to set them both using my usual xsetwacom commands and with the GUI in the system settings (which I never used before).
Sorry for the long post, I tried to include all the detail I thought would be relevant. I am still pretty new to Linux (first tried out Ubuntu in February) and switched to Manjaro two or three months ago, so any help would be greatly appreciated as I haven’t a clue how to go about sorting this! Thanks!