Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!spool.mu.edu!nigel.msen.com!yale.edu!cmcl2!newsserv.cs.sunysb.edu!stark.UUCP!cs.sunysb.edu!newsserv!stark!gene From: newsserv!stark!gene@cs.sunysb.edu (Gene Stark) Newsgroups: comp.os.386bsd.questions Subject: Re: Is NetBSD pms driver working? Date: 30 Oct 93 08:15:20 Organization: Gene Stark's home system Lines: 33 Distribution: inet Message-ID: <NEWSSERV!STARK!GENE.93Oct30081520@stark.uucp> References: <1993Oct29.032457.23302@oz.plymouth.edu> <JEM.93Oct29190333@delta.hut.fi> <CFoFFE.263@cc.umontreal.ca> <1993Oct30.033939.23619@oz.plymouth.edu> NNTP-Posting-Host: stark.uucp In-reply-to: ted@oz.plymouth.edu's message of Sat, 30 Oct 93 03:39:39 GMT In article <1993Oct30.033939.23619@oz.plymouth.edu> ted@oz.plymouth.edu (The Wizard of Oz) writes: In article <CFoFFE.263@cc.umontreal.ca> surprenc@beryl (Surprenant Colin) writes: >One thing is sure, pms must be on IRQ 12. not 5. >I tried to do a cat of -both- devices 'cat < /dev/pms0' and I get the >same problem as when I tried to using it directly with X, it freezes the >keyboard. > >the weird thing is that doing cat < /dev/pms0, nothing happens when I move >the mouse. Then after doing ^C to abort the cat, I return to the shell but >the keyboard is frozen. Regarding this thread about using PS/2 mice under NetBSD 0.9. There is a guy here: shoji@cs.sunysb.edu (Shoji Yuen) who was trying to do this and succeeded. I was helping him out with documentation. What he observed was the following (quoted from mail he sent me after getting it to work): I've succeeded to use my PS/2 mouse on NetBSD. The reason why I'm stuck was the fact that 8042 resets all interrupt enable flags if I set something for the aux device, (i.e. mouse). Thus, every time I tried to send some command to mouse, the keyboard is locked since its interrupt flag is cleared. [The behaviour of 8042 is reasonable since the status of some device connected to 8042 might be changed.] So, I imagine if you patch the driver to reenable interrupts on the 8042 keyboard controller after sending each command to the mouse, you should get rid of the KB freezing problem. If you want code, you might try mailing him (Shoji). I don't have a PS/2 mouse and I'm not running NetBSD, so I didn't keep the code. - Gene Stark --