tb2097 / wacom-gui

Python/PyQt Wacom GUI for KDE
GNU General Public License v3.0
134 stars 36 forks source link

Device info not found, but dev_type string is OK---Wacom Intuos Pro L #43

Open timtro opened 4 years ago

timtro commented 4 years ago

Thanks in advance.

I've looked and found similar issues (and the corresponding hacks in the current master of wacom_data.py), where there is some sort of naming mismatch leading to the titled error:

Device information for "Wacom Intuos Pro L" not found.

If I understand correctly, then the strange thing in my case is that all of the device-type strings agree! That is, libwacom-list-local-devices, xsetwacom --list devices and the Name= line of /usr/share/libwacom/intuos-pro-l.tablet all agree with the dev_type string in wacom_data.py. (See listed items below.)

Thanks again for your time---even if you only have time to point me in a direction.

> libwacom-list-local-devices --database /usr/share/libwacom 
# Device node: /dev/input/event6
[Device]
Name=Wacom Intuos Pro L
ModelName=PTH-851
DeviceMatch=usb:056a:0317;
Class=Intuos5
Width=13
Height=8
IntegratedIn=
Layout=intuos-pro-l.svg
Styli=0x6;0x802;0x804;0x806;0x80a;0x80c;0x902;0x90a;0x100802;0x100804;0x10080a;0x10080c;0x100902;0x10090a;0x120802;0x140802;0x14080a;0x160802;0x16080a;

[Features]
Reversible=true
Stylus=true
Ring=true
Ring2=false
Touch=true
TouchSwitch=false
StatusLEDs=Ring;
NumStrips=0
Buttons=9

[Buttons]
Left=A;B;C;D;E;F;G;H;I;
# Right=
# Top=
# Bottom=
# Touchstrip=
# Touchstrip2=
# OLEDs=
Ring=A;
# Ring2=
EvdevCodes=0x100;0x101;0x102;0x103;0x104;0x105;0x106;0x107;0x108;
RingNumModes=4
Ring2NumModes=0
StripsNumModes=0

---------------------------------------------------------------
# Device node: /dev/input/event4
[Device]
Name=Wacom Intuos Pro L
ModelName=PTH-851
DeviceMatch=usb:056a:0317;
Class=Intuos5
Width=13
Height=8
IntegratedIn=
Layout=intuos-pro-l.svg
Styli=0x6;0x802;0x804;0x806;0x80a;0x80c;0x902;0x90a;0x100802;0x100804;0x10080a;0x10080c;0x100902;0x10090a;0x120802;0x140802;0x14080a;0x160802;0x16080a;

[Features]
Reversible=true
Stylus=true
Ring=true
Ring2=false
Touch=true
TouchSwitch=false
StatusLEDs=Ring;
NumStrips=0
Buttons=9

[Buttons]
Left=A;B;C;D;E;F;G;H;I;
# Right=
# Top=
# Bottom=
# Touchstrip=
# Touchstrip2=
# OLEDs=
Ring=A;
# Ring2=
EvdevCodes=0x100;0x101;0x102;0x103;0x104;0x105;0x106;0x107;0x108;
RingNumModes=4
Ring2NumModes=0
StripsNumModes=0

---------------------------------------------------------------
# Device node: /dev/input/event11
[Device]
Name=Wacom Intuos Pro L
ModelName=PTH-851
DeviceMatch=usb:056a:0317;
Class=Intuos5
Width=13
Height=8
IntegratedIn=
Layout=intuos-pro-l.svg
Styli=0x6;0x802;0x804;0x806;0x80a;0x80c;0x902;0x90a;0x100802;0x100804;0x10080a;0x10080c;0x100902;0x10090a;0x120802;0x140802;0x14080a;0x160802;0x16080a;

[Features]
Reversible=true
Stylus=true
Ring=true
Ring2=false
Touch=true
TouchSwitch=false
StatusLEDs=Ring;
NumStrips=0
Buttons=9

[Buttons]
Left=A;B;C;D;E;F;G;H;I;
# Right=
# Top=
# Bottom=
# Touchstrip=
# Touchstrip2=
# OLEDs=
Ring=A;
# Ring2=
EvdevCodes=0x100;0x101;0x102;0x103;0x104;0x105;0x106;0x107;0x108;
RingNumModes=4
Ring2NumModes=0
StripsNumModes=0
> xsetwacom --list devices                                  
Wacom Intuos Pro L Pen stylus       id: 9   type: STYLUS    
Wacom Intuos Pro L Pad pad          id: 10  type: PAD       
Wacom Intuos Pro L Finger touch     id: 11  type: TOUCH     
Wacom Intuos Pro L Pen eraser       id: 17  type: ERASER    
Wacom Intuos Pro L Pen cursor       id: 18  type: CURSOR    
> cat /usr/share/libwacom/intuos-pro-l.tablet
# Wacom
# Intuos Pro L
# PTH-851
#
# Button Map:
# (A=1, B=2, C=3, ...)
#
#    *-----------------------*
#    |                       |
#  B |                       |
#  C |                       |
#  D |                       |
#  E |                       |
#  A |        TABLET         |
#  F |                       |
#  G |                       |
#  H |                       |
#  I |                       |
#    |                       |
#    *-----------------------*
#
# Touch Ring Map:
# (A=1st ring, B=2nd ring, ...)
#
#    *-----------------------*
#    |                       |
#  A |        TABLET         |
#    |                       |
#    *-----------------------*
#
# LED Map:
# (XY=Bank X, LED Y; *=Invisible)
#
#        *-----------------------*
#        |                       |
#        |                       |
#  00 01 |                       |
#        |        TABLET         |
#  03 02 |                       |
#        |                       |
#        |                       |
#        *-----------------------*
#

[Device]
Name=Wacom Intuos Pro L
ModelName=PTH-851
DeviceMatch=usb:056a:0317
Class=Intuos5
Width=13
Height=8
Layout=intuos-pro-l.svg
IntegratedIn=
Styli=@intuos4-lens;@intuos4-puck;@intuos5;@intuos4;

[Features]
Stylus=true
Reversible=true
Touch=true
Buttons=9
Ring=true
StatusLEDs=Ring

[Buttons]
Left=A;B;C;D;E;F;G;H;I

Ring=A
RingNumModes=4
tb2097 commented 4 years ago

Please try using the latest release: https://github.com/tb2097/wacom-gui/releases/tag/v0.3.0-rc18, let me know if this resolves the issue.