home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / x / i386unix / 95 < prev    next >
Encoding:
Text File  |  1992-12-21  |  2.2 KB  |  52 lines

  1. Newsgroups: comp.windows.x.i386unix
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!agate!ames!saimiri.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!uw-beaver!newsfeed.rice.edu!rice!news.Rice.edu!rich
  3. From: rich@Rice.edu (& Murphey)
  4. Subject: Re: COM port conflict in XFree86
  5. In-Reply-To: galbrait@rintintin.Colorado.EDU's message of Mon, 21 Dec 1992 07:50:00 GMT
  6. Message-ID: <RICH.92Dec21095319@superego.Rice.edu>
  7. Sender: news@rice.edu (News)
  8. Reply-To: Rich@rice.edu
  9. Organization: Department of Electrical and Computer Engineering, Rice
  10.     University
  11. References: <1992Dec21.075000.10043@ucsu.Colorado.EDU>
  12. Date: Mon, 21 Dec 1992 15:53:19 GMT
  13. Lines: 37
  14.  
  15. >>>>> In article <1992Dec21.075000.10043@ucsu.Colorado.EDU>, galbrait@rintintin.Colorado.EDU (GALBRAITH JOHN) writes:
  16. John> Hey, does anybody know why my serial mouse (Microsoft type) does not 
  17. John> work properly when I am using the modem?  The mouse is in COM1 and the
  18. John> baud rate is selected by the server - I don't tell it what it should be
  19. John> in the Xconfig.  The modem is in COM2 at 2400 baud. 
  20.  
  21. Yes, to fix this apply the patch to com.c in the file
  22. /usr/X386/lib/X11/etc/386bsd.patch in the XFree86 binary distribution.
  23.  
  24. Or apply the identical patch, patch00045, in the patch kit.
  25.  
  26. This fixes select() on the com ports.
  27.  
  28. John>     Normally, the mouse is fine.  When I am on the modem, however,
  29. John> the server will only respond to the mouse after a keypress.  So, you can
  30. John> adjust the mouse, hit a key to see it go, adjust the mouse some more, hit 
  31. John> another key...
  32. John>     To make matters more confusing, the mouse works fine when I am
  33. John> doing a zmodem download.
  34.  
  35. Christoph Robitschko (chmr@fstgds01.tu-graz.ac.at) wrote:
  36.  
  37. ttselect() calculates unit = minor(dev), and uses this as an index in
  38. com_tty. Because this index is different from that used in the com
  39. driver, select() on /dev/com1 looks at /dev/com2 and select() on
  40. /dev/com2 looks at an undefined entry in com_tty and returns always
  41. true.
  42.  
  43. John>     Is this something that XFree is doing, or the operating system?
  44. John> I am running 386BSD 0.1.  If this is an operating system question, I will
  45. John> ask elsewhere...
  46.  
  47. John>     Thanks.
  48. John> John Galbraith
  49. John> galbrait@rintintin.colorado.edu
  50.  
  51. Good luck, Rich
  52.