benthor / HuionKamvasGT191LinuxDriver

Working user space evdev driver for Huion Kamvas GT-191 for Linux
MIT License
25 stars 2 forks source link

Kamvas Pro 13 issues #4

Open wwklnd opened 5 years ago

wwklnd commented 5 years ago

Hi, thanks for this driver! It seems to be the only one that works even somewhat for me, using the workaround script you posted elsewhere. Using that I can get my display tablet to recognise input as well as move the pointer with the pen, as long as I run uclogic-probe first and don't put my computer to sleep -- after that, it doesn't seem to work, though it might be that I didn't probe again after sleeping. The main issue I have right now though is that the pointer doesn't move "with" the pen. They stick together in the top left of the screen, but the farther down or to the right I move the pen, the farther away from the pen the pointer moves, as if the pointer expects the screen to be larger (I have no idea if that's the case, the GT-191 is a larger screen after all but they have the same 1920x1080 resolution and they even share the same VID and PID.)

I'm running Manjaro Linux (based on Arch), and I've gone through the tablet diagnostics collection described on the DIGImend site. Here are the related output files: frame_buttons.txt frame_dials.txt pen_buttons.txt pen_pressure.txt pen_tilt.txt pen_coords.txt probe.txt hid_report_descriptors.txt descriptors.txt

wwklnd commented 5 years ago

So far I've gotten it semi-working by changing PEN_MAX_X and PEN_MAX_Y in kamvas.py to fit the decoded probe output I get and multiplying the X value by 2. It works somewhat by needs a little bit of calibration to function properly (the pointer is just slightly to the left of the pen tip). By the way, if I want to lefty flip this thing, is there some easy fix for that?

wwklnd commented 5 years ago

It seems like if I run usbhid-dump on the tablet after putting the computer to sleep, the driver is able to make it work again.