From owner-freebsd-current Fri Nov 22 00:50:56 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA06650 for current-outgoing; Fri, 22 Nov 1996 00:50:56 -0800 (PST) Received: from nasu.utsunomiya-u.ac.jp (nasu.utsunomiya-u.ac.jp [160.12.128.3]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id AAA06643; Fri, 22 Nov 1996 00:50:39 -0800 (PST) Received: by nasu.utsunomiya-u.ac.jp (5.57/ULTRIX-940302) id AA23304; Fri, 22 Nov 96 17:49:22 +0900 Received: by outmail.utsunomiya-u.ac.jp (5.57/ULTRIX-940909) id AA13328; Fri, 22 Nov 96 17:49:21 +0900 Received: from zodiac.mech.utsunomiya-u.ac.jp (zenith.mech.utsunomiya-u.ac.jp [160.12.33.60]) by zodiac.mech.utsunomiya-u.ac.jp (8.7.6+2.6Wbeta7/3.4W/zodiac-May96) with ESMTP id RAA24230; Fri, 22 Nov 1996 17:52:05 +0900 (JST) Message-Id: <199611220852.RAA24230@zodiac.mech.utsunomiya-u.ac.jp> To: Ron Bolin Cc: Nate Williams , sos@freebsd.org, freebsd-current@freebsd.org Subject: Re: boot: -c does not work for me 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> Date: Fri, 22 Nov 1996 17:52:04 +0900 From: Kazutaka YOKOTA Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >> 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) {