Bug 118795

Summary: wacomcpl does not start with a configured tablet on a Tablet PC
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Danny Al-Gaaf <dalgaaf>
Component: X.OrgAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED FIXED QA Contact: Stefan Dirsch <sndirsch>
Severity: Major    
Priority: P5 - None CC: ms
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: xorg.conf
Xorg.0.log
sample code

Description Danny Al-Gaaf 2005-09-26 13:49:46 UTC
If I start wacomcpl with a correct working xorg.conf for a wacom Tablet PC (FSC 
T3010) I get always this error:

wacomcpl: using TCLLIBPATH="[list  /usr/lib ]"
Error in startup script: Error (5): WacomConfigSetRawParam: Unknown X error
Set: Failed to set eraser value for 'FileModel'
    while executing
"exec xsetwacom set $dev FileModel"
    (procedure "createControls" line 25)
    invoked from within
"createControls"
    (file "/usr/bin/wacomcpl-exec" line 1012)

This tool worked with SUSE 9.3 and work again with the package version 0.7.
Comment 1 Stefan Dirsch 2005-09-26 14:24:48 UTC
I see a different problem (warning in a window):

"We didn't find any Wacom device. PLease make sure the device's type (stylus,
eraser, or cursor) is enabled into its identifier string."
Comment 2 Stefan Dirsch 2005-09-26 14:27:32 UTC
Created attachment 50833 [details]
xorg.conf
Comment 3 Stefan Dirsch 2005-09-26 14:28:07 UTC
Created attachment 50834 [details]
Xorg.0.log
Comment 4 Stefan Dirsch 2005-09-27 06:38:38 UTC
Danny, I'm afraid I need your help. Either your help in setting up my wacom 
tablet or your preconfigured Laptop. 
Comment 5 Stefan Dirsch 2005-10-12 13:17:54 UTC
Danny, still alive?
Comment 6 Danny Al-Gaaf 2005-10-12 22:08:07 UTC
Yes call me and we can work on this bugs.
Comment 7 Stefan Dirsch 2005-11-23 14:20:36 UTC
> I see a different problem (warning in a window):
>
> "We didn't find any Wacom device. PLease make sure the device's type
> (stylus,eraser, or cursor) is enabled into its identifier string."

wacomcpl calls xsetwacom and xsetwacom only detects the device type depending on the device identifier. It must contain stylus, eraser or cursor. This cannot work, since SaX2 uses a different scheme ("Mouse[i]"). I think it's pretty - let's say - uncommon what xsetwacom does. I'll try to contact the author about this issue, but I can't promise anything right now. Maybe I need to drop wacomcpl because of this problem.
Comment 8 Stefan Dirsch 2005-11-23 14:30:53 UTC
Adding Marcus. He had an idea using libxf86config instead of XDeviceInfo structure.
Comment 9 Stefan Dirsch 2005-11-23 14:33:26 UTC
( package x11-input-wacom-tools: src/xsetwacom.c:ListDev() )
Comment 10 Stefan Dirsch 2005-11-23 14:53:17 UTC
Output of "xsetwacom list" should be

<Identifier> <wacom-type>

Example (faked by renaming Identifiers in xorg.conf):

sndirsch@g176:~> xsetwacom list
Mouse[7]-eraser  eraser    
Mouse[5]-stylus  pad       
Mouse[3]-cursor  cursor    
Comment 11 Stefan Dirsch 2005-11-23 16:12:03 UTC
Created attachment 58456 [details]
sample code
Comment 12 Stefan Dirsch 2005-11-23 17:21:44 UTC
fixed for Alpha4. Credits go to ms@suse.de!