libwacom icon indicating copy to clipboard operation
libwacom copied to clipboard

Profile included but not recognized

Open Jopp-gh opened this issue 1 year ago • 3 comments

  • Device name: XP-Pen Star03

  • Device model identifier: STR03B

  • libwacom version: no idea how to get this info (Linux Mint Cinnamon, 21.3)

  • [x] I understand that libwacom does affect whether the device works (see Troubleshooting)

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

Jopp-gh avatar Apr 17 '24 14:04 Jopp-gh

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.

whot avatar Apr 17 '24 23:04 whot

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.

  • Also another option would be to install the official but outdated driver of XP-Pen but I prefer to not install that oldie from 2018/2020. Kernel related software is to treat carefully.

  • Probably the best way for me is to make several profiles with xsetwacom commands and to cover all possible input methods / buttons. Just the numbering of the aux keys is strange, I get button 1,2 and 3. But not the other 5 buttons. Templates online suggest to use buttons 1,2,3,8,9,10,11,12 (8 buttons in total for my tablet).

Jopp-gh avatar Apr 19 '24 16:04 Jopp-gh

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.

whot avatar Apr 22 '24 01:04 whot

Closing, cannot proceed without information

whot avatar Sep 02 '24 02:09 whot