cvs commit: src/sys/sys mouse.h src/sys/isa psm.c

Arne Schwabe schwabe at uni-paderborn.de
Fri Jul 30 04:49:52 PDT 2004


Nate Lawson <nate at root.org> writes:

> Nate Lawson wrote:
>> njl         2004-07-30 00:59:41 UTC
>>   FreeBSD src repository
>>   Modified files:
>>     sys/sys              mouse.h     sys/isa              psm.c
>> Log:
>>   Add support for the Synaptics Touchpad mouse driver.  I reworked the
>>   submitted version with style cleanups and changes to comments.  I also
>>   modified the ioctl interface.  This version only has one ioctl (to get
>>   the Synaptics-specific config parameters) since this is the only
>>   information a user might want.
>>     Submitted by:   Arne Schwabe <arne -at- rfc2549.org>
>>     Revision  Changes    Path
>>   1.71      +213 -1    src/sys/isa/psm.c
>>   1.20      +25 -0     src/sys/sys/mouse.h
>
> Please test this driver.  I don't have the hardware for it and only
> tested that it doesn't break existing PSM mice.  I made quite a few
> cleanups that shouldn't affect operation but might have.

Please note that that guest support for sysmouse protocol is still
missing, so your stickpoint for example (I don't think there is any
other type of secondary mouse) won't work with moused, only with the
special XFree86. The information how to do this are already there as a
comment.

If I have time, I will do it, but I don't think, that it could take
2-3 weeks (the patch is something 10-20 lines but I have no time :( )

Please remove the stupid comment, that comment was still left from the
first hack where 3 worked but 6 did not work.
It is misleading by now, because now 3 will not work ;)

--- mouse.h     30 Jul 2004 00:59:40 -0000      1.20
+++ mouse.h     30 Jul 2004 11:40:53 -0000
@@ -208,7 +208,7 @@
 #endif /* MOUSE_GETVARS */
 
 /* Synaptics Touchpad */
-#define MOUSE_SYNAPTICS_PACKETSIZE     6       /* '3' works better */
+#define MOUSE_SYNAPTICS_PACKETSIZE     6
 
 /* Microsoft Serial mouse data packet */
 #define MOUSE_MSS_PACKETSIZE   3


-- 
Two of the most famous products of Berkeley are LSD and Unix.
I don t think that this is a coincidence.
                                                --- Anonymous


More information about the cvs-all mailing list