On onsdag 09 maj 2007, Kristoffer Nordström wrote:
> Tjena,

God afton :)

> as the effects are happen regularly, I've posted my xorg.log with debug
> level 6 http://people.ee.ethz.ch/~nordstrk/files/xorg.log (4.2MB) here.
> I can't see where the problem lies, especially it only happens after
> I've suspended the laptop more than once.
>
> If I kill the X server and restart it after I've reset the serial the
> tablet is fully working again.

Ok, I'm really not the right one to answer this, but I've processed your log 
for the those who have a better clue of how the serial tablets work (included 
below).

What does catch my eye is the place where this magic error occur the first 
time:
> BEGIN xf86WcmProc dev=0x825d0c8 priv=0x82478b0 type=stylus(stylus)
> flags=1041 fd=-1 what=ON opening /dev/ttyS0
> usbDetect
> initializing ISDV4 tablet
> initializing as ISDV4 model
> getting ISDV4 Ranges
> initializing ISDV4 tablet
> initializing as ISDV4 model
> getting ISDV4 Ranges
> Wacom Query ISDV4 error magic error
> Failed to open device (fd=39)
> Closing device
> xf86WcmProc ON FAILED

It appear to restart after the first 'getting ISDV4 Ranges' here and then it 
looks like the driver get out-of-sync with the tablet and cannot proceed any 
further.

> Does anybody know where to look further?

I'll have to pass the flag to someone with more knowledge of the serial 
tablets...

Cheers
  Magnus

------------------------------------------------------------
X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: Linux Ubuntu
Current Operating System: Linux atreus 2.6.20.7X60t #15 Tue Apr 24 15:16:28 
CEST 2007 i686
Build Date: 04 April 2007
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue May  8 10:08:47 2007
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "Generic Monitor"
(**) |   |-->Device "Intel Corporation Mobile Integrated Graphics Controller"
(**) |-->Input Device "Generic Keyboard"
(**) |-->Input Device "Configured Mouse"
(**) |-->Input Device "stylus"
(**) |-->Input Device "cursor"
(**) |-->Input Device "eraser"

