lkml.org 
[lkml]   [2003]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: 2.6.0-test3-mm2
From
Date
(I'm resending this because I previously had sendmail configuration
problems. Sorry if you receive this message twice.)

Andrew Morton <akpm@osdl.org> writes:

> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0-test3/2.6.0-test3-mm2/

Here is a fix for synaptics touchpads with "multi buttons". The patch
comes from Hartwig Felger, who wrote the original multi button support
patch (p00003_synaptics-multi-button.patch). The same bug fix has been
included in the XFree86 driver for a few weeks, and seems to work
fine. (That part of the X driver is only used for 2.4 kernels.)


linux-petero/drivers/input/mouse/synaptics.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)

diff -puN drivers/input/mouse/synaptics.c~syn-multi-btn-fix drivers/input/mouse/synaptics.c
--- linux/drivers/input/mouse/synaptics.c~syn-multi-btn-fix 2003-08-13 22:48:49.000000000 +0200
+++ linux-petero/drivers/input/mouse/synaptics.c 2003-08-13 22:48:49.000000000 +0200
@@ -433,7 +433,8 @@ static void synaptics_parse_hw_state(uns
if (hw->right)
hw->down = !hw->down;
}
- if (buf[3] == 0xC2 && SYN_CAP_MULTI_BUTTON_NO(priv->ext_cap)) {
+ if (SYN_CAP_MULTI_BUTTON_NO(priv->ext_cap) &&
+ ((buf[3] & 2) ? !hw->right : hw->right)) {
switch (SYN_CAP_MULTI_BUTTON_NO(priv->ext_cap) & ~0x01) {
default:
; /* we did comment while initialising... */
_

--
Peter Osterlund - petero2@telia.com
http://w1.894.telia.com/~u89404340
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.181 / U:2.864 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site