home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / linux / 10700 < prev    next >
Encoding:
Text File  |  1992-09-14  |  2.2 KB  |  54 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!wupost!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watmath!watmsg.uwaterloo.ca!fwbent
  3. From: fwbent@watmsg.uwaterloo.ca (Fred Bent)
  4. Subject: Re: Possible MS Bus Mouse Detect (?)
  5. Message-ID: <BuLHGL.D19@math.uwaterloo.ca>
  6. Sender: news@math.uwaterloo.ca (News Owner)
  7. Organization: University of Waterloo
  8. References: <D0Z2qB1w164w@q106fm.UUCP>
  9. Date: Tue, 15 Sep 1992 01:00:21 GMT
  10. Lines: 42
  11.  
  12. In article <D0Z2qB1w164w@q106fm.UUCP> pete@q106fm.UUCP (pete cervasio) writes:
  13. >fwbent@watmsg.uwaterloo.ca (Fred Bent) writes:
  14. >
  15. >>Hello,
  16. >>
  17. >>I have been reading several articles mention that currently
  18. >>there is no method for detecting a Microsoft Bus Mouse.
  19. >>
  20. >>Well, I have some code that shows how to do this (I think :-).
  21. >>Is this what you are asking for?  I have not tested this code
  22. >>with a Logitech so I am not sure what will happen, I only know
  23. >>that this code should work for detecting IF a Microsoft Bus Mouse
  24. >>is present (but not sure if will discriminate).
  25. >......Code Deleted......
  26. >>Hope this helps!  I can only test this under MS-DOS, but the method
  27. >>should be clear.  inp and outp simply get/send a byte to a IO port
  28. >>(in case not too obvious).
  29. >
  30. >Hmm... I just tried this with MSC 5.1 under DOS and it reports the IRQ
  31. >as 0... It did think I had a MS Mouse, though, so it may be what we need
  32. >under Linux to do the detection (leaving the IRQ at 5).  Could someone
  33. >with a Logitech mouse try this code and mail me your results?
  34.  
  35. Did you have optimizations turned on?  MSC is a very aggressize optimizer
  36. and may have removed the delay function.  With my Bus Mouse it reports
  37. the correct IRQ settings.
  38.  
  39. >
  40. >Thanks.
  41. >Pete C.
  42. >
  43. >+----------------------------------------------------------------------+
  44. >| Pete Cervasio                | pete%q106fm.uucp@wupost.wustl.edu     |
  45. >| I fish, therefore I am.      | pete.cervasio@f1.n2250.z1.fidonet.org |
  46. >+----------------------------------------------------------------------+
  47. >|  If you think of C as a preprocessor for your assembler, it makes    |
  48. >|                   just as little sense as before.   (me)             |
  49. >+----------------------------------------------------------------------+
  50. --
  51. Fred Bent
  52. fwbent@plg.uwaterloo.ca
  53.  
  54.