*BSD News Article 57881


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!newsfeed.internetmci.com!in2.uu.net!bloom-beacon.mit.edu!senator-bedfellow.mit.edu!usenet
From: shivers@ai.mit.edu (Olin Shivers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: PS/2 mice win in FreeBSD
Date: 21 Dec 1995 04:02:25 -0500
Organization: Artificial Intelligence Lab, MIT
Lines: 18
Sender: shivers@lambda.ai.mit.edu
Message-ID: <qijwx7q3i3i.fsf@lambda.ai.mit.edu>
Reply-To: shivers@ai.mit.edu
NNTP-Posting-Host: lambda.ai.mit.edu
X-Newsreader: Gnus v5.1

A while back I was having problems getting the commercial XInside
server to deal with my PS/2 mouse. (My high-end video card isn't
handled by XFree86.)

I was wondering if it was FreeBSD or XInside; I posted asking people
who were winning with PS/2 mice to send me mail. I got serveral replies.
I now conclude it's a bug in the XInside server.

By the way, if you try the simplistic is-my-mouse-working test,
	cat /dev/psm0
you will lose *even if your PS/2 mouse is working*. The /dev/psm0
device driver does I/O in non-blocking mode no matter what flags you
give the open(2) call. So cat(1) gets an EWOULDBLOCK error return instead
of blocking, and dies. If you hack a little test program in C (I did one
interactively in scsh), you can see that your mouse works.

Thanks everyone for the replies.
	-Olin