home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / linux / 25243 < prev    next >
Encoding:
Text File  |  1993-01-24  |  1.4 KB  |  30 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!torvalds
  3. From: torvalds@klaava.Helsinki.FI (Linus Torvalds)
  4. Subject: Re: Serial I/O in 99pl3-4
  5. Message-ID: <1993Jan23.220924.26333@klaava.Helsinki.FI>
  6. Organization: University of Helsinki
  7. References: <btenison.930123104426@tesla.ee.eng.auburn.edu> <1js994INNfkq@cobra.cs.ubc.ca>
  8. Date: Sat, 23 Jan 1993 22:09:24 GMT
  9. Lines: 19
  10.  
  11. In article <1js994INNfkq@cobra.cs.ubc.ca> edmonds@cs.ubc.ca (Brian Edmonds) writes:
  12. >
  13. >Well, I'm not exactly having trouble, but the behaviour did change when 
  14. >I went from p0 to p3 (might have been p2 to p3 even, I'm fuzzy on that 
  15. >:).  The ports generally seem to work fine, except for one anomaly.  
  16. >When I hang up from our local annex, I used to get the NO CARRIER 
  17. >message from the modem when it disconnected.  Now, instead, I get no 
  18. >message, and if I type anything to the modem after the disconnet, I get 
  19. >an I/O error (unable to write or somesuch).  So far this hasn't been a 
  20. >problem, but it does seem to indicate a bug somewhere.  BTW, I'm not 
  21. >using the serial autoconfigure option. 
  22.  
  23. Put the terminal line in CLOCAL mode - the above behaviour is normal and
  24. due to the new hangup routines.  If you are not running a getty on a
  25. serial line, you should probably do a "stty clocal < /dev/ttyXX" for the
  26. line in your /etc/rc.local, telling the kernel not to do hangups on CD
  27. drops etc.. 
  28.  
  29.         Linus
  30.