From owner-freebsd-current@FreeBSD.ORG Sat Jul 31 15:02:14 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 8816C16A4CE; Sat, 31 Jul 2004 15:02:14 +0000 (GMT) Received: from coruscant.rfc1149.org (coruscant.rfc1149.org [217.160.130.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB52743D46; Sat, 31 Jul 2004 15:02:13 +0000 (GMT) (envelope-from arne@rfc2549.org) Received: by coruscant.rfc1149.org (Postfix, from userid 110) id EB24F3E9F; Sat, 31 Jul 2004 17:02:12 +0200 (CEST) Received: from kamino.rfc1149.org (dsl-213-023-208-041.arcor-ip.net [213.23.208.41]) by coruscant.rfc1149.org (Postfix) with ESMTP id E80DB3CD0; Sat, 31 Jul 2004 17:02:10 +0200 (CEST) Received: by kamino.rfc1149.org (Postfix, from userid 1001) id 12B164088; Sat, 31 Jul 2004 17:02:03 +0200 (CEST) To: "Daniel O'Connor" In-Reply-To: <200407311658.18256.doconnor@gsoft.com.au> (Daniel O'Connor's message of "Sat, 31 Jul 2004 16:58:18 +0930") References: <20040731085107.714b8779.nork@FreeBSD.org> <20040731064745.GE33220@green.homeunix.org> <200407311658.18256.doconnor@gsoft.com.au> From: Arne Schwabe Date: Sat, 31 Jul 2004 17:01:58 +0200 Message-ID: <86ekmsz0d5.fsf@kamino.rfc1149.org> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on coruscant.rfc1149.org X-Spam-Status: No, hits=-4.8 required=5.0 tests=BAYES_00,RCVD_IN_SORBS autolearn=no version=2.60 X-Spam-Level: cc: freebsd-current@freebsd.org cc: Norikatsu Shigemura Subject: Re: Synaptics Touchpad sample port adopted for current's psm.c 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: Sat, 31 Jul 2004 15:02:14 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable "Daniel O'Connor" writes: > On Sat, 31 Jul 2004 16:17, Brian Fundakowski Feldman wrote: >> Do you know a quick way to identify whether the PS/2 mouse is actually >> a Synaptics or not? > > Not without kernel code AFAIK (psm won't let you pass enough to the mouse= to=20 > actually put it into Synaptics mode) Yepp, you are right, identyfing a ps/2 device is sending the device some strange ps/2 request combination (like set sample rate 02, set sample rate 01, set sample rate 00, get resolution) and look how the ps/2 device reacts. In FreeBSDs ps/2 implementation you can't do this From=20user space. (You could if you do same really bad hack, like direct i/o and /dev/kmem stuff, but that does not count ;)) Arne =2D-=20 compiling millions of tiny c-programs...done checking for a working configure script... not found --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBC7Rre8+cMNS4zRcRApi4AKDGOvjV4gNJbuaS2sVm2PzhE0OeXgCcCz81 NTxbgIGczD2ptyTyQtUMdgk= =reO7 -----END PGP SIGNATURE----- --=-=-=--