home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / linux / 20427 < prev    next >
Encoding:
Text File  |  1992-12-14  |  1.4 KB  |  40 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!think.com!spdcc!jti.com!richb
  3. From: richb@jti.com (Richard Braun)
  4. Subject: Modem control (was Re: uucico not hanging up the telephone line)
  5. Message-ID: <Bz9oB4.8wt@jti.com>
  6. Sender: news@jti.com (News Admin)
  7. Nntp-Posting-Host: bart.jti.com
  8. Organization: Jupiter Technology Inc. / Waltham, MA
  9. References: <9212121695@yikes.uucp>
  10. Date: Mon, 14 Dec 1992 20:44:59 GMT
  11. Lines: 27
  12.  
  13. On a somewhat related subject, I observed the following glitch with my
  14. now-antiquated Epic 2400 internal modem:
  15.  
  16. As soon as the CONNECT 2400 message came up, the modem would hang up
  17. (on the local Linux end) and the modem would display "OK".
  18.  
  19. To diagnose the problem, I pulled out an even more antique Hayes 1200
  20. modem and connected it to a serial port and put a Radio Shack RS-232
  21. signal-display gizmo on the line.  Connections worked fine!
  22.  
  23. For some reason, it immediately occured to me to check the modem manual
  24. for DTR handling.  I typed the following command to the modem:
  25.  
  26.     ATS25=50
  27.  
  28. This causes the modem to ignore DTR drop until it's been down for 500
  29. milliseconds.  Sure enough, that solved my problem; the above command
  30. has to be saved in the modem memory (not! on my old modem) or sent prior
  31. to the ATDT command.
  32.  
  33. So apparently the Linux serial device driver drops DTR briefly when it
  34. sees carrier detect, so briefly that I couldn't eyeball it on the
  35. LEDs.  Didn't matter whether clocal was set or not.
  36.  
  37. Could this really be the case?
  38.  
  39. -rich
  40.