*BSD News Article 80245


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.primenet.com!bkogawa
From: bkogawa@primenet.com (Bryan Ogawa)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: More on psm mouse and 2.1.5
Date: 8 Oct 1996 18:30:04 -0700
Organization: Primenet Services for the Internet
Lines: 46
Message-ID: <53ev6s$lts@nnrp1.news.primenet.com>
References: <53drv0$j93@newshost.lanl.gov> <j4jzq1xweih.fsf@zorak.gsfc.nasa.gov>
X-Posted-By: bkogawa@206.165.5.107 (bkogawa)

Mark Cornick <mcornick@zorak.gsfc.nasa.gov> writes:

>>>>>> "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.

[...]

>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.

An easier way to enable a driver marked disabled is by using the start up
configuration utility.  At the boot prompt (the one that says "to boot sd
when wd installed" and all of that) enter "-c" (no quotes) and press
enter.  At the config prompt, type visual, and move down to the disabled
devices section and enable psm0 (or whatever else you want).  You can also
disable items which you don't need (e.g. wd1, the cd entries, extra
network cards), and change IRQs and memory addresses for devices (if, for
example, your ethernet card's on a different IRQ).

I have done this successfully with a PS/2 mouse on a machine I recently
installed.

>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
--
bryan k. ogawa  <bkogawa@primenet.com>  <bkogawa@netvoyage.net>