home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!wupost!q106fm!pete
- From: pete@q106fm.UUCP (pete cervasio)
- Newsgroups: comp.os.linux
- Subject: Re: Major/Minor numbers
- Message-ID: <VTy2qB1w164w@q106fm.UUCP>
- Date: Sun, 13 Sep 92 13:35:30 CDT
- References: <JEM.92Sep12175202@vipunen.hut.fi>
- Organization: WKBQ-FM Engineering Department
- Lines: 54
-
- jem@vipunen.hut.fi (Johan Myreen) writes:
-
- > >Actually, the last draft of the device-naming standard I saw from the
- > >Linux Standards list had /dev/bm = 10,0. I think this should be
- > >updated to:
- > >
- > >bm-l 10, 0 c logitech bus mouse
- > >bm-p 10, 1 c ps/2 mouse
- > >bm-m 10, 2 c microsoft bus mouse
- ... some stuff deleted ...
- > A PS/2 mouse is *not* a bus mouse, you connect it into a connector
- > which goes to the "Keyboard/Auxiliary Device Controller". This is the
- > name IBM's Technical Reference uses, and that's why I called the
- > device /dev/psaux. The interface is specifically meant for pointing
- ... more stuff deleted ...
- > It would also be more logical if the similar Microsoft and Logitech
- > bus mice would be grouped together as 0 and 1, and the PS/2 mouse
- > would use minor number 2. But it is perhaps too late to change that?
-
- When I hacked Derrick Cole's hack of Teemu Ratanen's Microsoft busmouse
- driver into the kernel, this crossed my mind (the minor number thing).
- I didn't want to break anyone's system, though, so I just used the next
- available minor device number. The ideal thing would have been being
- able to use the same minor device as the Logitech.
-
- Unfortunately, the Logitech driver thinks it detects a Logitech mouse
- when it's looking at a Microsoft mouse, but the driver code doesn't work
- with it. I also don't know the proper way to detect a MS mouse by
- reading/writing to the mouse ports. I would single-step through
- mouse.com but it's copyrighted code, and I don't want to jeapordize
- (sp?) Linux by doing something stupid like getting Microsoft on our
- butts. I'm writing a letter to Microsoft to see if they'll supply some
- information on how to properly detect a MS mouse. If they won't, I'll
- just have to start experimenting...
-
- Additionally, I think the reason the PS/2 mouse type is being called a
- bus mouse is because: (1) there are two main "types" of mice... serial
- and bus, and (2) it's not a serial mouse. (Although some of the "bus"
- mice out there are really serial mice, using a non-standard serial port
- card.
-
- Thanks for the comments on mice. You've got my brain working on it
- again, and I've started jotting things down in my notebook to look at
- later. :-)
-
- 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) |
- +----------------------------------------------------------------------+
-