*BSD News Article 38779


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!werple.apana.org.au!otis.apana.org.au!serval.net.wsu.edu!netnews.nwnet.net!oracle.pnl.gov!osi-east2.es.net!cronkite.nersc.gov!dancer.ca.sandia.gov!overload.lbl.gov!lll-winken.llnl.gov!sol.ctr.columbia.edu!startide.ctr.columbia.edu!wpaul
From: wpaul@ctr.columbia.edu (Bill Paul)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Serial Mouse Problem
Date: 1 Dec 1994 18:09:45 GMT
Organization: Columbia University Center for Telecommunications Research
Lines: 47
Message-ID: <3bl3h9$krd@sol.ctr.columbia.edu>
References: <D04x29.Buz@metronet.com>
NNTP-Posting-Host: startide.ctr.columbia.edu
X-Newsreader: TIN [version 1.2 PL2]

Daring to challenge the will of the almighty Leviam00se, David Opalecky
(doplcky@metronet.com) had the courage to say:

: What must one do to get a serial mouse to work with FreeBSD 2.0?
: I've run the MAKEDEV script till I'm blue in the face! When I run
: stty -f mse0 I get a 'device not configured'.  Is there a way to fix this?
: I spent 4 hours downloading X so I kinda NEED the mouse to work.
: Any suggestions would be GREATLY appreciated.

: Without a clue......

: D Opalecky     doplcky@metronet.com

/dev/mse0 is the bus mouse device. You need to recompile your kernel in
order to enable it. (That's what 'device not configured' means, people!
Figure it out already!) This is the line you need to add to your kernel
config file to do this:

device          mse0    at isa? port 0x23c tty irq 5 vector mseintr

If you want to use a serial mouse, you need to use one of the serial port
devices. Assuming your mouse is plugged into COM2, you can do the following:

# cd /dev
# ./MAKEDEV cua01

Then you can configure XFree86 to use /dev/cua01 as the mouse device. (It
would be cua00 for COM1.)

Before you do any of this, make sure your serial ports are actually detected
and working. If you don't see something like this when your system boots,
you need to configure your serial ports correctly as well:

sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16450
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16450

-Bill
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-Bill Paul                             System Manager
wpaul@ctr.columbia.edu                 Center for Telecommunications Research
                                       Columbia University, New York City
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The M00se Illuminati: ignore it and be confused, or join it and be confusing!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~