home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / linux / 9187 < prev    next >
Encoding:
Text File  |  1992-08-26  |  2.5 KB  |  59 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!psinntp!pool!ujlh
  3. From: ujlh@pool.info.sunyit.edu (James Henrickson)
  4. Subject: Re: 16550A
  5. Message-ID: <1992Aug26.172227.16546@pool.info.sunyit.edu>
  6. Organization: State University of New York -- Institute of Technology
  7. References: <1992Aug25.215550.26919@athena.mit.edu>
  8. Date: Wed, 26 Aug 1992 17:22:27 GMT
  9. Lines: 48
  10.  
  11. In article <1992Aug25.215550.26919@athena.mit.edu> tytso@ATHENA.MIT.EDU (Theodore Ts'o) writes:
  12. >   From: satishc@microsoft.com (Satish Chittamuru)
  13. >   Date: 25 Aug 92 02:11:42 GMT
  14. >
  15. >    > Does anyone else have problems with Linux not correctly "shutting down"
  16. >    > the 16550?  Ever since the kernel has supported a 16550, I have had to
  17. >    > hard reset the computer after running linux, or it seems that the
  18. >    > computer "forgets" that the port that contains the 16550, exists.
  19. >
  20. >   I have always had this problem. I usually just hard reboot if I need
  21. >   to use the modem again. Would be nice if this could be fixed.
  22. >
  23. >Once I have time to recover from moving to a new apartment, I'll make
  24. >changes to the version of the serial driver I've been working on to
  25. >shutdown the 16550A FIFO's upon device close, instead of leaving the
  26. >FIFO's enabled the whole time.  I think this should fix the problem.
  27. >
  28. >                        - Ted
  29. >
  30.  
  31. I've been having problems with 16450's in my two Linux machines.  I haven't
  32. noticed it with my serial mouse, but my modem lines get forgotten my
  33. Linux.  It doesn't happen all the time, so it is unpredictable.  I will
  34. be connected somewhere, then all of a sudden get a little line noise and
  35. the serial port goes dead.  If I disconnect the phone line quick enough,
  36. I can sometimes drop carrier and regain my serial port.  Otherwise, it
  37. is dead until I reboot.  This has happened with an internal modem in both
  38. of my machines, and with an external modem in my 386DX.  I can "cat" files
  39. to the serial ports after this has occured, but the modem light don't
  40. come on so it acts like a "bit bucket".  I don't get any "busy" messages
  41. or any kind of errors, I just can't use the ports.  "stty sane" doesn't
  42. do it.  
  43.  
  44. Has anyone else encountered this problem or have any suggestions for getting 
  45. around this?  I hate to reboot the machine each time I lose the serial port.
  46.  
  47. I had originally thought it was just the internal modem, but it must be
  48. Linux because it happens with more than one serial port on more than one
  49. machine.  I use 16450's only.
  50.  
  51. Thanks for any help,
  52.  
  53.  
  54. -- 
  55. Jim H.
  56. *
  57. * James L. Henrickson
  58. * ujlh@sunyit.edu        "Some day I might have a real .signature!"
  59.