(II) LoadModule: "kbd"
(II) Loading /usr/lib/xorg/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
        compiled for 7.2.0, module version = 1.1.0
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 0.7
(II) LoadModule: "mouse"
(II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
        compiled for 7.2.0, module version = 1.1.1
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 0.7
(II) LoadModule: "wacom"
(II) Loading /usr/lib/xorg/modules/input//wacom_drv.so
(II) Module wacom: vendor="X.Org Foundation"
        compiled for 4.3.99.902, module version = 1.0.0
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 0.7
(II) Wacom driver level: 47-0.7.7-8 $


(==) Configured Mouse: YAxisMapping: buttons 4 and 5
(**) Configured Mouse: EmulateWheel, EmulateWheelButton: 2, 
EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(**) Configured Mouse: Buttons: 9
(**) Option "SendCoreEvents"
(**) stylus: always reports core events
(**) stylus device is /dev/ttyS0
(**) Option "DebugLevel" "6"
(**) WACOM: debug level set to 6
(**) stylus is in absolute mode
(**) stylus: forcing TabletPC ISD V4 protocol
(**) WACOM: suppress value is 2
(**) Option "Button2" "3"
(**) stylus: button2 assigned to 3
(**) Option "BaudRate" "9600"
(**) stylus: serial speed 9600
xf86WcmInit wacom port share between cursor and stylus
(**) Option "SendCoreEvents"
(**) cursor: always reports core events
(**) cursor device is /dev/ttyS0
(**) WACOM: debug level set to 6
(**) cursor is in relative mode
(**) cursor: forcing TabletPC ISD V4 protocol
(**) WACOM: suppress value is 2
(**) Option "BaudRate" "9600"
(**) cursor: serial speed 9600
xf86WcmInit wacom port share between eraser and cursor
(**) Option "SendCoreEvents"
(**) eraser: always reports core events
(**) eraser device is /dev/ttyS0
(**) WACOM: debug level set to 6
(**) eraser is in absolute mode
(**) eraser: forcing TabletPC ISD V4 protocol
(**) WACOM: suppress value is 2
(**) Option "BaudRate" "9600"
(**) eraser: serial speed 9600
(II) XINPUT: Adding extended input device "eraser" (type: Wacom Eraser)
(II) XINPUT: Adding extended input device "cursor" (type: Wacom Cursor)
(II) XINPUT: Adding extended input device "stylus" (type: Wacom Stylus)
(II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)
(II) XINPUT: Adding extended input device "Generic Keyboard" (type: KEYBOARD)
BEGIN xf86WcmProc dev=0x825d0c8 priv=0x82478b0 type=stylus(stylus) flags=1041 
fd=-1 what=INIT
opening /dev/ttyS0
(**) Option "Device" "/dev/ttyS0"
(**) Option "StopBits" "1"
(**) Option "DataBits" "8"
(**) Option "Parity" "None"
(**) Option "Vmin" "1"
(**) Option "Vtime" "10"
(**) Option "FlowControl" "Xoff"
usbDetect
initializing ISDV4 tablet
initializing as ISDV4 model
getting ISDV4 Ranges
(==) Wacom using pressure threshold of 15 for button 1
(==) Wacom General ISDV4 tablet speed=9600 maxX=24576 maxY=18432 maxZ=255 
resX=2540 resY=2540 suppress=2 tilt=disabled
X factor = 0.0417, Y factor = 0.0417
(==) Wacom device "stylus" top X=0 top Y=0 bottom X=24576 bottom Y=18432
xf86WcmControlProc
END xf86WcmProc Success 
BEGIN xf86WcmProc dev=0x825cfb8 priv=0x82526e0 type=cursor(cursor) flags=1026 
fd=-1 what=INIT
X factor = 0.0417, Y factor = 0.0417
(==) Wacom device "cursor" top X=0 top Y=0 bottom X=24576 bottom Y=18432
xf86WcmControlProc
END xf86WcmProc Success 
BEGIN xf86WcmProc dev=0x825ce90 priv=0x825d340 type=eraser(eraser) flags=1044 
fd=-1 what=INIT
X factor = 0.0417, Y factor = 0.0417
(==) Wacom device "eraser" top X=0 top Y=0 bottom X=24576 bottom Y=18432
xf86WcmControlProc
END xf86WcmProc Success 
(II) Configured Mouse: ps2EnableDataReporting: succeeded
BEGIN xf86WcmProc dev=0x825d0c8 priv=0x82478b0 type=stylus(stylus) flags=1041 
fd=10 what=ON
END xf86WcmProc Success 
BEGIN xf86WcmProc dev=0x825cfb8 priv=0x82526e0 type=cursor(cursor) flags=1026 
fd=10 what=ON
END xf86WcmProc Success 
BEGIN xf86WcmProc dev=0x825ce90 priv=0x825d340 type=eraser(eraser) flags=1044 
fd=10 what=ON
END xf86WcmProc Success 
Could not init font path element /usr/X11R6/lib/X11/fonts/misc, removing from 
list!
Could not init font path element /usr/share/fonts/X11/cyrillic, removing from 
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1, removing from 
list!
[stylus] abs prox=32    x=8475  y=9315  z=71    v3=0    v4=0    v5=0    id=2    
serial=0        
button=true     buttons=1
xf86WcmSetScreen v0=8475 v1=9315
xf86WcmSendButtons buttons=1 for stylus
sendAButton TPCButton(on) button=0 state=1code=00000001, for stylus 
coreEvent=no 
xf86WcmDevConvert v0=8475 v1=9315 
Wacom converted v0=8474 v1=9315 to x=353 y=388
xf86WcmDevReverseConvert x=353 y=388 
Wacom converted x=353 y=388 to v0=8475 v1=9315 v2=71 v3=0 v4=0 v5=0
[stylus] abs prox=0     x=18217 y=13679 z=0     v3=0    v4=0    v5=0    id=2    
serial=0        
button=false    buttons=0
SetGrabKeysState - disabled
BEGIN xf86WcmProc dev=0x825ce90 priv=0x825d340 type=eraser(eraser) flags=1044 
fd=10 what=OFF
Wacom number of open devices = 3
END xf86WcmProc Success 
BEGIN xf86WcmProc dev=0x825cfb8 priv=0x82526e0 type=cursor(cursor) flags=1026 
fd=10 what=OFF
Wacom number of open devices = 2
END xf86WcmProc Success 
BEGIN xf86WcmProc dev=0x825d0c8 priv=0x82478b0 type=stylus(stylus) flags=1041 
fd=10 what=OFF
Wacom number of open devices = 1
Closing device; uninitializing.
END xf86WcmProc Success 
(II) AIGLX: Suspending AIGLX clients for VT switch


BEGIN xf86WcmProc dev=0x825d0c8 priv=0x82478b0 type=stylus(stylus) flags=1041 
fd=-1 what=ON
opening /dev/ttyS0
usbDetect
initializing ISDV4 tablet
initializing as ISDV4 model
getting ISDV4 Ranges
(==) Wacom General ISDV4 tablet speed=9600 maxX=46503 maxY=-47 maxZ=-17 
resX=2540 resY=2540 suppress=2 tilt=disabled
(**) Option "BottomX" "24576"
(**) Option "BottomY" "18432"
X factor = 0.0417, Y factor = 0.0417
(==) Wacom device "stylus" top X=0 top Y=0 bottom X=24576 bottom Y=18432
xf86WcmControlProc
END xf86WcmProc Success 
BEGIN xf86WcmProc dev=0x825cfb8 priv=0x82526e0 type=cursor(cursor) flags=1026 
fd=-1 what=ON
(**) Option "BottomX" "24576"
(**) Option "BottomY" "18432"
X factor = 0.0417, Y factor = 0.0417
(==) Wacom device "cursor" top X=0 top Y=0 bottom X=24576 bottom Y=18432
xf86WcmControlProc
END xf86WcmProc Success 
BEGIN xf86WcmProc dev=0x825ce90 priv=0x825d340 type=eraser(eraser) flags=1044 
fd=-1 what=ON
(**) Option "BottomX" "24576"
(**) Option "BottomY" "18432"
X factor = 0.0417, Y factor = 0.0417
(==) Wacom device "eraser" top X=0 top Y=0 bottom X=24576 bottom Y=18432
xf86WcmControlProc
END xf86WcmProc Success 
(II) Open ACPI successful (/var/run/acpid.socket)
(II) AIGLX: Resuming AIGLX clients after VT switch


(II) Configured Mouse: ps2EnableDataReporting: succeeded
SetGrabKeysState - enabled
SetGrabKeysState - disabled
BEGIN xf86WcmProc dev=0x825ce90 priv=0x825d340 type=eraser(eraser) flags=1044 
fd=10 what=OFF
Wacom number of open devices = 3
END xf86WcmProc Success 
BEGIN xf86WcmProc dev=0x825cfb8 priv=0x82526e0 type=cursor(cursor) flags=1026 
fd=10 what=OFF
Wacom number of open devices = 2
END xf86WcmProc Success 
BEGIN xf86WcmProc dev=0x825d0c8 priv=0x82478b0 type=stylus(stylus) flags=1041 
fd=10 what=OFF
Wacom number of open devices = 1
Closing device; uninitializing.
END xf86WcmProc Success 
(II) AIGLX: Suspending AIGLX clients for VT switch



BEGIN xf86WcmProc dev=0x825d0c8 priv=0x82478b0 type=stylus(stylus) flags=1041 
fd=-1 what=ON
opening /dev/ttyS0
usbDetect
initializing ISDV4 tablet
initializing as ISDV4 model
getting ISDV4 Ranges
(==) Wacom General ISDV4 tablet speed=9600 maxX=24576 maxY=18432 maxZ=255 
resX=2540 resY=2540 suppress=2 tilt=disabled
X factor = 0.0417, Y factor = 0.0417
(==) Wacom device "stylus" top X=0 top Y=0 bottom X=24576 bottom Y=18432
xf86WcmControlProc
END xf86WcmProc Success 
BEGIN xf86WcmProc dev=0x825cfb8 priv=0x82526e0 type=cursor(cursor) flags=1026 
fd=-1 what=ON
X factor = 0.0417, Y factor = 0.0417
(==) Wacom device "cursor" top X=0 top Y=0 bottom X=24576 bottom Y=18432
xf86WcmControlProc
END xf86WcmProc Success 
BEGIN xf86WcmProc dev=0x825ce90 priv=0x825d340 type=eraser(eraser) flags=1044 
fd=-1 what=ON
X factor = 0.0417, Y factor = 0.0417
(==) Wacom device "eraser" top X=0 top Y=0 bottom X=24576 bottom Y=18432
xf86WcmControlProc
END xf86WcmProc Success 
(II) Open ACPI successful (/var/run/acpid.socket)
(II) AIGLX: Resuming AIGLX clients after VT switch



(II) Configured Mouse: ps2EnableDataReporting: succeeded
[stylus] abs prox=32    x=4915  y=11956 z=13    v3=0    v4=0    v5=0    id=2    
serial=0        
button=false    buttons=0
xf86WcmSetScreen v0=4915 v1=11956
xf86WcmSendButtons buttons=0 for stylus
sendAButton TPCButton(on) button=0 state=0code=00000001, for stylus 
coreEvent=no 
xf86WcmDevConvert v0=4915 v1=11956 
Wacom converted v0=4914 v1=11956 to x=205 y=498
xf86WcmDevReverseConvert x=205 y=498 
Wacom converted x=205 y=498 to v0=4915 v1=11956 v2=13 v3=0 v4=0 v5=0
[stylus] abs prox=0     x=5690  y=12201 z=0     v3=0    v4=0    v5=0    id=2    
serial=0        
button=false    buttons=0
SetGrabKeysState - enabled
SetGrabKeysState - disabled
SetGrabKeysState - enabled
SetGrabKeysState - disabled
SetGrabKeysState - enabled
SetGrabKeysState - disabled
SetGrabKeysState - enabled
SetGrabKeysState - disabled
SetGrabKeysState - enabled
SetGrabKeysState - disabled
SetGrabKeysState - enabled
SetGrabKeysState - disabled
BEGIN xf86WcmProc dev=0x825ce90 priv=0x825d340 type=eraser(eraser) flags=1044 
fd=11 what=OFF
Wacom number of open devices = 3
END xf86WcmProc Success 
BEGIN xf86WcmProc dev=0x825cfb8 priv=0x82526e0 type=cursor(cursor) flags=1026 
fd=11 what=OFF
Wacom number of open devices = 2
END xf86WcmProc Success 
BEGIN xf86WcmProc dev=0x825d0c8 priv=0x82478b0 type=stylus(stylus) flags=1041 
fd=11 what=OFF
Wacom number of open devices = 1
Closing device; uninitializing.
END xf86WcmProc Success 
(II) AIGLX: Suspending AIGLX clients for VT switch


BEGIN xf86WcmProc dev=0x825d0c8 priv=0x82478b0 type=stylus(stylus) flags=1041 
fd=-1 what=ON
opening /dev/ttyS0
usbDetect
initializing ISDV4 tablet
initializing as ISDV4 model
getting ISDV4 Ranges
(==) Wacom General ISDV4 tablet speed=9600 maxX=24576 maxY=18432 maxZ=255 
resX=2540 resY=2540 suppress=2 tilt=disabled
X factor = 0.0417, Y factor = 0.0417
(==) Wacom device "stylus" top X=0 top Y=0 bottom X=24576 bottom Y=18432
xf86WcmControlProc
END xf86WcmProc Success 
BEGIN xf86WcmProc dev=0x825cfb8 priv=0x82526e0 type=cursor(cursor) flags=1026 
fd=-1 what=ON
X factor = 0.0417, Y factor = 0.0417
(==) Wacom device "cursor" top X=0 top Y=0 bottom X=24576 bottom Y=18432
xf86WcmControlProc
END xf86WcmProc Success 
BEGIN xf86WcmProc dev=0x825ce90 priv=0x825d340 type=eraser(eraser) flags=1044 
fd=-1 what=ON
X factor = 0.0417, Y factor = 0.0417
(==) Wacom device "eraser" top X=0 top Y=0 bottom X=24576 bottom Y=18432
xf86WcmControlProc
END xf86WcmProc Success 
(II) Open ACPI successful (/var/run/acpid.socket)
(II) AIGLX: Resuming AIGLX clients after VT switch


(II) Configured Mouse: ps2EnableDataReporting: succeeded
[stylus] abs prox=32    x=6865  y=13972 z=217   v3=0    v4=0    v5=0    id=2    
serial=0        
button=true     buttons=1
xf86WcmSetScreen v0=6865 v1=13972
xf86WcmSendButtons buttons=1 for stylus
sendAButton TPCButton(on) button=0 state=1code=00000001, for stylus 
coreEvent=no 
xf86WcmDevConvert v0=6865 v1=13972 
Wacom converted v0=6864 v1=13972 to x=286 y=582
xf86WcmDevReverseConvert x=286 y=582 
Wacom converted x=286 y=582 to v0=6865 v1=13972 v2=217 v3=0 v4=0 v5=0
[stylus] abs prox=0     x=6766  y=13506 z=0     v3=0    v4=0    v5=0    id=2    
serial=0        
button=false    buttons=0
SetGrabKeysState - enabled
SetGrabKeysState - disabled
SetGrabKeysState - enabled
SetGrabKeysState - disabled
BEGIN xf86WcmProc dev=0x825ce90 priv=0x825d340 type=eraser(eraser) flags=1044 
fd=39 what=OFF
Wacom number of open devices = 3
END xf86WcmProc Success 
BEGIN xf86WcmProc dev=0x825cfb8 priv=0x82526e0 type=cursor(cursor) flags=1026 
fd=39 what=OFF
Wacom number of open devices = 2
END xf86WcmProc Success 
BEGIN xf86WcmProc dev=0x825d0c8 priv=0x82478b0 type=stylus(stylus) flags=1041 
fd=39 what=OFF
Wacom number of open devices = 1
Closing device; uninitializing.
END xf86WcmProc Success 
(II) AIGLX: Suspending AIGLX clients for VT switch



BEGIN xf86WcmProc dev=0x825d0c8 priv=0x82478b0 type=stylus(stylus) flags=1041 
fd=-1 what=ON
opening /dev/ttyS0
usbDetect
initializing ISDV4 tablet
initializing as ISDV4 model
getting ISDV4 Ranges
initializing ISDV4 tablet
initializing as ISDV4 model
getting ISDV4 Ranges
Wacom Query ISDV4 error magic error 
Failed to open device (fd=39)
Closing device
xf86WcmProc ON FAILED
BEGIN xf86WcmProc dev=0x825cfb8 priv=0x82526e0 type=cursor(cursor) flags=1026 
fd=-1 what=ON
opening /dev/ttyS0
(**) Option "Device" "/dev/ttyS0"
(**) Option "StopBits" "1"
(**) Option "DataBits" "8"
(**) Option "Parity" "None"
(**) Option "Vmin" "1"
(**) Option "Vtime" "10"
(**) Option "FlowControl" "Xoff"
usbDetect
initializing ISDV4 tablet
initializing as ISDV4 model
getting ISDV4 Ranges
Wacom Query ISDV4 error magic error 
Failed to open device (fd=39)
Closing device
xf86WcmProc ON FAILED
(II) Open ACPI successful (/var/run/acpid.socket)
(II) AIGLX: Resuming AIGLX clients after VT switch



BEGIN xf86WcmProc dev=0x825ce90 priv=0x825d340 type=eraser(eraser) flags=1044 
fd=-1 what=ON
opening /dev/ttyS0
(**) Option "Device" "/dev/ttyS0"
(**) Option "StopBits" "1"
(**) Option "DataBits" "8"
(**) Option "Parity" "None"
(**) Option "Vmin" "1"
(**) Option "Vtime" "10"
(**) Option "FlowControl" "Xoff"
usbDetect
initializing ISDV4 tablet
initializing as ISDV4 model
getting ISDV4 Ranges
Wacom Query ISDV4 error magic error 
Failed to open device (fd=40)
Closing device
xf86WcmProc ON FAILED
BEGIN xf86WcmProc dev=0x825cfb8 priv=0x82526e0 type=cursor(cursor) flags=1026 
fd=-1 what=ON
opening /dev/ttyS0
usbDetect
initializing ISDV4 tablet
initializing as ISDV4 model
getting ISDV4 Ranges
Wacom Query ISDV4 error magic error 
Failed to open device (fd=40)
Closing device
xf86WcmProc ON FAILED
BEGIN xf86WcmProc dev=0x825d0c8 priv=0x82478b0 type=stylus(stylus) flags=1041 
fd=-1 what=ON
opening /dev/ttyS0
usbDetect
initializing ISDV4 tablet
initializing as ISDV4 model
getting ISDV4 Ranges
Wacom Query ISDV4 error magic error 
Failed to open device (fd=40)
Closing device
xf86WcmProc ON FAILED
(II) Configured Mouse: ps2EnableDataReporting: succeeded
BEGIN xf86WcmProc dev=0x825ce90 priv=0x825d340 type=eraser(eraser) flags=1044 
fd=-1 what=ON
opening /dev/ttyS0
usbDetect
initializing ISDV4 tablet
initializing as ISDV4 model
getting ISDV4 Ranges
Wacom Query ISDV4 error magic error 
Failed to open device (fd=11)
Closing device
xf86WcmProc ON FAILED
SetGrabKeysState - enabled

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Linuxwacom-discuss mailing list
Linuxwacom-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss

Reply via email to