Return to BSD News archive
Newsgroups: comp.os.386bsd.questions Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!decwrl!usenet.coe.montana.edu!netnews.nwnet.net!ns1.nodak.edu!plains.NoDak.edu!tinguely From: tinguely@plains.NoDak.edu (Mark Tinguely) Subject: Re: FreeBSD 1.0.2 and psm driver Sender: usenet@ns1.nodak.edu (Usenet login) Message-ID: <CKMEMC.3L2@ns1.nodak.edu> Date: Wed, 2 Feb 1994 23:30:12 GMT References: <1994Jan30.161909.11031@tdc.amoco.com> Nntp-Posting-Host: plains.nodak.edu Organization: North Dakota State University Keywords: psm Lines: 44 In article <1994Jan30.161909.11031@tdc.amoco.com> zslg01@slg.amoco.com (S. L. Garwood) writes: > >I've tried the psm ps/2 mouse driver off of freebsd.cdrom.com with >freebsd 1.0.2 (the Walnut Creek disk) --- at boot time I get an >error cause the psm driver and the pc (keyboard) driver both >specify port 0x60 ... what am I doing wrong? you did nothing wrong, the psm mouse is cleanly supported in a vanilla FreeBSD. One solution is to add the following line to /sys/i386/isa/isa.c (on line 105 in my file) int haveseen(dvp, tmpdvp) struct isa_device *dvp, *tmpdvp; { int status = 0; /* * Only check against devices that have already been found */ if (tmpdvp->id_alive) { /* * Check for I/O address conflict. We can only check the * starting address of the device against the range of the * device that has already been probed since we do not * know how many I/O addresses this device uses. */ if (tmpdvp->id_alive != -1) { if ((dvp->id_iobase >= tmpdvp->id_iobase) && (dvp->id_iobase <= (tmpdvp->id_iobase + tmpdvp->id_alive - 1)) /* for ps/2 mouse */ && dvp->id_iobase != 0x60 ) { conflict(dvp, tmpdvp, dvp->id_iobase, "I/O address", "0x%x"); status = 1; } } [much deleted] I added the line that starts /* for ps/2 mouse */ this may not be the future official way of disabling the second probe, so use all the standard disclaimers. --mark.