home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / linux / 10621 < prev    next >
Encoding:
Internet Message Format  |  1992-09-13  |  1.8 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!wupost!q106fm!pete
  2. From: pete@q106fm.UUCP (pete cervasio)
  3. Newsgroups: comp.os.linux
  4. Subject: Possible MS Bus Mouse Detect (?)
  5. Message-ID: <D0Z2qB1w164w@q106fm.UUCP>
  6. Date: Sun, 13 Sep 92 14:06:24 CDT
  7. Organization: WKBQ-FM Engineering Department
  8. Lines: 32
  9.  
  10. fwbent@watmsg.uwaterloo.ca (Fred Bent) writes:
  11.  
  12. >Hello,
  13. >
  14. >I have been reading several articles mention that currently
  15. >there is no method for detecting a Microsoft Bus Mouse.
  16. >
  17. >Well, I have some code that shows how to do this (I think :-).
  18. >Is this what you are asking for?  I have not tested this code
  19. >with a Logitech so I am not sure what will happen, I only know
  20. >that this code should work for detecting IF a Microsoft Bus Mouse
  21. >is present (but not sure if will discriminate).
  22. ......Code Deleted......
  23. >Hope this helps!  I can only test this under MS-DOS, but the method
  24. >should be clear.  inp and outp simply get/send a byte to a IO port
  25. >(in case not too obvious).
  26.  
  27. Hmm... I just tried this with MSC 5.1 under DOS and it reports the IRQ
  28. as 0... It did think I had a MS Mouse, though, so it may be what we need
  29. under Linux to do the detection (leaving the IRQ at 5).  Could someone
  30. with a Logitech mouse try this code and mail me your results?
  31.  
  32. Thanks.
  33. Pete C.
  34.  
  35. +----------------------------------------------------------------------+
  36. | Pete Cervasio                | pete%q106fm.uucp@wupost.wustl.edu     |
  37. | I fish, therefore I am.      | pete.cervasio@f1.n2250.z1.fidonet.org |
  38. +----------------------------------------------------------------------+
  39. |  If you think of C as a preprocessor for your assembler, it makes    |
  40. |                   just as little sense as before.   (me)             |
  41. +----------------------------------------------------------------------+
  42.