Re: xserver-xorg-video-nv driver for GNU/kFreeBSD

2012-07-20 Thread Cyril Brulebois
Robert Millan  (20/07/2012):
> 2012/7/17 Petr Salinger :
> > I cooked with today tagged release and made it available on
> >
> > http://asdfasdf.debian.net/~salinger/xserver-xorg-video-nv/
> 
> Should this be uploaded to sid?

Please make sure to reopen #383465 if you do that.

Mraw,
KiBi.


signature.asc
Description: Digital signature


Re: xserver-xorg-video-nv driver for GNU/kFreeBSD

2012-07-20 Thread Petr Salinger

I cooked with today tagged release and made it available on
http://asdfasdf.debian.net/~salinger/xserver-xorg-video-nv/



Should this be uploaded to sid?


IMHO yes, please just restrict architecture to kfreebsd-any.
It might be valuable for other people, not just me.

Petr


--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/alpine.lrh.2.02.1207202323040.1...@sci.felk.cvut.cz



Re: xserver-xorg-video-nv driver for GNU/kFreeBSD

2012-07-20 Thread Robert Millan
2012/7/17 Petr Salinger :
> Hi,
>
> I cooked with today tagged release and made it available on
>
> http://asdfasdf.debian.net/~salinger/xserver-xorg-video-nv/

Should this be uploaded to sid?

-- 
Robert Millan


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caofdtxmxzyxebgpkfp8f26zlcwtioekv7z_btn_wljjcq+-...@mail.gmail.com



Bug#682099: xserver-xorg-video-ati: EXAPixmaps=On screen tearing at high resolution under certain configurations

2012-07-20 Thread Alex Deucher
On Fri, Jul 20, 2012 at 1:45 PM, Michel Dänzer  wrote:
> On Don, 2012-07-19 at 23:43 +1000, James Robertson wrote:
>> Package: xserver-xorg-video-ati
>> Version: 1:6.14.4-5
>> Severity: normal
>>
>> Dear Maintainer,
>>
>> I have a Lenovo R500 laptop with an "[AMD] nee ATI RV620 [Mobility Radeon HD 
>> 3400
>> Series]" graphics chip
>>
>> I recently obtained 2x AOC monitors with a 1920x1080 resolution and have
>> these connected via DVI and VGA to a laptop docking station.
>>
>> The laptop only supports a maximum of 2 displays at once.
>>
>> With the laptop display disabled I get screen tearing and corruption when
>> using 1 or both of the external monitors with 1920x1080 resolution.
>> But strangely if I set one of them to a lower resolution such as 1680x1050
>> (the other still at 1920x1080) the screen tearing issue dissapears.  Odd 
>> given
>> a single display gets the tearing...
>>
>> If using the laptop's display in conjunction with either DVI or VGA
>> connected monitor at 1920x1080 I experience no tearing.
>>

Also note that rendering can only be synchronized to one head at a
time to avoid tearing.  If you have windows that span multiple heads,
you may get tearing on the non-synced heads.

Alex


--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CADnq5_PQq+-_nu+JyBMwAGsnpwL028pub1ZJE8ûHtyP•v...@mail.gmail.com



Bug#682099: xserver-xorg-video-ati: EXAPixmaps=On screen tearing at high resolution under certain configurations

2012-07-20 Thread Michel Dänzer
On Don, 2012-07-19 at 23:43 +1000, James Robertson wrote: 
> Package: xserver-xorg-video-ati
> Version: 1:6.14.4-5
> Severity: normal
> 
> Dear Maintainer,
> 
> I have a Lenovo R500 laptop with an "[AMD] nee ATI RV620 [Mobility Radeon HD 
> 3400
> Series]" graphics chip
> 
> I recently obtained 2x AOC monitors with a 1920x1080 resolution and have
> these connected via DVI and VGA to a laptop docking station.
> 
> The laptop only supports a maximum of 2 displays at once.
> 
> With the laptop display disabled I get screen tearing and corruption when
> using 1 or both of the external monitors with 1920x1080 resolution.
> But strangely if I set one of them to a lower resolution such as 1680x1050
> (the other still at 1920x1080) the screen tearing issue dissapears.  Odd given
> a single display gets the tearing...
> 
> If using the laptop's display in conjunction with either DVI or VGA
> connected monitor at 1920x1080 I experience no tearing.
> 
> If I disable EXAPixmaps the problem is fixed [...]

