Wacom Tablet is only recognized on first plug

Bug #511844 reported by ScislaC
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
xf86-input-wacom (Ubuntu)
Invalid
High
Unassigned
Declined for Lucid by Bryce Harrington

Bug Description

1) I'm using Ubuntu Lucid
2) xserver-xorg-input-wacom - 0.10.3+20100109-1ubuntu1
3) I expected hotplugging to work properly on more than one plug.
4) It appears that hotplugging only works on the first plug. The tablet works properly as expected during this session, however if I unplug and plug the tablet in again it will not work any longer.

After the first plugging in (and unplugging) of my tablet no more information about it is added to my Xorg log.

My copy of Lucid has all updates applied as of this posting, no non-standard kernel or X-related packages are installed (no ppas or other repos that would affect this), and the tablet is a Wacom Intuos 2.

It actually takes a full reboot for the tablet to be recognized again, restarting the X session isn't enough (this is based on my assumption that the X session completely terminates as it used to on logging out).
---
Architecture: i386
DistroRelease: Ubuntu 10.04
DkmsStatus:
 virtualbox-ose, 3.1.2, 2.6.32-8-generic-pae, i686: built
 virtualbox-ose, 3.1.2, 2.6.32-9-generic-pae, i686: built
 virtualbox-ose, 3.1.2, 2.6.32-10-generic-pae, i686: installed
 virtualbox-ose, 3.1.2, 2.6.32-11-generic-pae, i686: installed
MachineType: Dell Inc. MM061
Package: xserver-xorg 1:7.5+1ubuntu2
PackageArchitecture: i386
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-11-generic-pae root=UUID=c53287b2-805d-451c-938f-738d1170612e ro quiet splash
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-11.15-generic-pae
RelatedPackageVersions:
 xserver-xorg 1:7.5+1ubuntu2
 libgl1-mesa-glx 7.7-0ubuntu8
 libdrm2 2.4.17-0ubuntu2
 xserver-xorg-video-intel 2:2.9.1-1ubuntu1
Tags: lucid
Uname: Linux 2.6.32-11-generic-pae i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 06/13/2007
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A17
dmi.board.name: 0XD720
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA17:bd06/13/2007:svnDellInc.:pnMM061:pvr:rvnDellInc.:rn0XD720:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: MM061
dmi.sys.vendor: Dell Inc.
system:
 distro: Ubuntu
 architecture: i686kernel: 2.6.32-11-generic-pae

Revision history for this message
ScislaC (scislac) wrote : BootDmesg.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
ScislaC (scislac) wrote : CurrentDmesg.txt

apport information

Revision history for this message
ScislaC (scislac) wrote : Dependencies.txt

apport information

Revision history for this message
ScislaC (scislac) wrote : Lspci.txt

apport information

Revision history for this message
ScislaC (scislac) wrote : Lsusb.txt

apport information

Revision history for this message
ScislaC (scislac) wrote : PciDisplay.txt

apport information

Revision history for this message
ScislaC (scislac) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
ScislaC (scislac) wrote : ProcInterrupts.txt

apport information

Revision history for this message
ScislaC (scislac) wrote : ProcModules.txt

apport information

Revision history for this message
ScislaC (scislac) wrote : UdevDb.txt

apport information

Revision history for this message
ScislaC (scislac) wrote : UdevLog.txt

apport information

Revision history for this message
ScislaC (scislac) wrote : XorgConf.txt

apport information

Revision history for this message
ScislaC (scislac) wrote : XorgLog.gz

apport information

Revision history for this message
ScislaC (scislac) wrote : XorgLogOld.gz

apport information

Revision history for this message
ScislaC (scislac) wrote : Xrandr.txt

apport information

Revision history for this message
ScislaC (scislac) wrote : glxinfo.txt

apport information

Revision history for this message
ScislaC (scislac) wrote : monitors.xml.txt

apport information

Revision history for this message
ScislaC (scislac) wrote : setxkbmap.txt

apport information

Revision history for this message
ScislaC (scislac) wrote : xdpyinfo.txt

apport information

Revision history for this message
ScislaC (scislac) wrote : xkbcomp.txt

apport information

