*BSD News Article 15096


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!darwin.sura.net!udel!rochester!cornell!cchase
From: cchase@cs.cornell.edu (Craig Chase)
Subject: [NetBSD] Bus Mouse driver?
Message-ID: <1993Apr24.232122.18272@cs.cornell.edu>
Organization: Electrical Engineering, Cornell University, Ithaca NY
Date: Sat, 24 Apr 1993 23:21:22 GMT
Lines: 24

So, what all may have changed since the good old days of 386BSD patchkit 1
and NetBSD that would break Rick Macklem's bus mouse driver?

First, you need a new major device number, since 14 is being used.
I stuck it at 26 (until somebody tells me something else).

Then, selwakeup seems to be expecting a pid_t instead of a struct proc*
so you need to edit all occurences of sc_selp to change that to the pid.

OK, that makes things *almost* work in XFree86.  But there's still
some confusion with the TTY drivers.  Specifically, tty input is
not delivered to the windows until a mouse event occurs.

Could someone point me in the right direction to fix this problem?

Thanks

Craig Chase
cchase@ee.cornell.edu
-- 
"They [La Prensa] accused us of suppressing freedom of
 expression.  This was a lie and we could not let them
 publish it."
 - Nelba Blandon, Interior Ministry Director of Censorship, quoted in