Closed bananapotsticker closed 5 years ago
A variable is missing: see this pull request: https://github.com/joseluis/huion-linux-drivers/pull/12
Hi, I've updated the script, adding a new debug mode to get better debugging information.
Please try the new version after changing debug_mode = true
in the config file, and paste back some of the lines that appear when you use the pen, like the following:
data[12] = array('B', [8, 128, 17, 88, 33, 145, 0, 0, 0, 0, 0, 0])
{'TYPE': 128, 'X': '[8]<<16+[3]<<8+[2]=22545', 'Y': '[5]<<8+[4]=37153', 'PRESS': '[7]<<8+[6]=0'}
data[12] = array('B', [8, 129, 26, 88, 184, 145, 250, 1, 0, 0, 0, 0])
{'TYPE': 129, 'X': '[8]<<16+[3]<<8+[2]=22554', 'Y': '[5]<<8+[4]=37304', 'PRESS': '[7]<<8+[6]=506'}
data[12] = array('B', [8, 129, 21, 88, 54, 146, 123, 6, 0, 0, 0, 0])
{'TYPE': 129, 'X': '[8]<<16+[3]<<8+[2]=22549', 'Y': '[5]<<8+[4]=37430', 'PRESS': '[7]<<8+[6]=1659'}
data[12] = array('B', [8, 129, 6, 88, 135, 146, 192, 10, 0, 0, 0, 0])
{'TYPE': 129, 'X': '[8]<<16+[3]<<8+[2]=22534', 'Y': '[5]<<8+[4]=37511', 'PRESS': '[7]<<8+[6]=2752'}
Hello!
Just for quick reference: I'm running KDE neon 5.14 with the x86_64 Linux 4.15.0-39-generic kernel and am attempting to get my GT-221 Pro working under it. I am by no means an expert and, in fact, have very little experience with this sort of thing as I've only recently begun trying to use linux to get away from Windows.
I've been struggling to get my GT-221 Pro working under linux and I've exhausted just about everything I could try. Basically no matter how I set up my config.ini it either spits out an error (because I think I'm setting the monitor setup wrong for multi-monitor) or it runs, but I can't get the tablet to respond to either pen input or by pressing any buttons. Also, yes, I have all my dependencies installed and yes, I added the /etc/X11/xorg.conf.d/evdev-tablet.conf
FYI: When I try to use one of the pre-made monitor configurations (or even not bother with multi-monitor at all and only have the tablet plugged in), the driver 'works' but the tablet still refuses to notice the pen or when I press any buttons.
Anyway. I'll attach the full config.ini but here's the part I wrote myself.
Here's the information for my monitors that I got from arandr:
Here's the output I get when I try to use [monitor_4]:
And here's the output when the driver successfully runs (either from not using multimonitor or by using one of the pre-made configurations.)
Thanks for any help you can provide.
I'd like to note that using https://github.com/joseluis/HuionKamvasGT221PROLinuxDriver works, but I get no pen pressure.
arandr_output.txt config.txt