Skip to content
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

The driver works for Artist Pro 16 (Gen2) #75

Open
Vineyo opened this issue Jul 17, 2023 · 4 comments
Open

The driver works for Artist Pro 16 (Gen2) #75

Vineyo opened this issue Jul 17, 2023 · 4 comments

Comments

@Vineyo
Copy link

Vineyo commented Jul 17, 2023

Info for the device:
Vendor ID | 0x28bd | (XP-Pen)
Product ID | 0x095b |
Link to the product: https://www.xp-pen.com.cn/product/888.html
Though the GUI doesn't recognize it.

@Deevad
Copy link

Deevad commented Oct 31, 2023

Hey @Vineyo , can you tell what is working on your side? I have the device since a couple days. On X11, it works almost fully on the generic uc-logic/ugee kernel driver; as soon a Xorg rule is done. Eg. /usr/share/X11/xorg.conf.d/60-xppen.conf:

Section "InputClass"
  Identifier "XP-Pen Artist Pro 16 (Gen2) Frame"
  MatchUSBID "28bd:095b"
  MatchIsKeyboard "on"
  MatchDevicePath "/dev/input/event*"
  Driver "libinput"
EndSection

Section "InputClass"
  Identifier "XP-Pen Artist Pro 16 (Gen2) Tablet"
  MatchIsTablet "on"
  Driver "wacom"
  MatchUSBID "28bd:095b"
  MatchDevicePath "/dev/input/event*"
EndSection

Then reboot, then it appears handled by xsetwacom tool, the tablet eraser and stylus appears with a $xsetwacom list:

UGTABLET Artist Pro 16 (Gen2) stylus    id: 13  type: STYLUS    
UGTABLET Artist Pro 16 (Gen2) eraser    id: 17  type: ERASER 

After that, the stylus is fully configurable (almost) with xsetwacom commands, and some are exposed with kcm-tablet (the GUI of Kde/Plasma on X11). On Wayland, it has a minimal support, just enough to change monitor.

The 'almost part' is about the second button on stylus: the top one. It reacts on my side as a hardcoded Eraser button. As soon as press it, the stylus tip become an Eraser device, and exit the mode on release. This makes this button impossible to customise via xsetwacom even if the button 3 exists.

I tested this repo, I even tried to make a definition for the tablet (based on the files of the Pro 12:
artist_16_pro_gen2.zip ) , I can compile, but as soon as I run a final userspace_tablet_driver_daemon to check (even after a reboot), I still don't see the tablet.

So, I'm curious how you got the driver here to work with this model @Vineyo .

@Vineyo
Copy link
Author

Vineyo commented Nov 1, 2023

I'm sorry that I used this driver as a quick fix because I got the tablet before the official driver was released. I didn't test the buttons. And I'm using the proprietary driver.

@Deevad
Copy link

Deevad commented Nov 1, 2023

Good to know and no problem! Thank you for the feedback.

I posted today on my blog a post about my issue https://www.davidrevoy.com/article995/how-a-kernel-update-broke-my-stylus-need-help , the comment section was active and helpful and redirected me to contact the right poeple. Finger crossed for a good Free/Libre and Open Source support.

@kurikaesu
Copy link
Owner

Would love to help and possibly provide a kernel patch but I am currently traveling. Would also be interested in knowing how this kernel change possibly affected my driver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants