home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!wupost!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watmath!watmsg.uwaterloo.ca!fwbent
- From: fwbent@watmsg.uwaterloo.ca (Fred Bent)
- Subject: Re: Possible MS Bus Mouse Detect (?)
- Message-ID: <BuLHGL.D19@math.uwaterloo.ca>
- Sender: news@math.uwaterloo.ca (News Owner)
- Organization: University of Waterloo
- References: <D0Z2qB1w164w@q106fm.UUCP>
- Date: Tue, 15 Sep 1992 01:00:21 GMT
- Lines: 42
-
- In article <D0Z2qB1w164w@q106fm.UUCP> pete@q106fm.UUCP (pete cervasio) writes:
- >fwbent@watmsg.uwaterloo.ca (Fred Bent) writes:
- >
- >>Hello,
- >>
- >>I have been reading several articles mention that currently
- >>there is no method for detecting a Microsoft Bus Mouse.
- >>
- >>Well, I have some code that shows how to do this (I think :-).
- >>Is this what you are asking for? I have not tested this code
- >>with a Logitech so I am not sure what will happen, I only know
- >>that this code should work for detecting IF a Microsoft Bus Mouse
- >>is present (but not sure if will discriminate).
- >......Code Deleted......
- >>Hope this helps! I can only test this under MS-DOS, but the method
- >>should be clear. inp and outp simply get/send a byte to a IO port
- >>(in case not too obvious).
- >
- >Hmm... I just tried this with MSC 5.1 under DOS and it reports the IRQ
- >as 0... It did think I had a MS Mouse, though, so it may be what we need
- >under Linux to do the detection (leaving the IRQ at 5). Could someone
- >with a Logitech mouse try this code and mail me your results?
-
- Did you have optimizations turned on? MSC is a very aggressize optimizer
- and may have removed the delay function. With my Bus Mouse it reports
- the correct IRQ settings.
-
- >
- >Thanks.
- >Pete C.
- >
- >+----------------------------------------------------------------------+
- >| Pete Cervasio | pete%q106fm.uucp@wupost.wustl.edu |
- >| I fish, therefore I am. | pete.cervasio@f1.n2250.z1.fidonet.org |
- >+----------------------------------------------------------------------+
- >| If you think of C as a preprocessor for your assembler, it makes |
- >| just as little sense as before. (me) |
- >+----------------------------------------------------------------------+
- --
- Fred Bent
- fwbent@plg.uwaterloo.ca
-
-