Re: Synaptics Touchpad sample port adopted for current's psm.c

From: Arne Schwabe <arne_at_rfc2549.org>
Date: Sat, 31 Jul 2004 17:01:58 +0200
"Daniel O'Connor" <doconnor_at_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 
> 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 user space. (You could if you do same really bad hack, like
direct i/o and /dev/kmem stuff, but that does not count ;))

Arne
-- 
compiling millions of tiny c-programs...done
checking for a working configure script... not found

Received on Sat Jul 31 2004 - 13:02:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:04 UTC