tb2097 / wacom-gui

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

Intuos Pro L Paper not recognized #31

Open tonowie opened 5 years ago

tonowie commented 5 years ago

When I start wacom-gui form source (master) I get popup reporting unknown device "Wacom Intuos Pro L". I noticed there are already several similar issues raised for other tablet models. libwacom-list-local-devices reports device name "Wacom Intuos Pro 2 L WL"

Tried adding hack similar to previous ones, the error goes away but the window comes up empty, same as with the error

                if dev_type == 'Wacom Intuos Pro L':
                    dev_type = 'Wacom Intuos Pro 2 L WL'
tonowie commented 5 years ago

I do not see any errors in console and tablet is connected using bluetooth

here is output from xsetwacom

Wacom Intuos Pro L Pad pad          id: 15  type: PAD       
Wacom Intuos Pro L Finger touch     id: 16  type: TOUCH     
Wacom Intuos Pro L Pen stylus       id: 17  type: STYLUS    
Wacom Intuos Pro L Pen eraser       id: 18  type: ERASER    
Wacom Intuos Pro L Pen cursor       id: 19  type: CURSOR

and this is reported by libwacom-list-local-devices

[Device]
Name=Wacom Serial Tablet WACf004
DeviceMatch=serial:0000:0000;
Class=ISDV4
Width=0
Height=0
IntegratedIn=Display;System;
Styli=0xfffff;0xffffe;

[Features]
Reversible=false
Stylus=true
Ring=false
Ring2=false
Touch=false
TouchSwitch=false
StatusLEDs=
NumStrips=0
Buttons=0
---------------------------------------------------------------
[Device]
Name=Wacom Intuos Pro 2 L WL
DeviceMatch=bluetooth:056a:0361;
Class=Intuos5
Width=12
Height=8
IntegratedIn=
Layout=intuos-pro-2-l.svg
Styli=0x842;0x84a;0x160802;0x16080a;0x100802;0x10080a;0x140802;0x14080a;0x120802;0x100804;0x10080c;0x100902;0x10090a;0x80842;

[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=I;
Ring2=
EvdevCodes=0x100;0x101;0x102;0x103;0x104;0x105;0x106;0x107;0x108;
RingNumModes=4
Ring2NumModes=0
StripsNumModes=0

---------------------------------------------------------------
[Device]
Name=Wacom Intuos Pro 2 L WL
DeviceMatch=bluetooth:056a:0361;
Class=Intuos5
Width=12
Height=8
IntegratedIn=
Layout=intuos-pro-2-l.svg
Styli=0x842;0x84a;0x160802;0x16080a;0x100802;0x10080a;0x140802;0x14080a;0x120802;0x100804;0x10080c;0x100902;0x10090a;0x80842;

[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=I;
Ring2=
EvdevCodes=0x100;0x101;0x102;0x103;0x104;0x105;0x106;0x107;0x108;
RingNumModes=4
Ring2NumModes=0
StripsNumModes=0

---------------------------------------------------------------
[Device]
Name=Wacom Intuos Pro 2 L WL
DeviceMatch=bluetooth:056a:0361;
Class=Intuos5
Width=12
Height=8
IntegratedIn=
Layout=intuos-pro-2-l.svg
Styli=0x842;0x84a;0x160802;0x16080a;0x100802;0x10080a;0x140802;0x14080a;0x120802;0x100804;0x10080c;0x100902;0x10090a;0x80842;

[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=I;
Ring2=
EvdevCodes=0x100;0x101;0x102;0x103;0x104;0x105;0x106;0x107;0x108;
RingNumModes=4
Ring2NumModes=0
StripsNumModes=0

---------------------------------------------------------------
tb2097 commented 5 years ago

The hack to fix it would be: if dev_type == 'Wacom Intuos Pro L': dev_type = 'Wacom Intuos Pro 2 L'

The WL is appended later on in the process. I'll submit a patch request for libwacom and check at the same time for the Intuos Pro 2 S, as it probably has the same issue. The original hack was for the Pro 2 M, which I have experience with.

tonowie commented 5 years ago

great! thank you! works now :) you can close this issue, I will leave it up to you

tb2097 commented 3 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.

lobaluna commented 6 months ago

Hi, tb2097!

I have a Wacom Intuos Pro S which is not recognized by your program, although Xorg (xinput and xsetwacom) does.

$  xinput
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ USB OPTICAL MOUSE                         id=8    [slave  pointer  (2)]
⎜   ↳ Wacom Intuos Pro S Pen stylus             id=15   [slave  pointer  (2)]
⎜   ↳ Wacom Intuos Pro S Pad pad                id=16   [slave  pointer  (2)]
⎜   ↳ Wacom Intuos Pro S Finger touch           id=17   [slave  pointer  (2)]
⎜   ↳ Wacom Intuos Pro S Pen eraser             id=18   [slave  pointer  (2)]
⎜   ↳ Wacom Intuos Pro S Pen cursor             id=19   [slave  pointer  (2)]

And...

$ xsetwacom --list devices
Wacom Intuos Pro S Pen stylus       id: 15  type: STYLUS    
Wacom Intuos Pro S Pad pad          id: 16  type: PAD       
Wacom Intuos Pro S Finger touch     id: 17  type: TOUCH     
Wacom Intuos Pro S Pen eraser       id: 18  type: ERASER    
Wacom Intuos Pro S Pen cursor       id: 19  type: CURSOR

The message I get is "Device information for "Wacom Intuos Pro 2 S" not found."

If you guide me, I can fix my copy to have the patch needed.