diff options
author | yokota <yokota@FreeBSD.org> | 1997-11-21 11:36:21 +0000 |
---|---|---|
committer | yokota <yokota@FreeBSD.org> | 1997-11-21 11:36:21 +0000 |
commit | 37c3c27aaa57b52d052a1da7ba7bd1f44433e297 (patch) | |
tree | 575c428d5d4bfa38108999f39502791ccb5804b9 /sys/i386 | |
parent | f2586e9eaba48373007d28b326ddcbf5c07acd98 (diff) | |
download | FreeBSD-src-37c3c27aaa57b52d052a1da7ba7bd1f44433e297.zip FreeBSD-src-37c3c27aaa57b52d052a1da7ba7bd1f44433e297.tar.gz |
Fix for a PS/2 mouse model from MouseSystems. It now appears that
this mouse can correctly operate only in the high resolution mode.
If the mouse pointer jumps to the top or left edge or the top-left
corner of the screen, try defining PSM_MSCKLUDGE in the kernel
configuration file. This option will put the mouse in the high
resolution mode during device initialization.
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/isa/psm.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/i386/isa/psm.c b/sys/i386/isa/psm.c index 9dc9d9c..f7e2fc7 100644 --- a/sys/i386/isa/psm.c +++ b/sys/i386/isa/psm.c @@ -19,7 +19,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: psm.c,v 1.44 1997/11/07 08:52:41 phk Exp $ + * $Id: psm.c,v 1.45 1997/11/18 12:21:32 bde Exp $ */ /* @@ -765,6 +765,10 @@ psmprobe(struct isa_device *dvp) if (verbose >= 2) log(LOG_DEBUG, "psm%d: SET_DEFAULTS return code:%04x\n", unit, i); +#ifdef PSM_MSCKLUDGE + set_mouse_resolution(sc->kbdc, PSMD_RES_HIGH); +#endif + #if 0 set_mouse_scaling(sc->kbdc); /* 1:1 scaling */ set_mouse_mode(sc->kbdc); /* stream mode */ |