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

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!ghost.dsi.unimi.it!univ-lyon1.fr!chx400!bernina!almesber
  3. From: almesber@nessie.cs.id.ethz.ch (Werner Almesberger)
  4. Subject: Re: Serial communications problems
  5. Message-ID: <1992Dec13.043423.5075@bernina.ethz.ch>
  6. Sender: news@bernina.ethz.ch (USENET News System)
  7. Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
  8. References: <1992Dec13.021248.3074@athena.mit.edu>
  9. Date: Sun, 13 Dec 1992 04:34:23 GMT
  10. Lines: 21
  11.  
  12. In article <1992Dec13.021248.3074@athena.mit.edu> tytso@ATHENA.MIT.EDU (Theodore Ts'o) writes:
  13. > It would be possible to write a serial driver that did not use
  14. > interrupts --- by hooking something to the timer interrupt and having it
  15. > check 100 times a second to see if there's anything on the serial port;
  16. > but it would ruin your system performance, and it wouldn't really work
  17. > unless you had a 16550A UART, or if you aren't doing anything faster
  18. > than 600 bps.  (And even if you had a 16550A, you wouldn't be able to do
  19. > anything faster than 9600.)
  20.  
  21. You're a bit too pessimistic here. I'm using such a driver to run all
  22. four COM ports and it does 2400 bps with a 16450 and 19200 bps with a
  23. 16550A. 19200 bps gets a bit unreliable under load, but it's still
  24. acceptable for Zmodem. I'm polling at 300 Hz and it doesn't lower
  25. system performance very noticeably.
  26.  
  27. - Werner
  28. -- 
  29.    _________________________________________________________________________
  30.   / Werner Almesberger, ETH Zuerich, CH      almesber@nessie.cs.id.ethz.ch /
  31.  / IFW A44  Tel. +41 1 254 7213                 almesberger@rzvax.ethz.ch /
  32. /_BITNET:_ALMESBER@CZHETH5A__HEPNET/CHADNET:_[20579::]57414::ALMESBERGER_/
  33.