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

Dial on Q620M doesn't work #470

Open ticotaco72 opened 4 years ago

ticotaco72 commented 4 years ago

I installed Digimend 10 release on Fedora KDE 32; Kernel 5.8.15; Dial worked on master branch some three-four months ago, but now it doesn't work in any program. I don't know how to check if system gets info about dial movement. I'm happy to provide anything that's needed.

nzrt-pm commented 4 years ago

same thing, dial doesn't work for me as well edit using endeavouros (arch-based) kernel 5.9.8-arch1-1 using v10 latest release am willing to provide any form of info

nic3-14159 commented 3 years ago

Hello! Could you try following the instructions on this page? That page should contain steps that can help debug what is wrong with the dial. The steps under "Tablet Hardware" should tell you if the hardware is working at all (although with two separate similar failures, I'd think it's more of a Linux issue than a hardware issue). The "Debugfs interface" and "Evtest tool" sections would probably be more useful, as those steps would tell you if Linux actually recognizes the dial events properly.

nzrt-pm commented 3 years ago

update. have tested it with a couple of distros and only kubuntu works for me via sh script(but I can't change the wheel controls it's fixed as a mouse scroll wheel), also I had to reinstall my endeavouros root. the wheel works in endeavours, but I can only register 1 key to it, tablet works perfectly with windows.

edited comment for clarification

kxr commented 3 years ago

Hello, I just got this tablet and its a pretty slick tablet. I plugged it in my Fedora workstation (5.9.13-100.fc32.x86_64) and the basic functionality seems to work out of the box. My use case is just basic writing. What don't seem to work is the dial and the pressure sensor. I would love to have it fully supported in Linux. How can I contribute to get the missing feature working?

nzrt-pm commented 3 years ago

update, after fiddling with it, I managed to make the buttons work, except for the dial wheel(dial button also work) testing the wheel with

sudo usbhid-dump -es -m 256c:006d

works, but nothing that I've tried setting it up in xinput worked.

here's the script I've made

xsetwacom --set 'HUION Huion tablet_Q620M Pad pad' Button 13 "key ctrl +q" xsetwacom --set 'HUION Huion tablet_Q620M Pad pad' Button 1 "key ctrl +s" xsetwacom --set 'HUION Huion tablet_Q620M Pad pad' Button 3 "key P" xsetwacom --set 'HUION Huion tablet_Q620M Pad pad' Button 2 "key B" xsetwacom --set 'HUION Huion tablet_Q620M Pad pad' Button 8 "key ctrl [" xsetwacom --set 'HUION Huion tablet_Q620M Pad pad' Button 9 "key ctrl ]" xsetwacom --set 'HUION Huion tablet_Q620M Pad pad' Button 10 "key e" xsetwacom --set 'HUION Huion tablet_Q620M Pad pad' Button 11 "key m" xsetwacom --set 'HUION Huion tablet_Q620M Pad pad' Button 12 "key ctrl +z"

thezealousfool commented 3 years ago

I got this tablet as well.

Pressure sensitivity works on Krita but does not recognize as a tablet/stylus in GIMP or Firefox (tested on https://patrickhlauke.github.io/touch/pen-tracker/).

I'm assuming somehow Qt apps work? Can people running KDE test GIMP? Does the tablet show up in the KDE settings?

Happy to contribute but am a little clueless how to proceed.

NeoTheFox commented 3 years ago

For everyone tracking this issue - Q620M dial and buttons work with huion-keys.

ticotaco72 commented 3 years ago

I'm sorry that I've been so inactive after reporting this issue. All tesing done on Fedora 33 KDE

  1. In evtest I have 5 devices:
    /dev/input/event20:     HUION Huion Tablet_Q620M                       -- here I saw movement and pressure and tilt of pen and pen buttons
    /dev/input/event21:     HUION Huion Tablet_Q620M Pad                 --here I saw events from frame buttons and inner button in dial
    /dev/input/event22:     HUION Huion Tablet_Q620M Touch Strip      -- here is nothing
    /dev/input/event23:     HUION Huion Tablet_Q620M Dial                  -- here I saw events after I moved dial and values seemed simply left/right
    /dev/input/event24:     HUION Huion Tablet_Q620M Keyboard        --here is nothing, it shows that it has all event codes which keyboard normally has??
  2. Left frame button have strange bindings. They're mostly binded to left mouse button, right mouse button, space button and these bindings are repeqated(two buttons corresponding e.g. to space button)
  3. In Krita: pressure works, tilt doesn't work, for stylus buutons to work as espected I need to tick the "listen to mouse feed" setting
  4. KDE settings detect tablet only as a game pad where I see only frame buttons as working
ticotaco72 commented 3 years ago
  1. GIMP detects it only as a mouse, no tablet specific things work
NeoTheFox commented 3 years ago

@ticotaco72 please use libinput debug-tablet to confirm if features of the tablet itself work. If you see it reacting to tilt, pressure, button presses via libinput debug - the "not working" part is in the software you are using. For example, for GIMP - check if you have the pressure enabled in input device settings like this. screenshot

I suggest you file a bug report with the respective projects if you think that features are missing.

ticotaco72 commented 11 months ago

libinput in version 1.23.0 on kernel version 6.5.11 Fedora 38 reports:

I suppose a big deal of the issues (at least the ignoring devices issue?) could be fixed at libinput side?

ticotaco72 commented 11 months ago

for reference: https://gitlab.freedesktop.org/libinput/libinput/-/issues/600 EDIT: also https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/860