Bug 809182

Summary: xf86-input-wacom mixes and duplicates button 2 and button 3 events
Product: [openSUSE] openSUSE 12.3 Reporter: Andreas Bolsch <andreas.bolsch>
Component: X.OrgAssignee: E-mail List <xorg-maintainer-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <xorg-maintainer-bugs>
Severity: Normal    
Priority: P3 - Medium CC: andreas.bolsch, bernd.paysan
Version: Final   
Target Milestone: ---   
Hardware: i586   
OS: SUSE Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Log of 'xev' with xf86-input-wacom-0.19

Description Andreas Bolsch 2013-03-13 15:24:28 UTC
Created attachment 529561 [details]
Log of 'xev' with xf86-input-wacom-0.19

User-Agent:       Mozilla/5.0 (X11; Linux i686; rv:19.0) Gecko/20100101 Firefox/19.0

After upgrade to: openSUSE 12.3, kernel 3.7.9, xf86-input-wacom-0.19.0-2.1.1.i586:

Wacom Bamboo Pen&Touch CTH-461 no longer works as expected. System doesn't have a usual mouse but only that tablet attached.

Pressing/releasing stylus lower button generates button 2 *AND button 3 events.
Same for upper button, just the other way round, see attached log file of 'xev'.

Not kernel related, as it persists even with old kernel 3.4.28 from 12.2.
Got xf86-input-wacom-0.15.0-2.1.2.src from openSUSE 12.2 and rebuild it under 12.3, problem disappeared.

Configuration and all other stuff not changed and tested several times after reboot: With 0.15 always ok, with 0.19 always broken, so it's definitely xf86-input-wacom.



Reproducible: Always

Steps to Reproduce:
1. Install xf86-input-wacom-0.19.0-2.1.1.i586.rpm.
2. Do *NOT* use 'xsetwacom' in any way.
3. Reboot
Actual Results:  
Lower button generates button 2 and button 3 events.
Upper button generates button 3 and button 2 events. 

Expected Results:  
Lower button generates only button 2 events.
Upper button generates only button 3 events.
Comment 1 Stefan Dirsch 2013-03-13 16:08:26 UTC
Ok. If it is really X driver related only it could be easily bisected.
Comment 2 Bernd Paysan 2013-03-16 01:18:56 UTC
There are some more issues with input-wacom 0.19 and 0.20, e.g. the cursor (which is really a mouse) does't send click events at all.  This is a known issue with the wacom driver, and it's fixed in git.

http://sourceforge.net/tracker/?func=detail&aid=3607947&group_id=69596&atid=525124

I've installed the git HEAD version, and now everything works fine.  So the suggestion is: Either go back to 0.18 or before, or go forward to git HEAD.  The currently distributed version is severely broken.
Comment 3 Stefan Dirsch 2013-03-23 21:16:44 UTC
I've updated to release 0.20.0 and added the required patches. Fixed for openSUSE:Factory and in obs://X11:XOrg.
Comment 4 Bernhard Wiedemann 2013-03-23 22:00:08 UTC
This is an autogenerated message for OBS integration:
This bug (809182) was mentioned in
https://build.opensuse.org/request/show/160717 Factory / xf86-input-wacom