Can you elaborate on what exactly 'tearing and corruption' means?

Does booting with radeon.disp_priority=2 on the kernel command line
help?

Please provide the output of xrandr --verbose for each case.


-- 
Earthling Michel Dänzer   |   http://www.amd.com
Libre software enthusiast |  Debian, X and DRI developer


--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1342806304.5901.782.camel@thor.local



xserver-xorg-input-evdev: Changes to 'ubuntu'

2012-07-20 Thread Maarten Lankhorst
 0 files changed

New commits:
commit 0368af80cc1903618fb3f467c3e2193bf4a60208
Author: Maarten Lankhorst 
Date:   Fri Jul 20 11:28:00 2012 +0200

Update packaging

* Add upstream bugfixes from ubuntu:
  - 0005-fix-horiz-scrolling.patch
  - 0006-axis-label-overrun.patch
* I messed up the tree, manually unapply debian/patches/0005* if you
  build directly from git against 2.7.0 tarball, this will be fixed
  by a new point release
* Add -dbg package for symbols

diff --git a/debian/changelog b/debian/changelog
index 19588e1..25056d3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,12 @@ xserver-xorg-input-evdev (1:2.7.0-2) UNRELEASED; urgency=low
   [ Maarten Lankhorst ]
   * Bump build-dep to xorg 2:1.12.99.901
   * Remove upstreamed 0001-configure.ac-Fix-udev-libudev-dependency.patch
+  * Add upstream bugfixes from ubuntu:
+- 0005-fix-horiz-scrolling.patch
+- 0006-axis-label-overrun.patch
+  * I messed up the tree, manually unapply debian/patches/0005* if you
+build directly from git, this will be fixed by a new point release
+  * Add -dbg package for symbols
 
  -- Maarten Lankhorst   Mon, 16 Jul 2012 
13:24:29 +0200
 
diff --git a/debian/control b/debian/control
index 8fe99e5..34eaea7 100644
--- a/debian/control
+++ b/debian/control
@@ -17,7 +17,7 @@ Build-Depends:
  xutils-dev (>= 1:7.5+4),
  libudev-dev,
  libmtdev-dev,
-Standards-Version: 3.9.1
+Standards-Version: 3.9.3
 Vcs-Git: git://git.debian.org/git/pkg-xorg/driver/xserver-xorg-input-evdev
 Vcs-Browser: 
http://git.debian.org/?p=pkg-xorg/driver/xserver-xorg-input-evdev.git
 
@@ -68,3 +68,22 @@ Description: X.Org X server -- evdev input driver 
(development headers)
  http://www.X.org>
  .
  This package is built from the X.org xf86-input-evdev driver module.
