From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756448AbXLBSRx (ORCPT ); Sun, 2 Dec 2007 13:17:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754539AbXLBSRp (ORCPT ); Sun, 2 Dec 2007 13:17:45 -0500 Received: from rtr.ca ([76.10.145.34]:3560 "EHLO mail.rtr.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753615AbXLBSRp (ORCPT ); Sun, 2 Dec 2007 13:17:45 -0500 Message-ID: <4752F6C7.4040904@rtr.ca> Date: Sun, 02 Dec 2007 13:17:43 -0500 From: Mark Lord User-Agent: Thunderbird 2.0.0.9 (X11/20071031) MIME-Version: 1.0 To: Jiri Kosina Cc: Dmitry Torokhov , rubini@vision.unipv.it, linux-input@vger.kernel.org, Linux Kernel , Jeff Garzik Subject: Re: 2.6.24: false double-clicks from USB mouse References: <4752DB8C.50608@rtr.ca> <4752E432.10504@rtr.ca> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Jiri Kosina wrote: > On Sun, 2 Dec 2007, Mark Lord wrote: > >>> Single-clicking on things with 2.6.24 very frequently gives a >>> "double-click". This does not happen with 2.6.23.8. I wonder what >>> broke it? I've grabbed mousedev.c from 2.6.23 and inserted that in >>> place of the updated 2.6.24 source, but no change. So it's not that >>> file. >> Mmm.. reverting the entire drivers/hid directory to that from 2.6.23 >> seems to have fixed the problem, so we now know it's in there somewhere. ... Mmmm.. an update here: Reverting the drivers/hid directory does seem to improve behaviour. But right now I have a "make -j4" happening in the background and the mouse is ever so erratic again, despite the drivers/hid reversion. So it's a timing thing, somewhere. Maybe a scheduling thing? Jiri: I know nothing about how mouse clicks are interpreted, or even *where* or *how* double-click detection happens. Until this started happening, I didn't even know which module was the driver for my mouse (it's usbhid). Can you give a short tutorial, to help us understand possible causes ?