From owner-freebsd-current@FreeBSD.ORG Thu Aug 19 01:29:06 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D520216A4CE for ; Thu, 19 Aug 2004 01:29:06 +0000 (GMT) Received: from coruscant.rfc1149.org (coruscant.rfc1149.org [217.160.130.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7070D43D31 for ; Thu, 19 Aug 2004 01:29:06 +0000 (GMT) (envelope-from arne@rfc2549.org) Received: by coruscant.rfc1149.org (Postfix, from userid 110) id 594843F01; Thu, 19 Aug 2004 03:29:05 +0200 (CEST) Received: from kamino.rfc1149.org (kamino.rfc1149.org [2001:8d8:81:11::2]) by coruscant.rfc1149.org (Postfix) with ESMTP id 419633EFC; Thu, 19 Aug 2004 03:29:02 +0200 (CEST) Received: by kamino.rfc1149.org (Postfix, from userid 1001) id 899D140F1; Thu, 19 Aug 2004 03:28:58 +0200 (CEST) To: Antal Rutz In-Reply-To: <20040818220924.GB51903@mimoza.pantel.net> (Antal Rutz's message of "Thu, 19 Aug 2004 00:09:24 +0200") References: <20040805071236.GA595@loge.nixsys.be> <200408102254.32722.marc@bowtie.nl> <20040810210348.GO14911@fasolt.home.paeps.cx> <20040810231202.GD1067@laptop.lambertfam.org> <20040811013106.GA14911@fasolt.home.paeps.cx> <20040817032544.GA42839@mimoza.pantel.net> <20040818220924.GB51903@mimoza.pantel.net> From: Arne Schwabe Date: Thu, 19 Aug 2004 03:28:57 +0200 Message-ID: <864qmzx6ee.fsf@kamino.rfc1149.org> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on coruscant.rfc1149.org X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.60 X-Spam-Level: cc: current@freebsd.org Subject: Re: Synaptics detected as Intellimouse - was Re: [PLEASE TEST] ... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2004 01:29:07 -0000 Antal Rutz writes: > On Tue, Aug 17, Antal Rutz wrote: >> On Wed, Aug 11, Philip Paeps wrote: >> > Synaptics have 0c here. I'm not aware of any Synaptics hardware responding >> > differently to probes (though the specs might be a bit dated here and there, I >> > wouldn't expect them to change something like that). >> > >> > > I have a Compaq Presario 2195US with Synaptics touchpad. >> > >> > Are you really sure it's a Synaptics? >> >> I've got an HP/compaq nx9005. My synaptics is also detected as >> intellimouse (psm.c:1.77). I will build a kernel with PSM_DEBUG=2 during >> the day. It worked before with unofficial out-of-cvs patches. >> > > latest current with PSM_DEBUG=2 (still detected as intellimouse): > [debug output] Okay, I think the problem is that FreeBSD takes the first "mouse type" found. Maybe you have a newer touchpad with has also some intelli emulation (would be interesting to post your touchpad version/capabilities if this patch works). My first patches tried synaptics before the other mouse types. Try the attached patch. Hope that helps. Arne --- psm.c 16 Aug 2004 20:19:09 -0000 1.78 +++ psm.c 19 Aug 2004 01:25:07 -0000 @@ -315,6 +315,8 @@ * WARNING: the order of probe is very important. Don't mess it * unless you know what you are doing. */ + { MOUSE_MODEL_SYNAPTICS, /* Synaptics Touchpad */ + 0xc0, MOUSE_SYNAPTICS_PACKETSIZE, enable_synaptics, }, { MOUSE_MODEL_NET, /* Genius NetMouse */ 0x08, MOUSE_PS2INTELLI_PACKETSIZE, enable_gmouse, }, { MOUSE_MODEL_NETSCROLL, /* Genius NetScroll */ @@ -335,8 +337,6 @@ 0x80, MOUSE_PS2_PACKETSIZE, enable_kmouse, }, { MOUSE_MODEL_VERSAPAD, /* Interlink electronics VersaPad */ 0xe8, MOUSE_PS2VERSA_PACKETSIZE, enable_versapad, }, - { MOUSE_MODEL_SYNAPTICS, /* Synaptics Touchpad */ - 0xc0, MOUSE_SYNAPTICS_PACKETSIZE, enable_synaptics, }, { MOUSE_MODEL_GENERIC, 0xc0, MOUSE_PS2_PACKETSIZE, NULL, }, }; -- compiling millions of tiny c-programs...done checking for a working configure script... not found