home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / linux / 10619 < prev    next >
Encoding:
Internet Message Format  |  1992-09-13  |  3.0 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: Re: Major/Minor numbers
  5. Message-ID: <VTy2qB1w164w@q106fm.UUCP>
  6. Date: Sun, 13 Sep 92 13:35:30 CDT
  7. References: <JEM.92Sep12175202@vipunen.hut.fi>
  8. Organization: WKBQ-FM Engineering Department
  9. Lines: 54
  10.  
  11. jem@vipunen.hut.fi (Johan Myreen) writes:
  12.  
  13. > >Actually, the last draft of the device-naming standard I saw from the
  14. > >Linux Standards list had /dev/bm = 10,0.  I think this should be
  15. > >updated to:
  16. > >
  17. > >bm-l    10, 0 c        logitech bus mouse
  18. > >bm-p    10, 1 c        ps/2 mouse
  19. > >bm-m    10, 2 c        microsoft bus mouse
  20. ... some stuff deleted ...
  21. > A PS/2 mouse is *not* a bus mouse, you connect it into a connector
  22. > which goes to the "Keyboard/Auxiliary Device Controller". This is the
  23. > name IBM's Technical Reference uses, and that's why I called the
  24. > device /dev/psaux. The interface is specifically meant for pointing
  25. ... more stuff deleted ...
  26. > It would also be more logical if the similar Microsoft and Logitech
  27. > bus mice would be grouped together as 0 and 1, and the PS/2 mouse
  28. > would use minor number 2. But it is perhaps too late to change that?
  29.  
  30. When I hacked Derrick Cole's hack of Teemu Ratanen's Microsoft busmouse
  31. driver into the kernel, this crossed my mind (the minor number thing).
  32. I didn't want to break anyone's system, though, so I just used the next
  33. available minor device number.  The ideal thing would have been being
  34. able to use the same minor device as the Logitech.
  35.  
  36. Unfortunately, the Logitech driver thinks it detects a Logitech mouse
  37. when it's looking at a Microsoft mouse, but the driver code doesn't work
  38. with it. I also don't know the proper way to detect a MS mouse by
  39. reading/writing to the mouse ports.  I would single-step through
  40. mouse.com but it's copyrighted code, and I don't want to jeapordize
  41. (sp?) Linux by doing something stupid like getting Microsoft on our
  42. butts.  I'm writing a letter to Microsoft to see if they'll supply some
  43. information on how to properly detect a MS mouse.  If they won't, I'll
  44. just have to start experimenting...
  45.  
  46. Additionally, I think the reason the PS/2 mouse type is being called a
  47. bus mouse is because: (1) there are two main "types" of mice... serial
  48. and bus, and (2) it's not a serial mouse.  (Although some of the "bus"
  49. mice out there are really serial mice, using a non-standard serial port
  50. card.
  51.  
  52. Thanks for the comments on mice.  You've got my brain working on it
  53. again, and I've started jotting things down in my notebook to look at
  54. later.  :-)
  55.  
  56. Pete C.
  57.  
  58. +----------------------------------------------------------------------+
  59. | Pete Cervasio                | pete%q106fm.uucp@wupost.wustl.edu     |
  60. | I fish, therefore I am.      | pete.cervasio@f1.n2250.z1.fidonet.org |
  61. +----------------------------------------------------------------------+
  62. |  If you think of C as a preprocessor for your assembler, it makes    |
  63. |                   just as little sense as before.   (me)             |
  64. +----------------------------------------------------------------------+
  65.