Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 1996 17:52:04 +0900
From:      Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To:        Ron Bolin <rlb@mindspring.com>
Cc:        Nate Williams <nate@mt.sri.com>, sos@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: boot: -c does not work for me 
Message-ID:  <199611220852.RAA24230@zodiac.mech.utsunomiya-u.ac.jp>
In-Reply-To: Your message of "Thu, 21 Nov 1996 22:04:15 MST." <199611220504.WAA14567@rocky.mt.sri.com> 
References:  <9611200134.AA09530@cabri.obs-besancon.fr> <199611200534.WAA04055@rocky.mt.sri.com> <3294540F.41C67EA6@mindspring.com> <199611211820.LAA11348@rocky.mt.sri.com> <32950951.41C67EA6@mindspring.com> <199611220424.NAA18594@zodiac.mech.utsunomiya-u.ac.jp> <199611220504.WAA14567@rocky.mt.sri.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

>> 2. Don't try to set the rate, use the power-up default 
>> Basically the old driver did this (was it a bug or a feature?).
>
>Can you send a patch to the reporter to do this and see if it fixes the
>problem?
>
>
>
>Nate

Here is a patch to `psm.c'. Report rate and counter resolution are
both left as default. In terms of report rate and counter resolution,
the driver now works as the previous `psm' driver.

--- psm.c-1.29	Fri Nov 22 17:36:15 1996
+++ psm.c	Fri Nov 22 17:37:19 1996
@@ -582,7 +582,7 @@
     sc->hw.buttons = get_mouse_buttons(ioport);
 
     /* set mouse parameters */
-
+#if 0
     /* FIXME:XXX I don't know if these parameters are reasonable */
     /* FIXME:XXX should we set them in `psmattach()' rather than here? */
     sc->mode.rate = set_mouse_sampling_rate(ioport, PSMD_DEFAULT_RATE);
@@ -590,6 +590,10 @@
         set_mouse_resolution(ioport, PSMD_DEFAULT_RESOLUTION);
     set_mouse_scaling(ioport);    /* 1:1 scaling */
     set_mouse_mode(ioport);    /* stream mode */
+#else
+    sc->mode.rate = -1;
+    sc->mode.resolution = -1;
+#endif
 
     /* just check the status of the mouse */
     if (verbose) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611220852.RAA24230>