I connected my brand new graphics tablet. And the first time I used it it worked fine.
I had installed xsetwacom and digimend-kernel-drivers-dkms, as per @bogdancovaciu’s instructions.
It worked fine at first, but then the next day I pluged it in and out, and in again, and then the cursor started jumping around madly and started clicking everything.
After some reading there should be some .conf files relating to the tab in /usr/share/X11/xorg.conf.d/, but there are none. There might have been before though.
I tried to make one following this post, but that didn’t work either.
I really hope to resolve this issue, if there is anything else you want me to post then please let me know. But I will not be able to post any outputs when the tab is plugged in, because the mad cursor makes the laptop unusable.
PS: The first time I plugged it in, I gave it the correct name (HUION H950P), but after that it started giving it this name: HID 256c:006d
PS 2: This is what I put in my custom config file in /usr/share/X11/xorg.conf.d/:
If by disconnecting and connecting again, or turning off and on again the tablet you do not get a proper functionality of the tablet stylus, then make sure you are not on wayland session. If you switch to X11 session and still the same issue after disconnecting and reconnecting the tablet, then there might be something else we should look at.
Also, in case you want to use it with multiple applications, not just drawing applications, and the “click” is not working with the Stylus, add this line to your ~/.bash_profile
I see you shared this:
Only one Section "InputClass" in that file please … and you can’t use two drivers … has to be Driver "wacom" and NOT Driver "evdev"
I’m sure that I’m not using wayland. because I have a login script that uses xrandr, and it’s working fine (the xrandr script)
I followed your instructions and made this file: /usr/share/X11/xorg.conf.d/70-wacom.conf (this is the same name it was given before)
Identifier "Huion Stylus"
MatchProduct "HUION" # I commented this line out and uncommented and got the same result
MatchIsTablet "on" # I commented this line out and uncommented and got the same result
Now the cursor is not moving around madly, but it still sakes about lightly, then when I move the pen further away from the tab it starts to shake even more until the pen is too far away from the tab. And the name is still wrong.
So I reinstall xsetwacom and digimend-kernel-drivers-dkms right?
Anything else to reinstall? EDIT: what’s the package name for xsetwacom? yay does not recognise it as xsetwacom. EDIT2: found it (xf86-input-wacom)
Just to let anyone reading this know, when I suspend the laptop (put it to sleep) with the tab plugged in. I get this () problem. So you have to plug it out before suspending, and then plug it in after waking it up.