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

Arne Schwabe arne at rfc2549.org
Sat Jul 31 08:02:14 PDT 2004


"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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040731/812ddace/attachment.bin


More information about the freebsd-current mailing list