home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!mcsun!news.funet.fi!ajk.tele.fi!funic!nntp.hut.fi!nntp!jem
- From: jem@vipunen.hut.fi (Johan Myreen)
- Subject: Re: using serial (ps/2 comp) mouse on Gateway
- In-Reply-To: bx516@cleveland.Freenet.Edu's message of 8 Sep 1992 20:48:30 GMT
- Message-ID: <JEM.92Sep9163849@vipunen.hut.fi>
- Sender: usenet@nntp.hut.fi (Usenet pseudouser id)
- Nntp-Posting-Host: vipunen.hut.fi
- Organization: Helsinki University of Technology, Finland
- References: <18j3iuINNf6e@usenet.INS.CWRU.Edu>
- Date: 9 Sep 92 16:38:49
- Lines: 50
-
-
- First, to reduce (increase?) the confusion about mice, I'd like to
- point out that
-
- Serial mice != PS/2 mice != Bus mice.
-
- PS/2 mice resemble serial mice somewhat, they transmit the data
- serially, and I think at least some PS/2 mice can be plugged into a
- serial port with a suitable adapter. Normally you plug in a PS/2 mouse
- into the mouse port, which uses a 6-pin Mini-DIN connector, which
- inside the computer connects to the keyboard/auxiliary processor
- (8042). The OS reads the data from a register in this processor, in
- the same way the keyboard driver does.
-
- In article <18j3iuINNf6e@usenet.INS.CWRU.Edu> bx516@cleveland.Freenet.Edu (Victor Charles Zandy) writes:
- >I am trying to run X on my Gateway 2000 386sx under linux.
- >Everything seems to start up fine, but after two months of trying
- >I have not been able to get X to recognize my mouse. It's a
- >microsoft mouse, and appears to be connected in a ps/2 style port.
- >Could anyone provide me with major/minor device numbers or any
- >other advice?
-
- The PS/2 mouse driver went into Linux with 0.97PL3, so you will need
- this or a later release to use a PS/2 mouse, or you will have to patch
- your kernel with patches available on nic.funet.fi
- (/pub/OS/Linux/kernel/ps2m097.tar.Z). The driver uses major=10,
- minor=1; create the device with the following command
-
- mknod /dev/psaux c 10 1
-
- PS/2 mice use a protocol which isn't compatible with the Microsoft
- serial protocol, or (to my knowledge) with any other mouse protocol.
- But since the protocol was defined by IBM, all PS/2 mice use the
- same protocol (knock on wood).
-
- Of course, this protocol isn't supported by X386... To work around
- this I have written a program which converts the PS/2 mouse packets
- into corresponding ones using the Microsoft protocol. The program uses
- a pseudo tty; in Xconfig you lie to X386 that you have a Microsoft
- mouse on the slave side of a pty (e.g. /dev/ttyp1), start up the
- conversion program and X is happy. This program is available in the
- patch file too. Please read the README.
-
- It would be nice if somebody could include PS/2 mouse support in
- X386/XFree86. Unfortunately I don't have the disk space (nor the time)
- to do this.
-
- --
- Johan Myreen
- jem@cs.hut.fi
-