+
+Package: xserver-xorg-input-evdev-dbg
+Architecture: linux-any
+Depends:
+ ${misc:Depends},
+ xserver-xorg-input-evdev (= ${binary:Version}),
+Section: debug
+Priority: extra
+Description: X.Org X server -- evdev input driver (development headers)
+ This package provides the development headers for the evdev input driver
+ found in xserver-xorg-input-evdev. Non-developers likely have little use
+ for this package.
+ .
+ More information about X.Org can be found at:
+ http://www.X.org>
+ .
+ This package is built from the X.org xf86-input-evdev driver module.
+ .
+ This package provides debugging symbols for this Xorg X driver.
diff --git a/debian/patches/0005-fix-horiz-scrolling.patch 
b/debian/patches/0005-fix-horiz-scrolling.patch
new file mode 100644
index 000..144e1da
--- /dev/null
+++ b/debian/patches/0005-fix-horiz-scrolling.patch
@@ -0,0 +1,23 @@
+From: Peter Hutterer 
+Subject: [PATCH evdev] Fix inverted horizontal scroll (#46205)
+
+REL_HWHEEL has a positive increment, not a negative one like REL_WHEEL.
+
+X.Org Bug 46205 
+
+Signed-off-by: Peter Hutterer 
+Reviewed-by: Chase Douglas 
+
+diff --git a/src/evdev.c b/src/evdev.c
+index d540b87..8cf630c 100644
+--- a/src/evdev.c
 b/src/evdev.c
+@@ -1600,7 +1600,7 @@ EvdevAddRelValuatorClass(DeviceIntPtr device)
+ else if (axis == REL_DIAL)
+ SetScrollValuator(device, axnum, SCROLL_TYPE_VERTICAL, -1.0, 
SCROLL_FLAG_NONE);
+ else if (axis == REL_HWHEEL)
+-SetScrollValuator(device, axnum, SCROLL_TYPE_HORIZONTAL, -1.0, 
SCROLL_FLAG_NONE);
++SetScrollValuator(device, axnum, SCROLL_TYPE_HORIZONTAL, 1.0, 
SCROLL_FLAG_NONE);
+ #endif
+ }
+ 
diff --git a/debian/patches/0006-axis-label-overrun.patch 
b/debian/patches/0006-axis-label-overrun.patch
new file mode 100644
index 000..df7519e
--- /dev/null
+++ b/debian/patches/0006-axis-label-overrun.patch
@@ -0,0 +1,66 @@
+From 4145fe1c087708bf5d6608e328342282ecb93ab0 Mon Sep 17 00:00:00 2001
+From: Chase Douglas 
+Date: Wed, 6 Jun 2012 12:07:12 -0700
+Subject: [PATCH] Fix buffer overrun when populating axis label property array
+
+The axis label property array currently only has enough elements for the
+non-multitouch axes. This change allocates enough space for all axes,
+which prevents an array overrun write. This may manifest as stack
+corruption on some platforms.
+
+Signed-off-by: Chase Douglas 
+Signed-off-by: Peter Hutterer 
+---
+ src/evdev.c |8 +---
+ src/evdev.h |1 +
+ 2 files changed, 6 insertions(+), 3 deletions(-)
+
+diff --git a/src/evdev.c b/src/evdev.c
+index 4b86f66..a628273 100644
+--- a/src/evdev.c
 b/src/evdev.c
