Spurious stylus events with serial wacom tablet in lucid

Bug #532720 reported by Wouter Deconinck
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xf86-input-wacom (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

When using the stylus on my Thinkpad X60 tablet (serial wacom tablet) in xournal, it is not possible to draw anything. There seem to be spurious events in the bottom right corner of the screen (resulting in straight lines, I will attach a xournal screen shot). Using the stylus for navigation on the desktop seems to work fine (although I am not sure the spurious events would show up).

Expected result:
Stylus should draw smooth lines in xournal.

Actual result:
The lines drawn by the stylus are interrupted by straight lines to the corner of the screen.

Touch events are associated with the following warnings in Xorg.0.log:
(WW) wcmSerialValidate: bad magic at 1 v=91 l=9
(WW) wcmSerialValidate: bad magic at 5 v=91 l=9
(WW) wcmSerialValidate: bad magic at 1 v=91 l=5

Stylus events are associated with the following warnings in Xorg.0.log (more warnings for same 'amount' of activity):
(WW) wcmSerialValidate: bad magic at 4 v=a1 l=5
(WW) wcmSerialValidate: bad magic at 4 v=a1 l=5
(WW) wcmSerialValidate: bad magic at 4 v=91 l=9
(WW) wcmSerialValidate: bad magic at 5 v=a1 l=9
(WW) wcmSerialValidate: bad magic at 4 v=a1 l=5
(WW) wcmSerialValidate: bad magic at 4 v=91 l=9
(WW) wcmSerialValidate: bad magic at 5 v=a1 l=9
(WW) wcmSerialValidate: bad magic at 4 v=a0 l=5
(WW) wcmSerialValidate: bad magic at 4 v=a0 l=5

Versions:
Description: Ubuntu lucid (development branch)
Release: 10.04
xserver-xorg-input-wacom:
  Installed: 1:0.10.3+20100109-1ubuntu2
  Candidate: 1:0.10.3+20100109-1ubuntu2
  Version table:
 *** 1:0.10.3+20100109-1ubuntu2 0
        500 http://archive.ubuntu.com lucid/main Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
Architecture: i386
Date: Fri Mar 5 10:16:37 2010
DistroRelease: Ubuntu 10.04
EcryptfsInUse: Yes
GdmLog: Error: command ['sudo', 'cat', '/var/log/gdm/:0.log'] failed with exit code 1: cat: /var/log/gdm/:0.log: No such file or directory
GdmLog1: Error: command ['sudo', 'cat', '/var/log/gdm/:0.log.1'] failed with exit code 1: cat: /var/log/gdm/:0.log.1: No such file or directory
GdmLog2: Error: command ['sudo', 'cat', '/var/log/gdm/:0.log.2'] failed with exit code 1: cat: /var/log/gdm/:0.log.2: No such file or directory
MachineType: LENOVO 63665CG
NonfreeKernelModules: openafs
Package: xserver-xorg-input-wacom 1:0.10.3+20100109-1ubuntu2
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-15-generic root=UUID=e40b8725-7aee-4826-9005-6e6eeae5fd5d ro
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-15.22-generic
SourcePackage: xf86-input-wacom
Uname: Linux 2.6.32-15-generic i686
dmi.bios.date: 10/04/2007
dmi.bios.vendor: LENOVO
dmi.bios.version: 7JET26WW (1.11 )
dmi.board.name: 63665CG
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7JET26WW(1.11):bd10/04/2007:svnLENOVO:pn63665CG:pvrThinkPadX60Tablet:rvnLENOVO:rn63665CG:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 63665CG
dmi.product.version: ThinkPad X60 Tablet
dmi.sys.vendor: LENOVO
system:
 distro: Ubuntu
 codename: lucidarchitecture: i686kernel: 2.6.32-15-generic

Revision history for this message
Wouter Deconinck (wdconinc) wrote :
Revision history for this message
Wouter Deconinck (wdconinc) wrote :

I should have made clearer that the warnings with the stylus only show up when there is actual contact with the screen. Just moving the pointer by keeping the stylus a millimeter away from the screen works as expected and without warnings, but as soon as I try to select (or draw in xournal) there are those warnings.

Revision history for this message
Bryan Hundven (bryanhundven) wrote :

Wouter,

I noticed that your bios version is 1.11. Would you be able to get a bios upgrade?

This is the one for your X60:
http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-67149
(bootable cd upgrade)

Follow the instructions, and don't forget to keep ac plugged in during upgrade :-D
I also suggest documenting all of your bios settings before updating. Then after updating your bois, to go into the bios settings and reset to the default bios settings. save bios settings and restart. Then after restart, go back into the bios and setup your original preferences.

My bios for my x61 is the current bios (1.24 for x61, current for x60 is 1.15), and I still have this problem.
I have been told that updating the bios fixes this issue for some models. But I don't have any solid proof on that yet.

If you still have an issue after updating your bios, then your issue may get folded up into this bug:
http://sourceforge.net/tracker/?func=detail&aid=2952501&group_id=69596&atid=525124

The patch associated with this bug is one possible fix, but may not be the recommended path.

The other fix is in Peter Hutterer's devel branch: http://cgit.freedesktop.org/~whot/xf86-input-wacom/commit/?h=devel&id=509a81cdb9cbff56a1e4d095b57b5817029ac559

Although this fix seems to be a partial fix, because it was originally just a code cleanup. For instance, after running with the second fix, I still see some jitter when I draw fast with the stylus. But I don't see lines going to the maxX/maxY (bottom right).

Timo says we're in feature freeze, but hopefully after the freeze lifts we can get a version bump.

Revision history for this message
Wouter Deconinck (wdconinc) wrote :

No change after BIOS upgrade to 1.15 for X60 tablet. But really, who thought it would be a good idea to distribute BIOS upgrades for laptops without optical drives as CD images that don't work on USB drives?

Revision history for this message
Bryan Hundven (bryanhundven) wrote :

So this is the same issue I spoke about before.
There is a fix upstream, and will be in 0.10.5.

Revision history for this message
Wouter Deconinck (wdconinc) wrote :

I haven't managed to test the git version with the bug fix yet, but I assume that that will indeed fix it. The upstream bug report is very similar to this (to the point where I was wondering whether this bug report had been copied to upstream ;-) ). I am looking forward to testing 0.10.5. Any chance that will go out during the freeze before 10.04 is released, or will it need to go in backports?

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

we'll get 0.10.5 when it's released.

Changed in xf86-input-wacom (Ubuntu):
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xf86-input-wacom - 1:0.10.5-0ubuntu2

---------------
xf86-input-wacom (1:0.10.5-0ubuntu2) lucid; urgency=low

  * Add 101_strcat_args.patch: Cherrypick from upstream.
    Fix buffer copy error.
  * Previous upload solved spurious stylus events with serial wacom
    (LP: #532720)
 -- Bryce Harrington <email address hidden> Wed, 31 Mar 2010 17:02:06 -0700

Changed in xf86-input-wacom (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Wouter Deconinck (wdconinc) wrote :

I can confirm that with xserver-xorg-input-wacom 1:0.10.5-0ubuntu1 this issue has been resolved.

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.