home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / bsd / 10189 < prev    next >
Encoding:
Text File  |  1992-12-14  |  2.6 KB  |  58 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!usc!sol.ctr.columbia.edu!eff!news.byu.edu!ux1!fcom.cc.utah.edu!cs.weber.edu!terry
  3. From: terry@cs.weber.edu (A Wizard of Earth C)
  4. Subject: Re: [386bsd] 16550 and rtscts patch
  5. Message-ID: <1992Dec14.171834.7500@fcom.cc.utah.edu>
  6. Sender: news@fcom.cc.utah.edu
  7. Organization: Weber State University  (Ogden, UT)
  8. References: <Bz25Io.L40@ucunix.san.uc.edu>
  9. Date: Mon, 14 Dec 92 17:18:34 GMT
  10. Lines: 46
  11.  
  12. In article <Bz25Io.L40@ucunix.san.uc.edu> pmartin@eniac.san.uc.edu (Paul Martin) writes:
  13. >
  14. >I applied the rtscts flow control patch to the com driver that was
  15. >posted here sometime back.  Now I cannot send anything to the modem.  The
  16. >modem does not receive the characters, and the command:
  17. >echo ats0=1 > /dev/com2
  18. >seems to hang until I shut off the modem.  This worked before the patch.
  19. >I am using 16550's.  By the way, the mouse on com1 still works fine.
  20. >
  21. >Any Ideas?
  22.  
  23. I haven't had a chance to look at the patch yet (I did save it off);
  24. I suspect that the problem is that the inverse level is being looked at
  25. (ie: only with the RTS deasserted can you send).  The other possibility
  26. is that the CTS assert/RTS require order is munged, and your modem needs
  27. your serial prot to assert before it can assert, and your serial port
  28. needs the same (ie: starvation deadlock).
  29.  
  30. In general, it can be said that *nobody* does CTS/RTS as "expected", and
  31. unless you have a Bell 103 dataset, you can't expect it to work quite
  32. right without a lot of tweaking.
  33.  
  34. The other possibility is that *many* modems will not assert RTS until
  35. they have carrier; this is fine for dial-in to a UNIX box, but dial out
  36. expects to be able to dialog with the modem without DCD *or* RTS
  37. present.  If you are using a "calling unit" version of the device, this
  38. problem should be taken care of for you on dial out (although I can't
  39. vouch for whether or not the patch only applies to "calling unit"
  40. devices AFTER DCD has been asserted.
  41.  
  42. I assume since you can "shut off" your modem that it's external.  If you
  43. have a breakout box, you may want to watch the signal levels to/from
  44. the modem to confirm your problem.
  45.  
  46.  
  47.                     Terry Lambert
  48.                     terry@icarus.weber.edu
  49.                     terry_lambert@novell.com
  50. ---
  51. Any opinions in this posting are my own and not those of my present
  52. or previous employers.
  53. -- 
  54. -------------------------------------------------------------------------------
  55.                                         "I have an 8 user poetic license" - me
  56.  Get the 386bsd FAQ from agate.berkeley.edu:/pub/386BSD/386bsd-0.1/unofficial
  57. -------------------------------------------------------------------------------
  58.