+@@ -1304,6 +1304,7 @@ EvdevAddAbsValuatorClass(DeviceIntPtr device)
+ }
+ #ifdef MULTITOUCH
+ if (num_mt_axes_total > 0) {
++pEvdev->num_mt_vals = num_mt_axes_total;
+ pEvdev->mt_mask = valuator_mask_new(num_mt_axes_total);
+ if (!pEvdev->mt_mask) {
+ xf86Msg(X_ERROR, "%s: failed to allocate MT valuator mask.\n",
+@@ -2879,7 +2880,8 @@ EvdevInitProperty(DeviceIntPtr dev)
+ if ((pEvdev->num_vals > 0) && (prop_axis_label = 
XIGe

xserver-xorg-input-evdev: Changes to 'ubuntu'

2012-07-20 Thread Maarten Lankhorst
 debian/patches/0005-fix-horiz-scrolling.patch |   46 +-
 1 file changed, 23 insertions(+), 23 deletions(-)

New commits:
commit b3b9b253c73a3edc580ac4c707c88c0948cfb311
Author: Maarten Lankhorst 
Date:   Fri Jul 20 11:29:12 2012 +0200

dos2unix 0005-fix-horiz-scrolling.patch

diff --git a/debian/patches/0005-fix-horiz-scrolling.patch 
b/debian/patches/0005-fix-horiz-scrolling.patch
index d9b10ee..144e1da 100644
--- a/debian/patches/0005-fix-horiz-scrolling.patch
+++ b/debian/patches/0005-fix-horiz-scrolling.patch
@@ -1,23 +1,23 @@
-From: Peter Hutterer 
-Subject: [PATCH evdev] Fix inverted horizontal scroll (#46205)
-
-REL_HWHEEL has a positive increment, not a negative one like REL_WHEEL.
-
-X.Org Bug 46205 
-
-Signed-off-by: Peter Hutterer 
-Reviewed-by: Chase Douglas 
-
-diff --git a/src/evdev.c b/src/evdev.c
-index d540b87..8cf630c 100644
 a/src/evdev.c
-+++ b/src/evdev.c
-@@ -1600,7 +1600,7 @@ EvdevAddRelValuatorClass(DeviceIntPtr device)
- else if (axis == REL_DIAL)
- SetScrollValuator(device, axnum, SCROLL_TYPE_VERTICAL, -1.0, 
SCROLL_FLAG_NONE);
- else if (axis == REL_HWHEEL)
--SetScrollValuator(device, axnum, SCROLL_TYPE_HORIZONTAL, -1.0, 
SCROLL_FLAG_NONE);
-+SetScrollValuator(device, axnum, SCROLL_TYPE_HORIZONTAL, 1.0, 
SCROLL_FLAG_NONE);
- #endif
- }
- 
+From: Peter Hutterer 
+Subject: [PATCH evdev] Fix inverted horizontal scroll (#46205)
+
+REL_HWHEEL has a positive increment, not a negative one like REL_WHEEL.
+
+X.Org Bug 46205 
+
+Signed-off-by: Peter Hutterer 
+Reviewed-by: Chase Douglas 
+
+diff --git a/src/evdev.c b/src/evdev.c
+index d540b87..8cf630c 100644
+--- a/src/evdev.c
 b/src/evdev.c
+@@ -1600,7 +1600,7 @@ EvdevAddRelValuatorClass(DeviceIntPtr device)
+ else if (axis == REL_DIAL)
+ SetScrollValuator(device, axnum, SCROLL_TYPE_VERTICAL, -1.0, 
SCROLL_FLAG_NONE);
+ else if (axis == REL_HWHEEL)
+-SetScrollValuator(device, axnum, SCROLL_TYPE_HORIZONTAL, -1.0, 
SCROLL_FLAG_NONE);
++SetScrollValuator(device, axnum, SCROLL_TYPE_HORIZONTAL, 1.0, 
SCROLL_FLAG_NONE);
+ #endif
+ }
+ 


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1ss9wb-0002jf...@vasks.debian.org



xserver-xorg-input-evdev: Changes to 'ubuntu'

2012-07-20 Thread Maarten Lankhorst
 ChangeLog |   13 +
 debian/changelog  |   31 +++
 debian/control|   21 -
 debian/patches/0004-xi22-ubuntu.patch |   13 -
 debian/patches/series |1 -
 debian/rules  |4 
 src/evdev.c   |2 +-
 7 files changed, 69 insertions(+), 16 deletions(-)

New commits:
commit 5daf922c478e431fd0c18e32543ebf3874352f95
Author: Maarten Lankhorst 
Date:   Fri Jul 20 10:48:03 2012 +0200

Sync to debian-experimental

* Remove no longer needed patches:
  - 0001-configure.ac-Fix-udev-libudev-dependency.patch
  - 0004-xi22-ubuntu.patch
* I messed up the tree, manually unapply debian/patches/0005*
  if you build directly from git, this will be fixed by
  a new point release

diff --git a/debian/changelog b/debian/changelog
index 89739a8..ce05fe6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,13 @@
-xserver-xorg-input-evdev (1:2.7.0-2) UNRELEASED; urgency=low
+xserver-xorg-input-evdev (1:2.7.0-2ubuntu1) UNRELEASED; urgency=low
 
   [ Maarten Lankhorst ]
   * Bump build-dep to xorg 2:1.12.99.901
-  * Remove upstreamed 0001-configure.ac-Fix-udev-libudev-dependency.patch
+  * Remove no longer needed patches:
+- 0001-configure.ac-Fix-udev-libudev-dependency.patch
+- 0004-xi22-ubuntu.patch
+  * I messed up the tree, manually unapply debian/patches/0005*
+if you build directly from git, this will be fixed by
+a new point release
 
  -- Maarten Lankhorst   Mon, 16 Jul 2012 
13:24:29 +0200
 
diff --git a/debian/control b/debian/control
index 2b06c50..3df1ed6 100644
--- a/debian/control
+++ b/debian/control
@@ -71,3 +71,22 @@ Description: X.Org X server -- evdev input driver 
(development headers)
  http://www.X.org>
  .
  This package is built from the X.org xf86-input-evdev driver module.
+
+Package: xserver-xorg-input-evdev-dbg
+Architecture: linux-any
+Depends:
+ ${misc:Depends},
+ xserver-xorg-input-evdev (= ${binary:Version}),
+Section: debug
+Priority: extra
+Description: X.Org X server -- evdev input driver (development headers)
+ This package provides the development headers for the evdev input driver
+ found in xserver-xorg-input-evdev. Non-developers likely have little use
+ for this package.
+ .
+ More information about X.Org can be found at:
+ http://www.X.org>
+ .
+ This package is built from the X.org xf86-input-evdev driver module.
+ .
+ This package provides debugging symbols for this Xorg X driver.
diff --git a/debian/patches/0004-xi22-ubuntu.patch 
b/debian/patches/0004-xi22-ubuntu.patch
deleted file mode 100644
index bd086dd..000
--- a/debian/patches/0004-xi22-ubuntu.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: xserver-xorg-input-evdev/configure.ac
-===
 xserver-xorg-input-evdev.orig/configure.ac 2012-01-10 14:57:49.029713001 
+0100
-+++ xserver-xorg-input-evdev/configure.ac  2012-01-10 14:58:02.917713000 
+0100
-@@ -48,7 +48,7 @@ XORG_DEFAULT_OPTIONS
- PKG_CHECK_MODULES(XORG, [xorg-server >= 1.10] xproto inputproto)
- PKG_CHECK_MODULES(UDEV, udev)
- 
--PKG_CHECK_MODULES(XI22, [inputproto >= 2.1.99.3] [xorg-server >= 
1.11.99.901], HAVE_XI22="yes", HAVE_XI22="no")
-+PKG_CHECK_MODULES(XI22, [inputproto >= 2.1.99.3] [xorg-server >= 1.11.3], 
HAVE_XI22="yes", HAVE_XI22="no")
- 
- if test "x$HAVE_XI22" = xyes; then
- # Obtain compiler/linker options for mtdev
diff --git a/debian/rules b/debian/rules
index 3d192dc..52d3737 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,3 +15,7 @@ override_dh_shlibdeps:
 
 %:
dh $@ --with quilt,autoreconf,xsf --builddirectory=build/
+
+# Debug package:
+override_dh_strip:
+   dh_strip --dbg-package=xserver-xorg-input-evdev-dbg

commit ff743c7977ae8e0e48d8f4c247e301c13127363d
Author: Maarten Lankhorst 
Date:   Mon Jul 16 13:43:18 2012 +0200

Remove upstreamed 0001-configure.ac-Fix-udev-libudev-dependency.patch

diff --git a/debian/changelog b/debian/changelog
index c3d8334..19588e1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ xserver-xorg-input-evdev (1:2.7.0-2) UNRELEASED; urgency=low
 
   [ Maarten Lankhorst ]
   * Bump build-dep to xorg 2:1.12.99.901
+  * Remove upstreamed 0001-configure.ac-Fix-udev-libudev-dependency.patch
 
  -- Maarten Lankhorst   Mon, 16 Jul 2012 
13:24:29 +0200
 
diff --git a/debian/patches/0001-configure.ac-Fix-udev-libudev-dependency.patch 
b/debian/patches/0001-configure.ac-Fix-udev-libudev-dependency.patch
deleted file mode 100644
index b3fb246..000
--- a/debian/patches/0001-configure.ac-Fix-udev-libudev-dependency.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 6f639c450c513c44b6eb7ddfd31e207ca83bcd39 Mon Sep 17 00:00:00 2001
-From: Cyril Brulebois 
-Date: Sat, 31 Dec 2011 19:35:17 +0100
-Subject: [PATCH:xf86-input-evdev 1/2] configure.ac: Fix udev/libudev

xserver-xorg-input-evdev: Changes to 'debian-experimental'

2012-07-20 Thread Maarten Lankhorst
 debian/changelog  |6 ++
 debian/control|   21 +++-
 debian/patches/0005-fix-horiz-scrolling.patch |   23 +
 debian/patches/0006-axis-label-overrun.patch  |   66 ++
 debian/patches/series |2 
 debian/rules  |4 +
 6 files changed, 121 insertions(+), 1 deletion(-)

New commits:
commit 0368af80cc1903618fb3f467c3e2193bf4a60208
Author: Maarten Lankhorst 
Date:   Fri Jul 20 11:28:00 2012 +0200

Update packaging

* Add upstream bugfixes from ubuntu:
  - 0005-fix-horiz-scrolling.patch
  - 0006-axis-label-overrun.patch
* I messed up the tree, manually unapply debian/patches/0005* if you
  build directly from git against 2.7.0 tarball, this will be fixed
  by a new point release
* Add -dbg package for symbols

diff --git a/debian/changelog b/debian/changelog
index 19588e1..25056d3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,12 @@ xserver-xorg-input-evdev (1:2.7.0-2) UNRELEASED; urgency=low
   [ Maarten Lankhorst ]
   * Bump build-dep to xorg 2:1.12.99.901
   * Remove upstreamed 0001-configure.ac-Fix-udev-libudev-dependency.patch
+  * Add upstream bugfixes from ubuntu:
+- 0005-fix-horiz-scrolling.patch
+- 0006-axis-label-overrun.patch
+  * I messed up the tree, manually unapply debian/patches/0005* if you
+build directly from git, this will be fixed by a new point release
+  * Add -dbg package for symbols
 
  -- Maarten Lankhorst   Mon, 16 Jul 2012 
13:24:29 +0200
 
diff --git a/debian/control b/debian/control
index 8fe99e5..34eaea7 100644
--- a/debian/control
+++ b/debian/control
@@ -17,7 +17,7 @@ Build-Depends:
  xutils-dev (>= 1:7.5+4),
  libudev-dev,
  libmtdev-dev,
-Standards-Version: 3.9.1
+Standards-Version: 3.9.3
 Vcs-Git: git://git.debian.org/git/pkg-xorg/driver/xserver-xorg-input-evdev
 Vcs-Browser: 
http://git.debian.org/?p=pkg-xorg/driver/xserver-xorg-input-evdev.git
 
@@ -68,3 +68,22 @@ Description: X.Org X server -- evdev input driver 
(development headers)
  http://www.X.org>
  .
  This package is built from the X.org xf86-input-evdev driver module.
+
+Package: xserver-xorg-input-evdev-dbg
+Architecture: linux-any
+Depends:
+ ${misc:Depends},
+ xserver-xorg-input-evdev (= ${binary:Version}),
+Section: debug
+Priority: extra
+Description: X.Org X server -- evdev input driver (development headers)
+ This package provides the development headers for the evdev input driver
+ found in xserver-xorg-input-evdev. Non-developers likely have little use
+ for this package.
+ .
+ More information about X.Org can be found at:
+ http://www.X.org>
+ .
+ This package is built from the X.org xf86-input-evdev driver module.
+ .
+ This package provides debugging symbols for this Xorg X driver.
diff --git a/debian/patches/0005-fix-horiz-scrolling.patch 
b/debian/patches/0005-fix-horiz-scrolling.patch
new file mode 100644
index 000..144e1da
--- /dev/null
+++ b/debian/patches/0005-fix-horiz-scrolling.patch
@@ -0,0 +1,23 @@
+From: Peter Hutterer 
+Subject: [PATCH evdev] Fix inverted horizontal scroll (#46205)
+
+REL_HWHEEL has a positive increment, not a negative one like REL_WHEEL.
+
+X.Org Bug 46205 
+
+Signed-off-by: Peter Hutterer 
+Reviewed-by: Chase Douglas 
+
+diff --git a/src/evdev.c b/src/evdev.c
+index d540b87..8cf630c 100644
+--- a/src/evdev.c
 b/src/evdev.c
+@@ -1600,7 +1600,7 @@ EvdevAddRelValuatorClass(DeviceIntPtr device)
+ else if (axis == REL_DIAL)
+ SetScrollValuator(device, axnum, SCROLL_TYPE_VERTICAL, -1.0, 
SCROLL_FLAG_NONE);
+ else if (axis == REL_HWHEEL)
+-SetScrollValuator(device, axnum, SCROLL_TYPE_HORIZONTAL, -1.0, 
SCROLL_FLAG_NONE);
++SetScrollValuator(device, axnum, SCROLL_TYPE_HORIZONTAL, 1.0, 
SCROLL_FLAG_NONE);
+ #endif
+ }
+ 
diff --git a/debian/patches/0006-axis-label-overrun.patch 
b/debian/patches/0006-axis-label-overrun.patch
new file mode 100644
index 000..df7519e
--- /dev/null
+++ b/debian/patches/0006-axis-label-overrun.patch
@@ -0,0 +1,66 @@
+From 4145fe1c087708bf5d6608e328342282ecb93ab0 Mon Sep 17 00:00:00 2001
+From: Chase Douglas 
+Date: Wed, 6 Jun 2012 12:07:12 -0700
+Subject: [PATCH] Fix buffer overrun when populating axis label property array
+
+The axis label property array currently only has enough elements for the
+non-multitouch axes. This change allocates enough space for all axes,
+which prevents an array overrun write. This may manifest as stack
+corruption on some platforms.
+
+Signed-off-by: Chase Douglas 
+Signed-off-by: Peter Hutterer 
+---
+ src/evdev.c |8 +---
+ src/evdev.h |1 +
+ 2 files changed, 6 insertions(+), 3 deletions(-)
+
+diff --git a/src/evdev.c b/src/evdev.c
+index 4b86f66..a628273 100644
+--- a/src/evdev.c
 b/src/evdev.c
+@@ -1304,6 +1304,7 @@ EvdevAddAbsValuatorClass(DeviceIntPtr device)
+   

xserver-xorg-input-synaptics: Changes to 'debian-experimental'

2012-07-20 Thread Maarten Lankhorst
 debian/changelog |1 +
 debian/control   |   36 +++-
 debian/rules |4 
 3 files changed, 40 insertions(+), 1 deletion(-)

New commits:
commit 3aec70f16372a6b097c083a72619e92de9109dd1
Author: Maarten Lankhorst 
Date:   Fri Jul 20 11:16:39 2012 +0200

Add -dbg package

diff --git a/debian/changelog b/debian/changelog
index 555aed5..7f05573 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 xserver-xorg-input-synaptics (1.6.2-2) UNRELEASED; urgency=low
 
   * Rebuild against xserver 1.13rc1
+  * Add -dbg package
 
  -- Maarten Lankhorst   Mon, 16 Jul 2012 
14:15:22 +0200
 
diff --git a/debian/control b/debian/control
index c7d440c..0540e2d 100644
--- a/debian/control
+++ b/debian/control
@@ -16,7 +16,7 @@ Build-Depends:
  quilt,
  xutils-dev (>= 1:7.5+4),
  libmtdev-dev [linux-any],
-Standards-Version: 3.9.2
+Standards-Version: 3.9.3
 Vcs-Git: git://git.debian.org/git/pkg-xorg/driver/xserver-xorg-input-synaptics
 Vcs-Browser: 
http://git.debian.org/?p=pkg-xorg/driver/xserver-xorg-input-synaptics.git
 
@@ -66,3 +66,37 @@ Description: Synaptics TouchPad driver for X.Org server 
(development headers)
  This package contains the development headers for the Synaptics input
  driver found in xserver-xorg-input-synaptics. Non-developers likely have
  little use for this package.
+
+Package: xserver-xorg-input-synaptics-dbg
+Architecture: linux-any
+Depends:
+ ${misc:Depends},
+ xserver-xorg-input-synaptics (= ${binary:Version}),
+Section: debug
+Priority: extra
+Description: Synaptics TouchPad driver for X.Org server
+ This package provides an input driver for the X.Org X server to enable
+ advanced features of the Synaptics Touchpad including:
+ .
+  * Movement with adjustable, non-linear acceleration and speed
+  * Button events through short touching of the touchpad
+  * Double-Button events through double short touching of the touchpad
+  * Dragging through short touching and holding down the finger on the touchpad
+  * Middle and right button events on the upper and lower corner of the 
touchpad
+  * Vertical scrolling (button four and five events) through moving the finger
+on the right side of the touchpad
+  * The up/down button sends button four/five events
+  * Horizontal scrolling (button six and seven events) through moving the 
finger
+on the lower side of the touchpad
+  * The multi-buttons send button four/five events, and six/seven events for
+horizontal scrolling
+  * Adjustable finger detection
+  * Multifinger taps: two finger for middle button and three finger for right
+button events. (Needs hardware support. Not all models implement this
+feature.)
+  * Run-time configuration using shared memory. This means you can change
+parameter settings without restarting the X server (see synclient(1)).
+  * It also provides a daemon to disable touchpad while typing at the keyboard
+and thus avoid unwanted mouse movements (see syndaemon(1)).
+ .
+ This package provides debugging symbols for this Xorg X driver.
diff --git a/debian/rules b/debian/rules
index 3d192dc..794e295 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,3 +15,7 @@ override_dh_shlibdeps:
 
 %:
dh $@ --with quilt,autoreconf,xsf --builddirectory=build/
+
+# Debug package:
+override_dh_strip:
+   dh_strip --dbg-package=xserver-xorg-input-synaptics-dbg


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1ss9kk-0002ao...@vasks.debian.org



Bug#677173: 3.2.19-1: after some time, the USB keyboard no longer works

2012-07-20 Thread Vincent Lefevre
On 2012-07-20 08:58:57 +0200, Vincent Lefevre wrote:
> So, it would seem that some part of the system would enable SlowKeys
> in my back for one of the keyboards (I recall that when this happens
> while I'm using the USB keyboard, only the USB keyboard is affected,
> not the laptop keyboard).
> 
> If there a way to know whether SlowKeys is enabled, for each available
> keyboard? (Note: I'm not using GNOME, and even GNOME would be useless
> because according to what I see on this page, it cannot differentiate
> keyboards.)

Additional information:

* SlowKeys can be turned on and off by pressing the Shift key for
  at least 10 seconds:
https://bugzilla.redhat.com/show_bug.cgi?id=816764
  I've tried and I confirm that this "works". When several keyboards
  are attached, only the keyboard for which the Shift key is pressed
  is affected (I suppose that this is expected).

* When the bug occurred in my case, I don't think I've pressed Shift
  for 10 seconds (well, when I do this, this is in combination with
  another key like PageUp / PageDown, but in this case, SlowKeys
  switching isn't triggered), at least in most of the cases.

* It may happen that the system misses the Shift Release event.
  Actually this is what happened on July 14. I recall:
Something interesting occurred with the USB keyboard. I was using
Iceweasel, and suddenly it behaved as if both the Shift and Ctrl
keys were pressed: left-clicks were extending the selection, and
a left-click on a link was opening it in a background tab. After
hitting various keys, this no longer occurred, [...]
  And this is what happened last night. This could explain why the
  problem occurs and that this could be specific to the USB keyboard
  on this machine.

* I had said that the problem also occurred with the main keyboard,
  but I don't remember whether I did anything special with the Shift
  key in this case.

To summarize, there could be two different problems (but I'm not
sure):

1. The fact that pressing the Shift key for at least 10 seconds
   activates SlowKeys for this keyboard. I don't think that this
   feature should be enabled by default. Hidden features are bad.
   Also, there may be a good reason to hold the Shift key for
   10 seconds: when using it in a combination of Shift + clicks.
   And when SlowKeys is enabled/disabled (in this way at least),
   something should be written to some log file, so that the user
   can get the information in case he wonders.

2. The fact that a Shift Release event can be missed (it remains
   to be confirmed) with this USB keyboard.
   Note: I haven't noticed any missing Release event for the other
   keys.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120720074204.gb4...@xvii.vinc17.org



Bug#677173: 3.2.19-1: after some time, the USB keyboard no longer works

2012-07-20 Thread Vincent Lefevre
On 2012-07-20 08:31:19 +0200, Julien Cristau wrote:
> Sounds like you have slowkeys enabled.
> http://who-t.blogspot.fr/2012/06/xkb-slowkeys.html

So, it would seem that some part of the system would enable SlowKeys
in my back for one of the keyboards (I recall that when this happens
while I'm using the USB keyboard, only the USB keyboard is affected,
not the laptop keyboard).

If there a way to know whether SlowKeys is enabled, for each available
keyboard? (Note: I'm not using GNOME, and even GNOME would be useless
because according to what I see on this page, it cannot differentiate
keyboards.)

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120720065857.ga4...@xvii.vinc17.org