Wacom Tablet mouse-wheel always scrolls down

Bug #656067 reported by Beejunk
70
This bug affects 13 people
Affects Status Importance Assigned to Milestone
xserver-xorg-input-wacom (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: xorg

When using a mouse with a Wacom Graphire 2 Tablet, the wheel will always scroll the screen downwards, regardless of which direction the wheel is rotated.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: xorg 1:7.5+6ubuntu3
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
Architecture: i386
DRM.card0.DVI.D.1:
 status: disconnected
 enabled: disabled
 dpms: On
 modes:
 edid-base64:
DRM.card0.LVDS.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1280x800
 edid-base64: AP///////wAGEF+cAAAAAAgQAQOAHRJ4Ci8wl1hTiyklUFQAAAABAQEBAQEBAQEBAQEBAQEBvBsAoFAgFzAwIDYAHrMQAAAYAAAAAQAGECAAAAAAAAAAAAogAAAA/gBMUDEzM1dYMS1UTEExAAAA/gBDb2xvciBMQ0QKICAgAMI=
DRM.card0.VGA.1:
 status: disconnected
 enabled: disabled
 dpms: On
 modes:
 edid-base64:
Date: Wed Oct 6 19:52:32 2010
GdmLog2: Error: command ['gksu', '-D', 'Apport', '--', 'cat', '/var/log/gdm/:0.log.2'] failed with exit code 1: cat: /var/log/gdm/:0.log.2: No such file or directory
InstallationMedia: Ubuntu-Studio 10.10 "Maverick Meerkat" - Release Candidate i386 (20100928.1)
MachineType: Apple Computer, Inc. MacBook1,1
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-22-generic root=UUID=16a2c4c7-82c4-4c97-9c13-2ba7549141dc ro quiet splash
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: xorg
Symptom: display
dmi.bios.date: 10/12/06
dmi.bios.vendor: Apple Computer, Inc.
dmi.bios.version: MB11.88Z.0061.B03.0610121324
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Mac-F4208CC8
dmi.board.vendor: Apple Computer, Inc.
dmi.board.version: PVT
dmi.chassis.asset.tag: Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Computer, Inc.
dmi.chassis.version: Mac-F4208CC8
dmi.modalias: dmi:bvnAppleComputer,Inc.:bvrMB11.88Z.0061.B03.0610121324:bd10/12/06:svnAppleComputer,Inc.:pnMacBook1,1:pvr1.0:rvnAppleComputer,Inc.:rnMac-F4208CC8:rvrPVT:cvnAppleComputer,Inc.:ct10:cvrMac-F4208CC8:
dmi.product.name: MacBook1,1
dmi.product.version: 1.0
dmi.sys.vendor: Apple Computer, Inc.
glxinfo: Error: [Errno 2] No such file or directory
system:
 distro: Ubuntu
 codename: maverick
 architecture: i686
 kernel: 2.6.35-22-generic

Revision history for this message
Beejunk (beejunk) wrote :
Revision history for this message
Thomas Bakketun (thomasb-copyleft) wrote :

I'm experiencing the same problem. It worked in 10.04 and I'm pretty sure I had done any special configuration.

I got a different Wacom Table model:
Bus 006 Device 002: ID 056a:0013 Wacom Co., Ltd Graphire 3 4x5

Revision history for this message
Thomas Bakketun (thomasb-copyleft) wrote :

Here is the output from xev while scrolling one tick down and one tick up. There is no difference between scrolling up and down, both are reported as button 5.

MotionNotify event, serial 32, synthetic NO, window 0x4a00001,
    root 0xbd, subw 0x0, time 1706221, (173,172), root:(176,228),
    state 0x12, is_hint 0, same_screen YES

ButtonPress event, serial 32, synthetic NO, window 0x4a00001,
    root 0xbd, subw 0x0, time 1706221, (173,172), root:(176,228),
    state 0x12, button 5, same_screen YES

ButtonRelease event, serial 32, synthetic NO, window 0x4a00001,
    root 0xbd, subw 0x0, time 1706221, (173,172), root:(176,228),
    state 0x1012, button 5, same_screen YES

MotionNotify event, serial 32, synthetic NO, window 0x4a00001,
    root 0xbd, subw 0x0, time 1706701, (173,172), root:(176,228),
    state 0x12, is_hint 0, same_screen YES

ButtonPress event, serial 32, synthetic NO, window 0x4a00001,
    root 0xbd, subw 0x0, time 1706701, (173,172), root:(176,228),
    state 0x12, button 5, same_screen YES

ButtonRelease event, serial 32, synthetic NO, window 0x4a00001,
    root 0xbd, subw 0x0, time 1706701, (173,172), root:(176,228),
    state 0x1012, button 5, same_screen YES

Revision history for this message
falcaf (moebius1) wrote :

Bonjour,

Same problem here with a graphire 2 wacom tablet :
lsusb
Bus 003 Device 002: ID 056a:0011 Wacom Co., Ltd Graphire 2 4x5
I've tried to reverse to old xorg.conf :

sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.maverick
sudo mv /etc/X11/xorg.conf.dist-upgrade-201010132347 /etc/X11/xorg.conf

But no effect...

When scrolling up and down I get these events with xev :

ButtonPress event, serial 33, synthetic NO, window 0x4800001,
    root 0x15d, subw 0x0, time 1620825, (167,3), root:(1664,869),
    state 0x10, button 5, same_screen YES

ButtonRelease event, serial 33, synthetic NO, window 0x4800001,
    root 0x15d, subw 0x0, time 1620825, (167,3), root:(1664,869),
    state 0x1010, button 5, same_screen YES
just the "state" number is different....

So I've typed :
sudo mv /etc/X11/xorg.conf.maverick /etc/X11/xorg.conf

and wait for some patch
I wonder what has happened....

cordialement,

Revision history for this message
Manuel Martinez (maherma) wrote :

I have same problem with Graphire3.

Problems starts after upgrade from 10.4 to 10.10

Revision history for this message
falcaf (moebius1) wrote :

The solution is here, but it need ubuntu kernel compilation : too difficult for me. So if someone can do that, it would be great

cordialement,

http://www.spinics.net/lists/linux-input/msg10577.html

This fixes a regression introduced in
3b57ca0f80c5c8994b5b1e3d3f904cfe727951f2.

The data[6] byte contains either 1 or -1 depending on the whether the
mouse wheel on older wacom tablets is moved down (1) or up (-1). The
patch introduced in the above commit changed the cast from (signed char)
to (signed). When cast as a signed integer and negated, the value of -1
(stored in the byte as 0xff) became -255 rather than 1. This patch
reverts the cast to a (signed char) and also removes an unnecessary
(signed) cast, as all the values operated on are bitmasked.

Signed-off-by: Mike Auty <ikelos@xxxxxxxxxx>
Reviewed-by: Ping Cheng <pingc@xxxxxxxxx>
---
 drivers/input/tablet/wacom_wac.c | 4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/input/tablet/wacom_wac.c b/drivers/input/tablet/wacom_wac.c
index 415f630..d1a883d 100644
--- a/drivers/input/tablet/wacom_wac.c
+++ b/drivers/input/tablet/wacom_wac.c
@@ -210,10 +210,10 @@ static int wacom_graphire_irq(struct wacom_wac *wacom)
    if (features->type == WACOM_G4 ||
      features->type == WACOM_MO) {
     input_report_abs(input, ABS_DISTANCE, data[6] & 0x3f);
- rw = (signed)(data[7] & 0x04) - (data[7] & 0x03);
+ rw = (data[7] & 0x04) - (data[7] & 0x03);
    } else {
     input_report_abs(input, ABS_DISTANCE, data[7] & 0x3f);
- rw = -(signed)data[6];
+ rw = -(signed char)data[6];
    }
    input_report_rel(input, REL_WHEEL, rw);
   }
