Graphical tablet touch strip driver.

Peter Hutterer peter.hutterer at who-t.net
Tue Aug 18 01:36:02 UTC 2020


On Sat, Aug 08, 2020 at 12:47:01AM +0300, Влад Макаров wrote:
> Hi, I have a graphical tablet (Huion hs611) that has a touch strip on it.
> It doesn't work out-of-the-box as well as tablet's buttons but I managed to
> get buttons to work with xorg config file.
> Section "InputClass"
>     Identifier "Tabletkeyb"
>     Driver "kbd"

the keyboard driver is no longer supported on linux (the code was removed
roughly a year ago) and it hasn't really been used on linux for over a
decade. This snippet is almost certainly wrong and if it does work, it's
probably only because because something else overrides the Driver line.

>     MatchDevicePath "/dev/input/event*"
>     MatchUSBID "256c:006d"
>     MatchProduct "HUION Huion Tablet_HS611 Keyboard"
> EndSection
> 
> I tried to do the same thing with touch strip (MatchProduct "HUION Huion
> Tablet_HS611 Touch Strip") however I don't know which driver to choose.
> When I run *evtest *and touch it the output is something like this:
> Event: time 1596835859.438708, type 3 (EV_ABS), code 40 (ABS_MISC), value 15
> Event: time 1596835859.438708, -------------- SYN_REPORT ------------
> Event: time 1596835859.626698, type 3 (EV_ABS), code 8 (ABS_WHEEL), value
> 1  # *(this value changes from 1 to 7)*
> Event: time 1596835859.626698, -------------- SYN_REPORT ------------
> So ABS_WHEEL must be a keycode or something. This thing is giving some
> output so I hope there is a way to make it work. I would be very grateful
> if you could help me)

in general, libinput supports tablet pads including strips and rings.
ABS_WHEEL is usually a touch ring like Wacom has on their Intuos Pro line.
HUION devices are ... special though, and not just because they re-use the
same usb id for multiple different devices. I suggest you get in contact
with the DIGImend project which specialises in making these devices work.

Cheers,
   Peter


More information about the xorg mailing list