From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754179AbYAGUZi (ORCPT ); Mon, 7 Jan 2008 15:25:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757673AbYAGUZA (ORCPT ); Mon, 7 Jan 2008 15:25:00 -0500 Received: from rv-out-0910.google.com ([209.85.198.188]:42716 "EHLO rv-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757550AbYAGUY6 (ORCPT ); Mon, 7 Jan 2008 15:24:58 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ubtBZqOR75q4yZkA2mLeA05iG0WmtKaQaTIBqQNjV2H4lP8xyO3DSH4DyhaBs4ABXgzzY5m4pyAGqQPzMRWYnTWpeFFGkqHMUNxnlf1vm+wzw+8GsIa/VePSADMZAcZ2O62SlWAYf+JCpgNk44dtk7GNO9NY7dGAXPSmaLw3/Tk= Message-ID: <19f34abd0801071224kb9cb121u244b00b274231db0@mail.gmail.com> Date: Mon, 7 Jan 2008 21:24:58 +0100 From: "Vegard Nossum" To: "Dmitry Torokhov" , linux-input@vger.kernel.org, "Linux Kernel Mailing List" , "William Pettersson" Subject: [BISECTED] Re: psmouse.c: GlidePoint at isa0060/serio1/input0 lost sync at byte 1 In-Reply-To: <19f34abd0711141226n60323630rdc4833db0bfb2eeb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <19f34abd0711141226n60323630rdc4833db0bfb2eeb@mail.gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Nov 14, 2007 9:26 PM, Vegard Nossum wrote: > Hello, > > With 2.6.23 kernel, the laptop middle button worked fine. With > 2.6.24-rc1, when I press the middle button, the cursor jumps around > the screen and this appears in the kernel log (for each time I press > the button): > > psmouse.c: GlidePoint at isa0060/serio1/input0 lost sync at byte 1 > psmouse.c: GlidePoint at isa0060/serio1/input0 lost sync at byte 1 > psmouse.c: GlidePoint at isa0060/serio1/input0 - driver resynched. > > Related dmesg: > > input: Macintosh mouse button emulation as /class/input/input0 > PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:MSE0] at 0x60,0x64 irq 1,12 > mice: PS/2 mouse device common for all mice > input: PS/2 Mouse as /class/input/input2 > input: AlpsPS/2 ALPS GlidePoint as /class/input/input3 > > Earlier dmesgs (2.6.23) had (only) this: > > input: Macintosh mouse button emulation as /class/input/input0 > PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:MSE0] at 0x60,0x64 irq 1,12 > mice: PS/2 mouse device common for all mice > input: ImPS/2 Generic Wheel Mouse as /class/input/input2 > > > It seems that the driver used is different. What can I do to fix this? I have now bisected the kernel (to the point where I made a guess) and found that reverting this commit fixes my problem: commit dac4ae0daa1be36ab015973ed9e9dc04a2684395 Author: William Pettersson Date: Wed Sep 5 00:18:44 2007 -0400 Input: ALPS - add support for model found in Dell Vostro 1400 Signed-off-by: William Pettersson Signed-off-by: Dmitry Torokhov diff --git a/drivers/input/mouse/alps.c b/drivers/input/mouse/alps.c index 2c5f11a..a810ff8 100644 (file) --- a/drivers/input/mouse/alps.c +++ b/drivers/input/mouse/alps.c @@ -53,6 +53,7 @@ static const struct alps_model_info alps_model_data[] = { { { 0x20, 0x02, 0x0e }, 0xf8, 0xf8, ALPS_PASS | ALPS_DUALPOINT }, /* XXX */ { { 0x22, 0x02, 0x0a }, 0xf8, 0xf8, ALPS_PASS | ALPS_DUALPOINT }, { { 0x22, 0x02, 0x14 }, 0xff, 0xff, ALPS_PASS | ALPS_DUALPOINT }, /* Dell Latitude D600 */ + { { 0x73, 0x02, 0x50 }, 0xcf, 0xff, ALPS_FW_BK_1 } /* Dell Vostro 1400 */ }; After reverting, all buttons work as expected -- no lost syncs. I might add that my laptop is Acer Aspire 5720ZG. Also, the button in question is not truly a middle button; when operating correctly, it is used for scrolling (up/down). Now what can be done to make both models work correctly? Kind regards, Vegard Nossum