Revision history for this message
Bryce Harrington (bryce) wrote :

<bryceh> ScislaC, maybe also syslog... like boot with it plugged in, capture that syslog to the bug report, then unplug it, note whatever new stuff shows in the log, then plug it in again, and get that as well
 ScislaC, this may be a general usb hotplug issue unrelated to X, it's probably a kernel issue, but the syslog output would (hopefully) be informative of what is going on
 another thing which might be of interest is to look at the output of lsusb for the three configurations as well
 in theory the first and third cases should have identical lsusb output

Changed in xf86-input-wacom (Ubuntu):
importance: Undecided → High
milestone: none → lucid-alpha-3
status: New → Incomplete
Revision history for this message
ScislaC (scislac) wrote :

The lsusb info is identical as you thought for the initial boot with it plugged in and on the reconnect. Here is the output just for the sake of providing it.

Bus 005 Device 002: ID 413c:8103 Dell Computer Corp. Wireless 350 Bluetooth
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 056a:0042 Wacom Co., Ltd Intuos 2 6x8
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Attaching syslog info from this boot.

Bryce Harrington (bryce)
Changed in xf86-input-wacom (Ubuntu):
status: Incomplete → Confirmed
tags: added: hotplugging
Bryce Harrington (bryce)
tags: added: lucid
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

There's a new version in lucid, does it work better with it?

Changed in xf86-input-wacom (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

actually, this looks like a dupe of bug 532137, can you confirm?

Revision history for this message
ScislaC (scislac) wrote :

If mine was filed first, how is mine the dupe? ;)

