*BSD News Article 66389


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!news.sprintlink.net!helena.MT.net!nate
From: nate@trout.sri.MT.net (Nate Williams)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: PS/2 mouse config on a laptop
Date: 22 Apr 1996 16:27:06 GMT
Organization: SRI Intl. - Montana Operations
Lines: 55
Message-ID: <4lgc0q$4i3@helena.MT.net>
References: <4l23jn$lvq@cmgm.stanford.edu> <LARSON.96Apr17120353@hydra2b.cs.utk.edu> <4latat$2ne@news.mainelink.net> <4lcv2a$r1a@cmgm.stanford.edu>
Reply-To: "Nate Williams" <nate@sneezy.sri.com>
NNTP-Posting-Host: trout.sri.mt.net

[ Courtesy Cc: email sent to author ]

In article <4lcv2a$r1a@cmgm.stanford.edu>,
Ritchie Froehlich <ritchief@cmgm.stanford.edu> wrote:
>I'm still having problems, though.  On boot-up I get this message :
>
>   psm0 at 0x60-0x63 IRQ 12 on the motherboard

Good, you're mouse if found.

>and indeed crwxrwxrwx /dev/psm0 and lrwxr-xr-x /dev/mouse->mouse exist.

The second is bogus, and should probably be deleted from MAKEDEV.  Use
/dev/psm0

>However, when I startx with either the MouseMan or Logitech pointers
>configured in /usr/X11R6/lib/X11/XF86Config, the following warning is 
>issued :
>
>   Warning: unable to get statuse of mouse fd (invalid argument).

It should look like this:
# **********************************************************************
# Pointer section
# **********************************************************************

Section "Pointer"
    Protocol    "PS/2"
    Device      "/dev/psm0"

>X.  When I added the psm0 device to the kernel, I noticed it too a really
>long time to rebuild and install (about 1.5 hrs on a 486 33).

Then something is *really* wrong with your system.  1.5 hours to
recompile a kernel is outrageous.  It takes about 15 minutes on my
486/66.  How much memory do you have on your box?

> At first,
>I thougth that it was because this was the first time I'de built a new
>kernel; however, on successive builds, the amount of time required was
>roughly the same.  Does a 1 line change in the kernel config really 
>necessitate a complete rebuild or am I missing a critical point here?

FreeBSD re-builds the kernel from scratch every time.  This is a kludge
to over-come dependency problems which happen from using CPP
definitions, which make depend doesn't take into account.  (I'm not
aware of any dependency program which takes them into account.)


Nate
-- 
nate@sneezy.sri.com    | Research Engineer, SRI Intl. - Montana Operations
nate@trout.sri.MT.net  | Loving life in God's country, the great state of
work #: (406) 449-7662 | Montana.
home #: (406) 443-7063 | A fly pole and a 4x4 Chevy truck = Heaven on Earth