Bug 594523

Summary: Wrong axis mode for absolute axes
Product: Red Hat Enterprise Linux 6 Reporter: Peter Hutterer <peter.hutterer>
Component: xorg-x11-serverAssignee: Peter Hutterer <peter.hutterer>
Status: CLOSED CURRENTRELEASE QA Contact: desktop-bugs <desktop-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: cmeadors
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: xorg-x11-server-1.7.7-7.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-15 14:52:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Peter Hutterer 2010-05-20 22:41:13 UTC
Description of problem:
Absolute axes are assigned wrong by the wacom driver. The reason is an extra flag supplied by the driver (OutOfProximity) that's added to the Relative/Absolute setting in the mode field.

Relative and Absolute aren't meant as flags, hence many clients and the server often only have a binary test in the form of 
  if (mode == Relative) else
or 
  if (mode == Absolute) else

With the OutOfProximity flag (0x2) binary OR'd those checks fail, leading to client-implementation dependent interpretation of axis modes.

Version-Release number of selected component (if applicable):
xorg-x11-drv-wacom-0.10.5-2.el6

How reproducible:
xinput --list --long | less, then look at the axis mode of stylus, eraser (should be absolute by default)


Additional info:
Patch from upstream, simply remove the invalid OutOfProximity flag.
Patch on list archives: http://sourceforge.net/mailarchive/forum.php?thread_name=AANLkTimqYpXuEChPzwJ5lDsPZyB4orm24Vmd0ypSQzpz%40mail.gmail.com&forum_name=linuxwacom-devel

Comment 1 RHEL Program Management 2010-05-20 22:56:18 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 3 Peter Hutterer 2010-05-26 01:09:13 UTC
MODIFIED

xorg-x11-drv-wacom-0.10.5-3.el6 is available in brew.

Comment 5 Peter Hutterer 2010-06-10 00:43:09 UTC
Changing component to xorg-x11-server. The underlying cause turned out to be a problem in the protocol parsing code in the server.

xorg-x11-server-1.7.7-7.el6 is available in brew.

Comment 6 releng-rhel@redhat.com 2010-11-15 14:52:40 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.