*BSD News Article 27693


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!olivea!decwrl!decwrl!usenet.coe.montana.edu!bsd.coe.montana.edu!nate
From: nate@bsd.coe.montana.edu (Nate Williams)
Newsgroups: comp.os.386bsd.questions
Subject: Re: psm driver - how to install?
Date: 22 Feb 1994 19:13:42 GMT
Organization: Montana State University, Bozeman  MT
Lines: 40
Message-ID: <2kdlh6$373@pdq.coe.montana.edu>
References: <2kclki$su@pilhuhn.pilhuhn.sub.org>
NNTP-Posting-Host: bsd.coe.montana.edu

In article <2kclki$su@pilhuhn.pilhuhn.sub.org>,
Patrick M.Hausen <pmh@pilhuhn.sub.org> wrote:
>Hi!
>
>Recently I fetched the psm driver for FreeBSD out of the packages 
>directory.

It's not in the packages directory but the XFree86 directory.

>Following the instructions that came with it I discovered
>that there already was an entry for psm in conf.c with all the 
>functions declared as "nodev". This was entry number 21 despite of
>the installation instructions telling me to use major number 16.

The correct declarations have been added to FreeBSD-current.

>I dropped in the necessary declarations and made the devices /dev/psaux
>and /dev/psauxblock with a major number of 21 then. The kernel compile
>went fine, but when booting the new kernel I get a message like:
>
>psm0 not probed due to port conflict with sc0.

This is due to the way the PS/2 mouse works.  You need to comment out the
lines in i386/isa.c which don't allow multiple device drivers to exist on
the same port.  However, as this implies, you *may* have problems with certain
hardware and keyboard lockups due to this.  I have machines that work fine,
and others that lockup using that mouse driver.

What needs to happen is the mouse driver needs to be integrated into the
keyboard driver since they both share the same port.

Anyway, that should get you going.


Nate
-- 
nate@bsd.coe.montana.edu     |  FreeBSD core member and all around tech.
nate@cs.montana.edu          |  weenie.
work #: (406) 994-4836       |  Graduating May '94 with a BS in EE 
home #: (406) 586-0579       |  - looking for work in CS/EE field.