Return to BSD News archive
Newsgroups: comp.os.386bsd.questions Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!uwm.edu!linac!att!att-out!undergrad.math.uwaterloo.ca!bsdealwi From: bsdealwi@undergrad.math.uwaterloo.ca (Brian de Alwis) Subject: Hacking select code [was Re: ATI busmouse driver] Message-ID: <C8B5p0.6su@undergrad.math.uwaterloo.ca> Sender: news@undergrad.math.uwaterloo.ca Organization: University of Waterloo References: <C82sMt.64r@undergrad.math.uwaterloo.ca> <1v1lcq$7em@news.cs.tu-berlin.de> Date: Tue, 8 Jun 1993 15:00:36 GMT Lines: 29 In article <1v1lcq$7em@news.cs.tu-berlin.de> hildi@cs.tu-berlin.de (Thomas Hildmann) writes: >Nasser Khan (nakhan@undergrad.math.uwaterloo.ca) wrote: >: I'm running NetBSD-0.1 at home.. With an ATI Wonder XL video card >: which includes an ATI busmouse. > >You find a busmouse driver on agate somewhere in >.../unofficial/drivers/misc/busmouse/ No go - I'm trying to help Nasser on this - his mouse is an ATI InPort mouse, which doesn't seem to respond to that particular busmouse driver (at all!). We've tried rick@snowhite.cis.uoguelph.ca's busmouse driver, which has InPort- specific code, but was written for vanilla 0.1, and thus needs some updating for NetBSD/post-patchkit-0.1... I'm tried some modifications to the select code, and have managed to get it to work with rick's supplied test program but Xfree86 won't read from the keyboard unless the mouse is moved (at which time the keyboard characters spurt out). Because of this, I believe it's a problem with selwakeup()... write now (:-) rick's driver passes a second argument as just 0 -- should this be tp->state & TS_WCOLL or TS_BUSY? (This is from memory - the tp->state may be wrong). Is there a kernel internals description anywhere!? Thanks. -- Brian de Alwis - University of Waterloo: bsdealwi@undergrad.math.uwaterloo.ca `How extraordinarily lucky Minta is! She is marrying a man who has a gold watch in a wash-leather bag!' - _To_the_Lighthouse_, Virginia Woolf.