linuxwacom / libwacom

libwacom is a tablet description library
Other
325 stars 161 forks source link

Profile included but not recognized #655

Open Jopp-gh opened 4 months ago

Jopp-gh commented 4 months ago

Bug description

my tablet is included in /usr/share/libwacom/xp-pen-star03.tablet(please see profile at bottom page), but I cannot use my tablet in combination with https://github.com/tb2097/wacom-gui. Results of Wacom-gui:

~/Downloads/wacom-gui-master/wacom-gui$ python3 wacom-gui.py
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0,0,0,100'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 90,90,90,90'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0,0,0,100'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 90,90,90,90'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0,0,0,100'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 90,90,90,90'
unknown desktop environment
/dev/input/event25 is a tablet but not supported by libwacom
/dev/input/event25 is a tablet but not supported by libwacom

Wacom-gui is a pretty nice gui to configure multiple tablet profiles, linux Mint alone doesn't allow the configuration of multiple tablet profiles.

I don't know if libwacom is the culprit of this bug or Wacom-gui.

Here's the content of /usr/share/libwacom/xp-pen-star03.tablet:

# XP-Pen
# Star 03
#

[Device]
Name=XP-Pen Star 03
ModelName=
DeviceMatch=usb:5543:0081:UC-Logic TABLET 1060N Pen;usb:5543:0081:UC-Logic TABLET 1060N Pad;usb:28bd:0907:UGTABLET 10 inch PenTablet
Class=Bamboo
Width=10
Height=6
IntegratedIn=
Layout=xp-pen-star03.svg
Styli=0xffffd;

[Features]
Stylus=true
Reversible=true
Touch=false
Buttons=8

[Buttons]
Left=A;B;C;D;E;F;G;H
EvdevCodes=0x100;0x101;0x102;0x103;0x104;0x105;0x106;0x107
whot commented 4 months ago

What does libwacom list-local-devices say about the device? And what does libinput record say about the device nodes (you probably have multiple of those). Please attach the output of libinput record, do not copy/paste.

Jopp-gh commented 4 months ago

I don't have any of these cli's on my system, because the result is "command not found". Since my Os perfectly detects my tablet and those command line tools are not in my official software manager, I prefer to not mess with these system packages, even with my recent backups.

whot commented 4 months ago

I prefer to not mess with these system packages,

either tool may be in a libwacom-utils, libwacom-tools, libinput-utils, etc. package, whatever it's named. Alternatively both of these will run from the respective git build dirs without needing to install them.