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

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