Return to BSD News archive
Newsgroups: comp.os.386bsd.questions Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!haven.umd.edu!uunet!pipex!uknet!mcsun!sun4nl!utciva.civ.utwente.nl!infnews!gnn From: gnn@cs.utwente.nl (George Neville-Neil) Subject: Solution to problem with PS/2 mouse on Compaq 3/25 Message-ID: <gnn.740777030@thecity> Keywords: Fix Mice X Sender: usenet@cs.utwente.nl Nntp-Posting-Host: sacramento.cs.utwente.nl Organization: University of Twente, Dept. of Computer Science Date: Tue, 22 Jun 1993 19:23:50 GMT Lines: 25 Hi Folks, Well, I got the psm.c PS/2 mouse driver working on my Compaq 3/25 with NetBSD 0.8 . I was trying to debug it and added a printf to the interupt handler to make sure interupts were being posted under X. Well, that fixed my problem (the mouse would move, but the cursor took up to 3 seconds to move, unless a button was pressed, then it worked fine). So, wandering through the kernel sources I found the spinwait call. I added the following line to psm.c: spinwait(1); /* Wait a millisecond. */ at the beginning of the psmintr(unit) routine. Now everything works great. So, I don't know how it works, or why, but it does. Later, George -- Once you get to 25 you can rent a car anywhere in the world, and nothing else matters. -- Max Rochlin