*BSD News Article 88255


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!howland.erols.net!newsfeed.internetmci.com!uuneo.neosoft.com!news
From: conrads@neosoft.com (Conrad Sabatier)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: PS2 Mouse PROBLEM
Date: 5 Feb 1997 06:10:27 GMT
Organization: NeoSoft, Inc.
Lines: 50
Message-ID: <5d988j$i8q@uuneo.neosoft.com>
References: <32f6da71.199156@news.winternet.com>
Reply-To: conrads@neosoft.com
NNTP-Posting-Host: 206.27.167.160
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
To: ttv@winternet.com (Thomas Veldhouse)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35004

[Posted and mailed]

In article <32f6da71.199156@news.winternet.com>,
	ttv@winternet.com (Thomas Veldhouse) writes:
> 
> Now my other problem.  I have been trying to configure X to run.  I
> like the configuration interface, except for one thing.  It doesn't
> support a PS/2 mouse without a complete recompile of the Kernel.  What
> kind of joke is this.  Most computers use PS/2, or so I thought.  I
> tried every combination of protocols and devices, just to make sure
> and to no avail.

I take it you're using an older version of FreeBSD?  Newer versions
include support for the psm0 device in the GENERIC kernel.  You just
have to enable it at boot time with the -c switch.

If you really do need to recompile your kernel, you can copy the line from
the LINT kernel config, which has examples of every possible kernel config
option.
 
> The simple help screen says that to use a PS/2 mouse
> a recompile is necessary.  That is just about all the documentation
> there is to recompile the kernel.  I found some basic stuff about
> editing MYKERNEL from a copy of GENERIC and such.  Nowhere in this
> file was there anything (obvious anyway) about PS/2 mouse.  I don't
> want to recompile this kernel and install it just to find out that I
> won't be able to boot anymore.  I need some good documentation, such
> as comes with Linux, if you can call that good.  HELP!!!  Where is all
> the documentation.  The stuff at FreeBSD.org is next to useless it
> seems.  I haven't found a answer there yet.

1) cd /usr/src/sys/i386/conf
2) edit YOURKERNEL
3) config YOURKERNEL
4) cd ../../compile/YOURKERNEL
5) make
6) make install
7) reboot

If your new kernel doesn't work properly, reboot, type kernel.old at the
prompt to boot with your previous kernel, delete the new kernel
(important, as each time you do a make install your current kernel is
renamed to kernel.old; if you don't delete the new, defective kernel it
will replace your working kernel, leaving you up the proverbial creek) and
then repeat steps 1-7. :-)

-- 
Conrad Sabatier		http://www.neosoft.com/~conrads