*BSD News Article 39229


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!ihnp4.ucsd.edu!swrinde!cs.utexas.edu!news.unt.edu!replicant!jackson
From: jackson@replicant.csci.unt.edu (Bruce Jackson)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Help w/ PS/2 mouse and 2.0R
Date: 8 Dec 1994 08:30:50 GMT
Organization: University of North Texas
Lines: 40
Distribution: inet
Message-ID: <3c6g7q$s7f@hermes.unt.edu>
References: <1994Dec8.065612.1731@nosc.mil>
NNTP-Posting-Host: replicant.csci.unt.edu

In article <1994Dec8.065612.1731@nosc.mil>,
Craig Huckabee <huck@nosc.mil> wrote:

>  I'm using a 486DX2 66Mhz AST Bravo.  After the basic system went so
> well I decided to install X.  Whoops, no mouse being found!  The FAQ
> mentioned that ps/2 support is there (and it mentions the psm0
> driver being discussed in options.doc, a file I can't find anywhere)
> so my guess is a kernel needs to be made adding the psm0 driver.
> Trouble: What is the correct format for this in the config file
> (since I can't find the options.doc file that supposedly shows this)
> AND if I've got to enter in a H/W port address, how do I find the
> address for the port (or does PS/2 use a standard port?)  Anyone
> know how or does anyone have an AST that can tell me?

You can get the format from the LINT configuration.  LINT is a test
kernel with every possible device.  To use a PS/2 style bus mouse
do the following (assumes the standard irq and port):

Rebuild the kernel with the addition of these two lines

options         ALLOW_CONFLICT_IOADDR

device          psm0    at isa? port "IO_KBD" tty irq 12 vector psmintr

Go into /dev and execute "sh MAKEDEV psm0"

Configure X with protocol PS/2 and device /dev/psm0.

To doublecheck the irq and port try going into your CMOS setup.  Mine
confirmed irq 12 for my PS/2 mouse.  If you have Windows, Microsoft
(gag) has a little program called msd that lists all the devices it
finds and their specifics.  There are also some public domain programs
that do the same thing but I find most of them hang my system.  If you
don't have access to any of these just rebuild the kernel with the
defaults and then watch the messages while it boots to see if it finds
the mouse.
-- 
 Bruce Jackson         | Univ. of North Texas   | jackson@cs.unt.edu
 UNIX Systems Admin.   | P. O. Box 13886        | GAB 550E (817)565-2279
 Dept. of Computer Sci.| Denton, Tx. 76203-3886 | FAX: (817)565-2799