--
1.7.2.2
--

Revision history for this message
falcaf (moebius1) wrote :

Bonjour,

The problem is solved :

I've took the linuxwacom package for xserver < 1.7 even if my xserver is 1.9 (command X -version)
compile with --enable-wacom
copy the wacom.ko file over the old one in
/lib/modules/2.6.35-22-generic/kernel/drivers/input/tablet/

reboot and everything's ok now

Hope it help

cordialement,

Revision history for this message
Jesse Matties (jmatties) wrote :

Thank you for this solution. I entered:

./configure --enable-wacom

It said:
"Your wacom.ko will be available under
    /home/user/linuxwacom-0.8.8-10/src/2.6.30

but: Makefile.in, wacom.h, wacom_sys.c, wacom_wac.c, wacom_wac.h, were the only files there.
Am I missing something?

thanks,

Revision history for this message
falcaf (moebius1) wrote : Re: [Bug 656067] Re: Wacom Tablet mouse-wheel always scrolls down

Bonjour,

Well after ./configure you must run make to compile sources.
After that, you will find wacom.ko in /linuxwacom-0.8.8-10/src/2.6.30/

Be sure you have all packages needed for compiling like build-essential
on ubuntu, but packages may differ regarding distributions...

cordialement,

Le 18/10/2010 06:16, Jesse Matties a écrit :
> Thank you for this solution. I entered:
>
> ./configure --enable-wacom
>
> It said:
> "Your wacom.ko will be available under
> /home/user/linuxwacom-0.8.8-10/src/2.6.30
>
> but: Makefile.in, wacom.h, wacom_sys.c, wacom_wac.c, wacom_wac.h, were the only files there.
> Am I missing something?
>
> thanks,
>

Revision history for this message
Jesse Matties (jmatties) wrote :

Thank you!
I had to use: $make -k
Otherwise it would give me an error.

I works perfectly now!

Revision history for this message
joefidler (joefidler) wrote :

Yup - fixed it for me too. Thanks for looking into this.

Revision history for this message
Thomas B Homburg (thomasbhomburg) wrote :

@falcaf Thanks for the excellent explanation.

I solved this on my pc by installing kernel 2.6.36-maverick from
http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.36-maverick/

Revision history for this message
joefidler (joefidler) wrote :

Had it working using the work around. I have had to re-compile and overwrite wacom.ko a couple of times after getting updates. But latest update on linux kernel 2.6.35-23 has broken the mouse wheel again and the work around does not seem to fix it.

bugbot (bugbot)
affects: xorg (Ubuntu) → xserver-xorg-input-wacom (Ubuntu)
Revision history for this message
falcaf (moebius1) wrote :

Bonjour,

Every time the kernel is upgraded, bug come back. It's not difficult to correct the wacom package but noone has done that. I really don't know how to tell that at the good person. Is anybody that know how to do to get this bug corrected ?

cordialement,

Revision history for this message
Nathan Hartley (treestryder) wrote :

Wacom model ET-0405-U goes down when scrolling up as well.

Revision history for this message
babygenius55 (babygenius55a) wrote :

bump

Revision history for this message
Lucas (nofeartobehappy) wrote :

Wacom model CTE-630 (Sapphire), same problem...

Revision history for this message
Beejunk (beejunk) wrote :

This bug is fixed for me as of 11.10.

Changed in xserver-xorg-input-wacom (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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