*BSD News Article 45829


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!daffy!uwvax!uwm.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!news.sprintlink.net!demon!news.demon.co.uk!minnow.render.com!news
From: dfr@render.com (Doug Rabson)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: PS/2 mouse not working
Date: 16 Jun 1995 14:34:03 GMT
Organization: RenderMorphics Ltd.
Lines: 36
Message-ID: <DFR.95Jun16153406@trout.render.com>
References: <3rd8ot$dm1@minnie.cs.ucsb.edu> <3rh9ek$mlr@bonnie.tcd-dresden.de>
	<3rmvtd$9pj@news.belwue.de>
NNTP-Posting-Host: trout.render.com
In-reply-to: Markus Baeurle's message of 14 Jun 1995 15:40:29 GMT

In article <3rmvtd$9pj@news.belwue.de> Markus Baeurle <s671687@rghx50.gp.fht-esslingen.de> writes:

> From: Markus Baeurle <s671687@rghx50.gp.fht-esslingen.de>
> Newsgroups: comp.unix.bsd.freebsd.misc
> Date: 14 Jun 1995 15:40:29 GMT
> Organization: Hochschule fuer Technik Esslingen
> X-URL: news:3rh9ek$mlr@bonnie.tcd-dresden.de
> 
> Hello Joerg!
> 
> I have the same problem as Cory, I'm only one step in front.
> I found the question about this in the BSD FAQ and recompiled a kernel that
> includes the psm0 device. First I forgot to enable I/O address conflicts, but
> that's not the problem.
> The problem is, it doesn't work! When I try to "cat < /dev/psm0" the reaction
> is "cat: stdin: Resource temporarily unavailable". :-((( OTOH, it's reported
> during bootup ("psm0 at 0x60-0x63 irq 12 on motherboard").
> The machine is a HP Vectra 486/66N and I still have FreeBSD 2.0R.

You will always get this error since /dev/psm0 only supports
non-blocking I/O.  It will work fine with the X server.  I use Xaccel
with a PS/2 mouse and you just need to change the [MOUSE] section in
/etc/Xaccel.ini as follows (or use Xsetup):

[MOUSE]
    Device   = "/dev/psm0";
    Protocol = PS/2;
    Emulate3Buttons = YES;

I haven't used XFree86 for ages so I can't remember the correct
incantation for that.  I am sure it is documented somewhere.

-- 
Doug Rabson, Microsoft RenderMorphics Ltd.	Mail:  dfr@render.com
						Phone: +44 171 251 4411
						FAX:   +44 171 251 0939