And no, mine did work even if plugged in after boot... but only on the first plug. This may have changed with a newer version of the driver (as I haven't tested again in over 6 weeks). I am currently letting a friend borrow my tablet, but as soon as I get it back I will test again to see if the newer version fixes the problem or makes it worse (per 532137).

Bryce Harrington (bryce)
Changed in xf86-input-wacom (Ubuntu):
status: Incomplete → New
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

ok, setting back to incomplete to wait for the feedback

Changed in xf86-input-wacom (Ubuntu):
status: New → Incomplete
Revision history for this message
Bryce Harrington (bryce) wrote :

[Declined lucid nomination since bug is still waiting on feedback]

Changed in xf86-input-wacom (Ubuntu):
status: Incomplete → New
status: New → Incomplete
Revision history for this message
Bryce Harrington (bryce) wrote :

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help.

Changed in xf86-input-wacom (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Tim Cole (tcole) wrote :

Still broken for me in latest lucid.

Changed in xf86-input-wacom (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
Tim Cole (tcole) wrote :
Download full text (4.2 KiB)

It seems, actually, that udev and the xinput bits in the xorg server are at least doing what they should. Subsequent plugs and unplugs are reflected as they should be in udev:

unplugged:

KERNEL[1277184780.285111] remove /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/input/input14/mouse2 (input)
UDEV [1277184780.286381] remove /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/input/input14/mouse2 (input)
KERNEL[1277184780.302796] remove /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/input/input14/event9 (input)
UDEV [1277184780.304761] remove /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/input/input14/event9 (input)
KERNEL[1277184780.327540] remove /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/input/input14 (input)
KERNEL[1277184780.327636] remove /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0 (usb)
KERNEL[1277184780.327711] remove /devices/pci0000:00/0000:00:1d.0/usb5/5-1 (usb)
UDEV [1277184780.328623] remove /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/input/input14 (input)
UDEV [1277184780.331565] remove /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0 (usb)
UDEV [1277184780.333572] remove /devices/pci0000:00/0000:00:1d.0/usb5/5-1 (usb)

plugged back in:

KERNEL[1277184783.283183] add /devices/pci0000:00/0000:00:1d.0/usb5/5-1 (usb)
KERNEL[1277184783.286445] add /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0 (usb)
KERNEL[1277184783.286574] add /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/input/input15 (input)
KERNEL[1277184783.286645] add /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/input/input15/mouse2 (input)
KERNEL[1277184783.286701] add /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/input/input15/event9 (input)
UDEV [1277184783.290221] add /devices/pci0000:00/0000:00:1d.0/usb5/5-1 (usb)
UDEV [1277184783.291774] add /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0 (usb)
UDEV [1277184783.295786] add /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/input/input15 (input)
UDEV [1277184783.301355] add /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/input/input15/mouse2 (input)
UDEV [1277184783.304153] add /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/input/input15/event9 (input)

And similarly in the Xorg side:

unplugged:

(EE) Wacom Intuos2 6x8: Error reading wacom device : No such device
(II) config/udev: removing device Wacom Intuos2 6x8
(II) Wacom Intuos2 6x8: removing automatically added devices.
(II) Wacom Intuos2 6x8: removing dependent device 'Wacom Intuos2 6x8 cursor'
(II) UnloadModule: "wacom"
(II) Wacom Intuos2 6x8: removing dependent device 'Wacom Intuos2 6x8 eraser'
(II) UnloadModule: "wacom"
(II) UnloadModule: "wacom"

plugged back in:

(II) config/udev: Adding input device Wacom Intuos2 6x8 (/dev/input/mouse2)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device Wacom Intuos2 6x8 (/dev/input/event9)
(**) Wacom Intuos2 6x8: Applying InputClass "evdev tablet catchall"
(**) Wacom Intuos2 6x8: Applying InputClass "Wacom class"
(**) Option "Device" "/dev/input/event9"
(II) Wacom Intuos2 6x8: type not specified, assuming 'stylus'.
(II) Wacom Intuos2 6x8: other types wi...

Read more...

Revision history for this message
Tim Cole (tcole) wrote :

`xinput list` even shows the expected:

unplugged:

⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=11 [slave pointer (2)]
⎜ ↳ Macintosh mouse button emulation id=12 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
    ↳ Power Button id=6 [slave keyboard (3)]
    ↳ Video Bus id=7 [slave keyboard (3)]
    ↳ Power Button id=8 [slave keyboard (3)]
    ↳ CNF7051 id=9 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=10 [slave keyboard (3)]

Plugged back in:

⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=11 [slave pointer (2)]
⎜ ↳ Macintosh mouse button emulation id=12 [slave pointer (2)]
⎜ ↳ Wacom Intuos2 6x8 eraser id=13 [slave pointer (2)]
⎜ ↳ Wacom Intuos2 6x8 cursor id=14 [slave pointer (2)]
⎜ ↳ Wacom Intuos2 6x8 id=15 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
    ↳ Power Button id=6 [slave keyboard (3)]
    ↳ Video Bus id=7 [slave keyboard (3)]
    ↳ Power Button id=8 [slave keyboard (3)]
    ↳ CNF7051 id=9 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=10 [slave keyboard (3)]

Revision history for this message
Tim Cole (tcole) wrote :

However, except for the first time the tablet is plugged in, it doesn't actually work. When using `xinput test`, no events actually seem to be getting generated by the device.

Changed in xf86-input-wacom (Ubuntu):
milestone: lucid-alpha-3 → none
Revision history for this message
Tim Cole (tcole) wrote :

Tried to use evtest on the tablet, but I'm not able to get evtest output for either the tablet or the laptop's trackpad; I'm not sure what's up with that. May be an evtest issue.

(Unlike the tablet, I do get output from `xinput test` for the trackpad.)

Revision history for this message
Tim Cole (tcole) wrote :

Apparently evtest only works for pointer devices while X isn't running. Anyway, with X turned off temporarily I can get useful output from it. Apparently this is a kernel issue, and not an X issue, since I can replicate the bug without X.

Steps to reproduce:

1) plug in a tablet (first time since boot)
2) sudo evtest /dev/input/wacom
3) scribble on the tablet and note events received
4) unplug tablet
5) plug tablet back in
6) note that events are no longer received by evtest when you manipulate the tablet

Once the tablet is unplugged, the tablet driver remains in a non-working state until reboot.

Revision history for this message
Tim Cole (tcole) wrote :

I think I'll file a separate bug since this appears to be similar to but not the same as the issue originally described. (We do see the tablet being plugged in in Xorg.log each time, the kernel driver just isn't generating events anymore.)

Changed in xf86-input-wacom (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Tim Cole (tcole) wrote :

Split out the kernel portion to bug #597123

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.