← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 730488] [NEW] [Lucid] xf86ScaleAxis problems with high resolution devices

 

Public bug reported:

Binary package hint: xorg

The xf86ScaleAxis function is used to scale x and y axis values of input
devices between different resolutions. Due to internal integer overflow,
the acceptable value range for its arguments are limited below their
type (signed 32bit integer). This imposes a problem for high resolution
devices, like the wacom Intuos 4 L, which have a total horizontal
resolution of 65024. Example: when doing a scaling with a range of more
than 46340 (Sxhigh-Sxlow), the integer X will wrap into negative values,
and truncated to 0 at the end.

Among other devices, this problem affects wacom Intuos 4 L and XL
tablets when compiling the xf86-input-wacom driver version 0.10.9 and
above. Previous versions work, because they don't use the xf86ScaleAxis
function. With current xorg releases this problem does not happen
either, because a upstream patch (http://lists.x.org/archives/xorg-
devel/2010-April/007333.html) already extends the acceptable value
range. A solution would be to include this patch into 10.04, because
there is still quite a time till the next LTS.

If there is a chance for getting this patch included into 10.04 I'm
willing to make a patch specific for the current xorg-server-1.7.6
package and test it.

** Affects: xorg (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in ubuntu.
https://bugs.launchpad.net/bugs/730488

Title:
  [Lucid] xf86ScaleAxis problems with high resolution devices



Follow ups

References