-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XPPen Deco01 v2 support #375
base: master
Are you sure you want to change the base?
Conversation
Additional files: |
Merge remote-tracking branch 'upstream/master'
@ihewitt your comment here suggests the |
Should the (apologies if off-base here, I'm still getting my head around exactly what DIGImend project does... My current best approx is "a driver, and attempts to push bits and bobs to different upstream projects") |
Just to update, I did some checking, and I think that the |
Cool stuff @ihewitt! 👍
Commands: git clone https://github.com/ihewitt/digimend-kernel-drivers.git digimend-kernel-drivers-xp-pen-fix
cd digimend-kernel-drivers-xp-pen-fix
sudo make dkms_install
# Attention: only run these two curl commands if you have verified that the links are correct. Better do it manually.
# sudo curl https://github.com/DIGImend/digimend-kernel-drivers/files/4464210/10-xppen.hwdb.txt -o /etc/udev/hwdb.d/10-xppen.hwdb
# sudo curl https://github.com/DIGImend/digimend-kernel-drivers/files/4464211/xp-pen-dec01.tablet.txt -o /usr/share/libwacom/xp-pen-dec01.tablet
sudo reboot now |
and now one question: I only see two devices
I confirmed that Any ideas why for instance the touchpad is missing? |
The Deco01 doesn't have a touchpad, does it? The PAD is used for the 8 buttons on the tablet itself, the STYLUS is the pen (both position, and status of the 2 buttons on the stylus). If you're wondering why it used to have those listed, that was because the Deco01 was recognised as a tablet, but not specifically which, so all possible inputs were "enabled". Now that it's properly detected, your system knows that the Deco01 does not have a touchpad and won't list one. |
Ahh well that does make a lot of sense 😆. Tbh, I just assumed it had touch. |
Hey, thanks for the work! I couldn't get the latest version of this branch to work (the tablet is correctly detected on connection but does not produce any input events) but 0049c4c works for me. Seems like the merge introduced an issue. |
That might be it, I don't understand why those id's were changed. |
Oh right, that thing. I had that same issue with my tablet where my system didn't like the changed ID, but I wanted to poke around a bit first before opening an issue. But it seems like it's more than just my system, so something must have regressed after those changes were originally made. Those changes were originally made to fix something with desktop environments. The details are explained in #442 |
Posted #537. Just let me know any information I can add. Mint Mate, kernel 5.4, xp-pen deco v2. Had been applying ihewitt's code re putting 10-xppen.hwdb into /etc/udev/hwdb.d, and xp-pen-dec01.tablet into /usr/share/libwacom and that was working great until this week. Now not only no right-click (the fix worked great for wine/Sai2 and for krita) but pen doesn't work at all ... small white triangle, cannot paint, program seizes up. Mouse paints normally, and 3 entries for Ugtablet show in xinput-list. |
Just adding some more feedback, incase helpful, plus it seems breakage happened over the last couple of weeks? I'd tried out another desktop a couple of weeks ago, via a clean reinstall, and hadn't had issues. Having just clicked through to #442, it appears to read as changes made to support chrome OS. Tried the xp-pen driver again, without digimend driver installed, but nothing worked. Also upgraded, on mint mate installed yesterday, from 5.4 to kernel 5.8.0-53; same outcome. (Had been a dkms glitch while first setting up system, but seemed okay later.) Xinput list is now showing 4 entries for ugtablet ... id 19-22 ... pentablet keyboard, pentablet mouse, pentablet, and pentablet pen (0). Usually use Sai2 via wine-staging, as prefer just a simple painting program, but have just tried a krita appimage and can paint + pressure!! ... no 'drag/brush size' and especially no right-click/colour-pick could tip me over the edge finally, lol, but hopefully there's some way to fix that. It's the 4.4.3 appimage, the current stable version. |
Add xppen deco01 v2 support, as per #340 currently also requires additions to /etc/udev/hwdb.d and /usr/share/libwacom/ to activate the top stylus button and map the keyboard to keypad keys.
I'm not sure if there's a way to configure the events to avoid this or if they need simply documenting in the wiki or adding as "contrib" files.