*BSD News Article 21764


Return to BSD News archive

Xref: sserve comp.os.386bsd.development:1273 comp.os.386bsd.bugs:1529
Path: sserve!newshost.anu.edu.au!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!werple.apana.org.au!news
From: andrew@werple.apana.org.au (Andrew Herbert)
Newsgroups: comp.os.386bsd.development,comp.os.386bsd.bugs
Subject: Re: Microsoft Mouse driver for XFree [NetBSD 0.9]
Date: 3 Oct 1993 16:59:04 +1000
Organization: werple public-access unix, Melbourne
Lines: 28
Message-ID: <28lt7o$77t@werple.apana.org.au>
References: <1993Sep30.172025.8306@dfw.paranet.com>
NNTP-Posting-Host: werple.apana.org.au

lacoursj@dfw.paranet.com (Jeff Studman) writes:

>Had some fun trying to get my mms device driver to compile into
>my kernel yesterday and today (NetBSD 0.9).  I have a few questions:

>1. Why does the mms.h include file specify 0 as the value for the
...
>2. The ioconf.c was created by config with a constant called IO_BMS0

It sounds like your kernel config file (in /sys/arch/i386/conf) is slightly
broken.  It should include a line similar to the following:

device          mms0    at isa? port "IO_BMS1" tty irq 5 vector mmsintr

(perhaps with a different irq)

>compiled although the mouse jumps all over the screen when I try

Then, make the correct /dev entry by typing the following (as root):

	cd /dev
	./MAKEDEV mms0

Jumpy mice are symptomatic of a mouse device with a minor number of 0 rather
than the 1 that is required for X servers.  Using MAKEDEV avoids this
problem.

Andrew Herbert <andrew@sun-lamp.cs.berkeley.edu>