home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / biz / sco / general / 4908 < prev    next >
Encoding:
Internet Message Format  |  1992-12-31  |  3.8 KB

  1. Path: sparky!uunet!shady!kevin
  2. From: kevin@shady.UUCP (Kevin Smith)
  3. Newsgroups: biz.sco.general
  4. Subject: Re: Logitech C9 Serial Mouse at 9600 Baud
  5. Keywords: logitech serial mouse
  6. Message-ID: <74@shady.UUCP>
  7. Date: 31 Dec 92 19:52:40 GMT
  8. References: <71@shady.UUCP> <1992Dec31.063513.10725@rock.concert.net>
  9. Organization: ShadeTree Software, Inc.
  10. Lines: 65
  11.  
  12. In article <1992Dec31.063513.10725@rock.concert.net> darkshot@rock.concert.net (Michael B Garrett -- Chudys) writes:
  13. >I would say to look in the mkdev mouse script, offhand. You should find the
  14. >needed "stuff to change" in there. (I'm logged on now with a CP/M machine
  15. >so I can't check it for you, but that's where I'd look first for clues).
  16. >
  17. >Query: Why in hell? What benefits are gained by running a serial mouse
  18. >at 9600 baud? If it's on the typical COM1, and not on a co-processed
  19. >multiport server, I'd expect it to have a detrimental effect systemwide.
  20. >I could be wrong, but running a Telebit Worldblazer on COM2 at 9600+ 
  21. >REALLY bogs my system down.....I dunno about a mouse, but I expect it
  22. >would be much the same situation. Hard to say.
  23. >
  24. >'Shot
  25.  
  26. mkdev mouse allows you to pick one of the entries in
  27. /usr/lib/event/devices and edits the /usr/lib/event/ttys file for the
  28. tty associations.  It uses configure to add the driver to the kernel
  29. (based on a fixed "mouse type" in the devices file)
  30. (/etc/conf/cf.d/sevent) and manually creates the /etc/conf/node.d
  31. files for idmkenv.
  32.  
  33. It doesn't appear that the STTY and INIT strings are in any way
  34. configured into the kernel.  For a serial mouse, then, this must be
  35. handled by the event library calls (By the way, I seem to be missing
  36. my ev_open() man pages).  The sequence would be, I believe, to apply
  37. the STTY to the port then send the INIT string, after which,
  38. everything should be ready to go.
  39.  
  40. A further note of justification (seems to be required).  I am running
  41. a Pittsburgh Powercomputing X server on a #9Gxi-27 graphics adaptor
  42. (1280x1024).  The PP X server gives me the option of using the SCO
  43. event mechanism for mouse input or, given a supported serial mouse, it
  44. will read the port directly.  In the latter case, with a logitech C9
  45. mouse, it will program the port to 9600 baud.  This yields a
  46. substantial improvement in mouse performance.  The mouse will move
  47. smoothly around the screen instead of by leaps and bounds.  Using the
  48. bus mouse through the event driver yields performance similar to the
  49. direct connect 9600 baud serial mouse (i.e.  good).
  50.  
  51. I currently have two mice on my system.  A logitech bus mouse which I
  52. use for SCO X windows and DOS/MERGE on my standard VGA screen and a
  53. logitech serial mouse I use for the PP X windows.  This is because my
  54. initial version of the PP X server supported only a directly
  55. controlled serial mouse and did not support the SCO event stuff and
  56. since it was reading the port directly it could not be shared with
  57. anyone else on the system.  I now have two problems.  One, I have two
  58. mice.  It's hard enough keeping one untangled from the phone cord and
  59. other desk paraphanalia.  Second, I am out of slots on my motherboard
  60. and would like to boot the bus mouse.  Otherwise I could toss the
  61. serial mouse and stick with the bus mouse.
  62.  
  63. Since the mouse can operate at 9600 baud and the
  64. /usr/lib/event/devices file seems to allow a way to configure it...
  65. Can it be done? If so, how? What is the magic INIT string to put the
  66. mouse in 9600 baud mode.  The doc that came with the mouse allows that
  67. the mouse can be configured at 9600 baud but provides no actual info
  68. on how to do it--They assume you are using their drivers and that you
  69. will just pick 9600 from their configuration menu.
  70.  
  71. How about a free bus mouse to whoever has the answer :-)
  72. -- 
  73.         | Email - !shady!kevin uunet!shady!kevin kevin%shady@uunet.uu.net
  74. Kevin Smith | Voice - (+1) (908) 874-7980
  75.         | Mail  - ShadeTree Software, Inc., 192 Capricorn Dr. #10,
  76.         |         Somerville, NJ  08876, USA
  77.