[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: Graphical tablet touch strip driver.
From:       Peter Hutterer <peter.hutterer () who-t ! net>
Date:       2020-08-18 1:36:02
Message-ID: 20200818013602.GA2707963 () koala
[Download RAW message or body]

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
_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic