*BSD News Article 35160


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!constellation!convex!hermes.oc.com!news.unt.edu!cs.utexas.edu!howland.reston.ans.net!agate!priam.CS.Berkeley.EDU!edward
From: edward@priam.CS.Berkeley.EDU (Edward Wang)
Newsgroups: alt.comp.periphs.mainboard.asus,comp.os.386bsd.questions
Subject: FreeBSD PS/2 mouse driver and ASUS SP3G
Date: 30 Aug 1994 07:50:14 GMT
Organization: University of California, Berkeley
Lines: 22
Message-ID: <33uobm$oo6@agate.berkeley.edu>
NNTP-Posting-Host: priam.cs.berkeley.edu
Cc: 

The psm driver for FreeBSD doesn't seem to recognize the PS/2
mouse port on the SP3G.  Has anyone else had this problem,
possible with other manufacturers' PS/2 mouse ports?

I commented out part of the probe routine (so the probe now always
succeeds) and everything works fine.  Of course, there are no comments
or #defines explaining the register bits, so there's no way to tell
what it's trying to do.  This is the part I took out:

	#ifdef notdef
		if(c&0x04) {
	/*              printf("PS/2 AUX mouse is not found\n");*/
			psm_command(ioport,0x65);
			psmaddr[unit] = 0;      /* Device not found */
			return(0);}
	#endif

What's bit 0x04?

Also, the thing seems to interrupt a lot (up to 150 times or so per second).
Has anyone measured which is more efficient, serial (using an interface
with a FIFO) or PS/2?