Tablet PC Pen input stopped working from dapper to edgy to feisty

Bug #66646 reported by Vince
12
Affects Status Importance Assigned to Milestone
wacom-tools (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I own a Toshiba Portégé M200 tablet PC, when upgrading from dapper to edgy, tablet input stopped working.

The touchscreen is recognised as a wacom tablet on a serial port.

The xorg output log contains these errors :

(**) Option "Device" "/dev/wacom"
usbDetect
initializing ISDV4 tablet
Wacom xf86WcmWrite error : Input/output error
Failed to open device (fd=12)
Closing device
Failed to initialize device
xf86WcmProc try to open pWcm=0x8221150 again
xf86WcmInitDevice: opening /dev/wacom
usbDetect
initializing ISDV4 tablet
Wacom xf86WcmWrite error : Input/output error
Failed to open device (fd=12)
[...] Some more

Well, anyway, tried this also
root@adelpha:/# cat /dev/wacom
cat: /dev/wacom: Erreur d'entrée/sortie
root@adelpha:/dev# ls -l {ttyS*,wacom}
crw-rw---- 1 root dialout 4, 64 2006-10-18 02:44 ttyS0
crw-rw---- 1 root dialout 4, 65 2006-10-18 02:44 ttyS1
crw-rw---- 1 root dialout 4, 66 2006-10-18 02:44 ttyS2
crw-rw---- 1 root dialout 4, 67 2006-10-18 02:44 ttyS3
lrwxrwxrwx 1 root root 10 2006-10-18 00:44 wacom -> /dev/ttyS0

Which seems to show the problem is not from xorg.
It is probably either with the kernel or with the wacom init scripts.

Btw, I use /dev/wacom as a device in xorg.conf (which points to ttyS0 (tried it also, but doesn't change a thing)).

The tablet was perfectly working in dapper.

If any more info is required, just ask, it'll be there in no time ;)

Revision history for this message
Vince (v-brz) wrote :

Just noticed I got a bunch of those in dmesg

[17179921.648000] ttyS0: LSR safety check engaged!
[17179924.896000] ttyS0: LSR safety check engaged!
[17179931.104000] ttyS0: LSR safety check engaged!

Revision history for this message
Jerome S. Gotangco (jsgotangco) wrote :

Can you attach Xorg.0.log and check if this issue is still existing with your current installation (Edgy) and if possible check it with Feisty?

Changed in xorg:
assignee: nobody → ubuntu-x-swat
status: Unconfirmed → Needs Info
Revision history for this message
Vince (v-brz) wrote :

Alright, so, to resume what can be found in the Xorg.0.log (because I'd say the problem is not from X) :
(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-7 $
[...]
(**) stylus: always reports core events
(**) stylus device is /dev/wacom
(**) stylus is in absolute mode
(**) stylus: forcing TabletPC ISD V4 protocol
(**) WACOM: suppress value is 2
(**) Option "BaudRate" "9600"
(**) stylus: serial speed 9600
(**) Option "SendCoreEvents"
(**) cursor: always reports core events
(**) cursor device is /dev/wacom
(**) cursor is in relative mode
(**) cursor: forcing TabletPC ISD V4 protocol
(**) WACOM: suppress value is 2
(**) Option "BaudRate" "9600"
(**) cursor: serial speed 9600
(**) Option "SendCoreEvents"
(**) eraser: always reports core events
(**) eraser device is /dev/wacom
(**) 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 "Synaptics Touchpad" (type: MOUSE)
(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)
(**) Option "Device" "/dev/wacom"
Wacom xf86WcmWrite error : Input/output error
(**) Option "Device" "/dev/wacom"
Wacom xf86WcmWrite error : Input/output error
(**) Option "Device" "/dev/wacom"
Wacom xf86WcmWrite error : Input/output error

more interesting info :
$ dmesg | grep wac
[ 24.432000] usbcore: registered new interface driver wacom
[ 24.432000] drivers/usb/input/wacom_sys.c: v1.46:USB Wacom Graphire and Wacom Intuos tablet driver

$ ls -l /etc/wacom
lrwxrwxrwx 1 root root 10 2007-04-21 10:29 wacom -> /dev/ttyS0

$ cat /dev/wacom
cat: /dev/wacom: Aucun périphérique de ce type (Means "no peripheral of this type/kind")
$ cat /dev/ttyS0
cat: /dev/ttyS0: Aucun périphérique de ce type

$ ls /sys/bus/pnp/devices/ | gawk '{ print "cat "$0"/id"}' | sh
PNP0c01
PNP0a03
PNP0200
PNP0800
PNP0c04
TOS7406
PNP0303
PNP0f13
PNP0b00
PNP0c02
WACf004
SMCf030

$ cat /sys/bus/pnp/devices/00:09/id
WACf004
$ ls /sys/bus/pnp/devices/00:09
bus driver id options power resources subsystem tty:ttyS0 uevent

The device is detected by the kernel, but somehow, it doesn't get bound to ttyS0 ?
I don't get what happening here

Revision history for this message
Vince (v-brz) wrote :

Actually, with sufficient permission :

root@adelpha:/dev# cat ttyS0
cat: ttyS0: Erreur d'entrée/sortie (mean : IO Error)
root@adelpha:/dev# cat wacom
cat: wacom: Erreur d'entrée/sortie
root@adelpha:/dev# setserial ttyS0
ttyS0, UART: 16550A, Port: 0x0338, IRQ: 4
root@adelpha:/dev# setserial -a ttyS0
ttyS0, Line 0, UART: 16550A, Port: 0x0338, IRQ: 4
        Baud_base: 115200, close_delay: 50, divisor: 0
        closing_wait: 3000
        Flags: spd_normal skip_t

Revision history for this message
Vince (v-brz) wrote :

Also I forgot to mention, I run feisty now, situation hasn't changed, it still doesn't work. I'm unable to test it under edgy anymore.

Bryce Harrington (bryce)
Changed in xorg:
status: Needs Info → Unconfirmed
Bryce Harrington (bryce)
Changed in xorg:
status: New → Confirmed
Revision history for this message
frith (frith-foottit) wrote :

I have this same problem... I have performed the same steps and I get the same results.

Can anyone offer a suggestion?

Frith.

Revision history for this message
mrbrown8 (mrbrown8) wrote :

I too have a Toshiba Portégé M200 running Edgy/6.10. The descriptions that Vince give also mirror the symptoms I see. Some kind of disconnect between the kernel and the ttyS0 serial port. If Vince sees the problem in Feisty, I'm hesitant to upgrade.

What information can I provide to help narrow down the problem? TIA

Revision history for this message
frith (frith-foottit) wrote :

If I may add something else to the discussion:

My *first* install of ubuntu was Feisty, and it worked at first.

Since working initially, now it doesn't - and the symptoms are the same as above.

A friend of mine says that it could be the kernel version, but I'm not up to recompiling my kernel just yet...

Frith.

Revision history for this message
mrbrown8 (mrbrown8) wrote :

I first installed Dapper. The tablet worked fine. Ever since I upgraded to Etch, the tablet stopped working.

I will post my Xorg.log and dmesg outputs for analysis.

Revision history for this message
mrbrown8 (mrbrown8) wrote :
Download full text (39.8 KiB)

$ cat /var/log/Xorg.0.log

X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.15.7 i686
Current Operating System: Linux janus 2.6.17-12-generic #2 SMP Sun Sep 23 22:56:28 UTC 2007 i686
Build Date: 07 July 2006
 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: Sat Oct 13 20:37:20 2007
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) | |-->Monitor "Generic Monitor"
(**) | |-->Device "NVIDIA Corporation NV34M [GeForce FX Go5200 32M/64M]"
(**) |-->Input Device "Generic Keyboard"
(**) |-->Input Device "Configured Mouse"
(**) |-->Input Device "stylus"
(**) |-->Input Device "cursor"
(**) |-->Input Device "eraser"
(**) |-->Input Device "Synaptics Touchpad"
(WW) The directory "/usr/share/X11/fonts/cyrillic" does not exist.
 Entry deleted from font path.
(**) FontPath set to:
 /usr/share/X11/fonts/misc,
 /usr/share/X11/fonts/100dpi/:unscaled,
 /usr/share/X11/fonts/75dpi/:unscaled,
 /usr/share/X11/fonts/Type1,
 /usr/share/X11/fonts/100dpi,
 /usr/share/X11/fonts/75dpi,
 /usr/share/fonts/X11/misc,
 /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
 /usr/share/fonts/X11/misc/,
 /usr/share/fonts/X11/TTF/,
 /usr/share/fonts/X11/OTF,
 /usr/share/fonts/X11/Type1/,
 /usr/share/fonts/X11/CID/,
 /usr/share/fonts/X11/100dpi/,
 /usr/share/fonts/X11/75dpi/
(==) RgbPath set to "/usr/share/X11/rgb"
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Module ABI versions:
 X.Org ANSI C Emulation: 0.3
 X.Org Video Driver: 1.0
 X.Org XInput driver : 0.6
 X.Org Server Extension : 0.3
 X.Org Font Renderer : 0.5
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/lib/xorg/modules/fonts/libbitmap.so
(II) Module bitmap: vendor="X.Org Foundation"
 compiled for 7.1.1, module version = 1.0.0
 Module class: X.Org Font Renderer
 ABI class: X.Org Font Renderer, version 0.5
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/lib/xorg/modules/libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
 compiled for 7.1.1, module version = 1.0.0
 ABI class: X.Org Video Driver, version 1.0
(++) using VT number 7

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,3340 card 1179,0001 rev 21 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 8086,3341 card 0000,0000 rev 21 class 06,04,00 hdr 01
(II) PCI: 00:1d:0: chip 8086,24c2 card 1179,0001 rev 03 class 0c,03,00 hdr 80
(II) PCI: 00:1d:1: chip 8086,24c4 card 1179,0001 rev 03 class 0c,03,00 hdr 00
(II) PCI: 00:1d:2: chip 8086,24c7 card 1179,0001 rev 03 class 0c,03,00 hdr 00
(II) PCI: 00:1d:7: chip 8086,24cd card 1179,0001 rev 03 class 0c,03,20 hdr 00
(II) PCI: 00:1e:0: chip 8086,2448 card 0000,0000 rev 83 class 06,04,00 hdr 01
(II) PCI: 00:1f:0: chip 8086,24cc card 0000,000...

Revision history for this message
mrbrown8 (mrbrown8) wrote :
Download full text (22.6 KiB)

$ dmesg
[17179569.184000] Linux version 2.6.17-12-generic (root@terranova) (gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)) #2 SMP Sun Sep 23 22:56:28 UTC 2007 (Ubuntu 2.6.17-12.41-generic)
[17179569.184000] BIOS-provided physical RAM map:
[17179569.184000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[17179569.184000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[17179569.184000] BIOS-e820: 00000000000e0000 - 00000000000eee00 (reserved)
[17179569.184000] BIOS-e820: 00000000000eee00 - 00000000000ef000 (ACPI NVS)
[17179569.184000] BIOS-e820: 00000000000ef000 - 0000000000100000 (reserved)
[17179569.184000] BIOS-e820: 0000000000100000 - 000000001ffc0000 (usable)
[17179569.184000] BIOS-e820: 000000001ffc0000 - 000000001ffd0000 (reserved)
[17179569.184000] BIOS-e820: 000000001ffd0000 - 000000001ffe0000 (ACPI data)
[17179569.184000] BIOS-e820: 000000001ffe0000 - 0000000020000000 (reserved)
[17179569.184000] BIOS-e820: 00000000feda0000 - 00000000fedc0000 (reserved)
[17179569.184000] BIOS-e820: 00000000ffb80000 - 00000000ffc00000 (reserved)
[17179569.184000] BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
[17179569.184000] 0MB HIGHMEM available.
[17179569.184000] 511MB LOWMEM available.
[17179569.184000] On node 0 totalpages: 131008
[17179569.184000] DMA zone: 4096 pages, LIFO batch:0
[17179569.184000] Normal zone: 126912 pages, LIFO batch:31
[17179569.184000] DMI 2.3 present.
[17179569.184000] ACPI: RSDP (v000 TOSHIB ) @ 0x000f0210
[17179569.184000] ACPI: RSDT (v001 TOSHIB 750 0x00970814 TASM 0x04010000) @ 0x1ffd0000
[17179569.184000] ACPI: FADT (v002 TOSHIB 750 0x20030101 TASM 0x04010000) @ 0x1ffd005c
[17179569.184000] ACPI: SSDT (v001 TOSHIB A0009 0x20040107 MSFT 0x0100000e) @ 0x1ffd453a
[17179569.184000] ACPI: DBGP (v001 TOSHIB 750 0x00970814 TASM 0x04010000) @ 0x1ffd00e0
[17179569.184000] ACPI: BOOT (v001 TOSHIB 750 0x00970814 TASM 0x04010000) @ 0x1ffd0034
[17179569.184000] ACPI: DSDT (v001 TOSHIB A0009 0x20040107 MSFT 0x0100000e) @ 0x00000000
[17179569.184000] ACPI: PM-Timer IO Port: 0xd808
[17179569.184000] Allocating PCI resources starting at 30000000 (gap: 20000000:deda0000)
[17179569.184000] Built 1 zonelists
[17179569.184000] Kernel command line: root=UUID=376743d1-8842-44ed-a894-cbf7a1a4ba1c ro quiet splash
[17179569.184000] Local APIC disabled by BIOS (or by default) -- you can enable it with "lapic"
[17179569.184000] mapped APIC to ffffd000 (0140b000)
[17179569.184000] Enabling fast FPU save and restore... done.
[17179569.184000] Enabling unmasked SIMD FPU exception support... done.
[17179569.184000] Initializing CPU#0
[17179569.184000] PID hash table entries: 2048 (order: 11, 8192 bytes)
[17179569.184000] Detected 1496.423 MHz processor.
[17179569.184000] Using pmtmr for high-res timesource
[17179569.184000] Console: colour VGA+ 80x25
[17179573.164000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[17179573.164000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[17179573.180000] Memory: 508384k/524032k available (1911k kernel code, 15100k reserved, 1073k data, 308k init, 0k highm...

Revision history for this message
mrbrown8 (mrbrown8) wrote :

$ sudo -i
Password:
root@janus:~# find /dev | grep -i wacom
/dev/wacom
root@janus:~# ls -alF /dev/wacom
lrwxrwxrwx 1 root root 10 2007-10-13 20:37 /dev/wacom -> /dev/ttyS0
root@janus:~# setserial /dev/ttyS0 port 0x0338 irq 4 autoconfig
root@janus:~# setserial -a /dev/ttyS0
/dev/ttyS0, Line 0, UART: 16550A, Port: 0x0338, IRQ: 4
        Baud_base: 115200, close_delay: 50, divisor: 0
        closing_wait: 3000
        Flags: spd_normal skip_test

root@janus:~# wacdump -f c100 /dev/ttyS0
WacomOpenTablet: Invalid argument
root@janus:~# wacdump -v /dev/ttyS0
22:02:02.709 INFO: Opening log
WacomOpenTablet: Invalid argument

Revision history for this message
mrbrown8 (mrbrown8) wrote :

I think at this point, I see the problem lying somewhere deeper than in Xorg. Would it make more sense to assign this bug to a different team? Thanks to anyone looking.

Revision history for this message
mrbrown8 (mrbrown8) wrote :

Changing the project this affects to try to get different eyes to look

Revision history for this message
frith (frith-foottit) wrote :

Hi guys,

Not sure if this is a 'solution' as such, but since it works initially, if you do a complete reinstall then the stylus will work. I wish there were a better solution (hoping someone can work it out...), but for the time being I got mine to work by backing up my home folder and doing a reinstall (which also reformats the partition, so you will lose everything you haven't backed up).

Not for the faint of heart :)

Frith.

Revision history for this message
dornelas (dornelas) wrote :

I had this same problem when upgrading from Feisty to Gusty on my Toshiba Protege M400. I edited my /etc/X11/xorg.conf and changed the lines

 Option "Device" "/dev/wacom"

to

  Option "Device" "/dev/input/wacom"

then restarted X. Both /dev/wacom and /dev/input/wacom are symlinks to /dev/ttyS0, so I'm not sure why this made a difference.

Revision history for this message
Pablo Castellano (pablocastellano) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Can you try with latest Ubuntu release? Thanks in advance.

Changed in wacom-tools:
status: Confirmed → Incomplete
Bryce Harrington (bryce)
Changed in wacom-tools:
assignee: ubuntu-x-swat → nobody
Revision history for this message
frith (frith-foottit) wrote :

The tablet is working fine for me now - really it only stopped working for a while. My 'solution' was to reinstall (Gutsy at the time). Now I'm on Hardy and it still works fine.

I was never able to discover what stopped it from working, but its all fine now.

Frith.

Revision history for this message
Pablo Castellano (pablocastellano) wrote :

I'm closing this bug because it seems that was caused upgrading from dapper2edgy and there's no way to reproduce it. Thanks for your reply.

Changed in wacom-tools:
status: Incomplete → Invalid
Revision history for this message
mrbrown8 (mrbrown8) wrote :

The tablet started working for me when I was able to remove everthing IRDA related.

Revision history for this message
gw0 (gw-launchpad) wrote :

Although I am using a fresh installation of Ubuntu 8.10 on Toshiba Portege M200, I can confirm that I experienced identical symptoms as a consequence of installing "irda-utils". The "/etc/init.d/irda-setup" script in my case runs "modprobe smsc-ircc2" what somehow breaks "/dev/ttyS0" (does this also if I specify another port, eg. 0.2f8).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.