*BSD News Article 80295


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!newspump.sol.net!www.nntp.primenet.com!nntp.primenet.com!news.mathworks.com!news.sgi.com!news.msfc.nasa.gov!centauri.hq.nasa.gov!newsfeed.gsfc.nasa.gov!usenet
From: Mark Cornick <mcornick@zorak.gsfc.nasa.gov>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: More on psm mouse and 2.1.5
Date: 08 Oct 1996 13:29:42 -0400
Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA
Lines: 42
Message-ID: <j4jzq1xweih.fsf@zorak.gsfc.nasa.gov>
References: <53drv0$j93@newshost.lanl.gov>
NNTP-Posting-Host: zorak.gsfc.nasa.gov
X-Newsreader: Gnus v5.3/Emacs 19.34

>>>>> "Charlie" == Charlie Sorsby <crs@lanl.gov> writes:

    Charlie> I had been running 2.1.0 but, due to a problem, the
    Charlie> vendor of my system sent a replacement disk with 2.1.5
    Charlie> installed.  Now dmesg says this about psm:

    Charlie> psm0: disabled, not probed.

    Charlie> And, of course, when I try to run X, it complains about
    Charlie> the mouse not being configured or something like that.

    Charlie> It (dmesg) used to say:

    Charlie> psm0 at 0x60-0x63 irq 12 on motherboard

    Charlie> I'm not familiar enough with how this all works to figure
    Charlie> out what's going on so I will be very grateful for any
    Charlie> help.

I just spent the weekend dealing with this stuff so maybe my
experiences will be helpful...

In 2.1.5-release, the GENERIC config file has psm0 disabled; you need
to remove "disable" from the psm0 line in the config file and remake
the kernel to get it to work. The "disabled, not probed" message would
be symptomatic of this.

Theoretically, that should do it. Even after I did that, the PS2 mouse
port on my motherboard wouldn't show up. The mailing list archives
suggested that maybe there are some problems with the probe code in
the psm driver. I finally got it to work by commenting the probe code
entirely and just making it return true every time; this is obviously
not the most portable and/or desireable solution, but I only run
FreeBSD on this one machine. (Let's hear it for free source code,
ladies and gents...) The file you would want to look at is
/usr/src/sys/i386/isa/psm.c, I believe.

-- 
Mark Cornick, UNIX Systems Engineer
Hughes STX / NASA Goddard Space Flight Center
LTP Computing Facility, Code 922
mark.cornick@gsfc.nasa.gov / (301) 286-1486