Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263421AbVBDHp5 (ORCPT ); Fri, 4 Feb 2005 02:45:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262999AbVBDHpz (ORCPT ); Fri, 4 Feb 2005 02:45:55 -0500 Received: from av9-2-sn4.m-sp.skanova.net ([81.228.10.107]:16326 "EHLO av9-2-sn4.m-sp.skanova.net") by vger.kernel.org with ESMTP id S263509AbVBDHdT (ORCPT ); Fri, 4 Feb 2005 02:33:19 -0500 To: Vojtech Pavlik Cc: Pete Zaitcev , linux-kernel@vger.kernel.org, dtor_core@ameritech.net Subject: Re: Touchpad problems with 2.6.11-rc2 References: <20050123190109.3d082021@localhost.localdomain> <20050201234148.4d5eac55@localhost.localdomain> <20050202141117.688c8dd3@localhost.localdomain> <20050203064645.GA2342@ucw.cz> <20050204061703.GB2329@ucw.cz> <20050204065317.GA2682@ucw.cz> From: Peter Osterlund Date: 04 Feb 2005 08:33:17 +0100 In-Reply-To: <20050204065317.GA2682@ucw.cz> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1725 Lines: 45 Vojtech Pavlik writes: > On Fri, Feb 04, 2005 at 07:40:43AM +0100, Peter Osterlund wrote: > > Vojtech Pavlik writes: > > > > > On Thu, Feb 03, 2005 at 10:54:51PM +0100, Peter Osterlund wrote: > > > > > > > * Removes the xres/yres scaling so that you get the same speed in the > > > > X and Y directions even if your screen is not square. > > > > > > The old code assumed that both the pad and the screen are 4:3, not > > > square. It was wrong still. > > > alps.c currently contains: > > > > psmouse->dev.evbit[LONG(EV_ABS)] |= BIT(EV_ABS); > > input_set_abs_params(&psmouse->dev, ABS_X, 0, 1023, 0, 0); > > input_set_abs_params(&psmouse->dev, ABS_Y, 0, 1023, 0, 0); > > input_set_abs_params(&psmouse->dev, ABS_PRESSURE, 0, 127, 0, 0); > > > > Maybe it should set the ABS_Y max value to 767 in that case. > > Yes, and no. It could have been 1023, if it was 3:4 in size, but not in > maximum values. See the real values below, though, it seems the > resolution in X and Y is indeed the same. ... > My ALPS gives values: > > X: 90-1019 > Y: 100-749 > Pressure: 0,34-108 I get similar values: X: 40 - 984 Y: 97 - 732 Z: 0, 19 - 127 > So 0-1024, 0-768, 0-127 are probably the maximum theoretical ranges, and > the rest are likely the mechanical mounting limitations of the notebook > (the ridge around the pad is not rectangular). -- Peter Osterlund - petero2@telia.com http://web.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/