Date: Sat, 31 Jul 2004 17:01:58 +0200 From: Arne Schwabe <arne@rfc2549.org> To: "Daniel O'Connor" <doconnor@gsoft.com.au> Cc: Norikatsu Shigemura <nork@freebsd.org> Subject: Re: Synaptics Touchpad sample port adopted for current's psm.c Message-ID: <86ekmsz0d5.fsf@kamino.rfc1149.org> In-Reply-To: <200407311658.18256.doconnor@gsoft.com.au> (Daniel O'Connor's message of "Sat, 31 Jul 2004 16:58:18 %2B0930") References: <20040731085107.714b8779.nork@FreeBSD.org> <20040731064745.GE33220@green.homeunix.org> <200407311658.18256.doconnor@gsoft.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-= Content-Transfer-Encoding: quoted-printable "Daniel O'Connor" <doconnor@gsoft.com.au> 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----- --=-=-=--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ekmsz0d5.fsf>