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

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!spool.mu.edu!umn.edu!noc.msc.net!news.stolaf.edu!lars.acc-admin.stolaf.edu!johnsonm
  3. From: johnsonm@lars.acc-admin.stolaf.edu (Michael K. Johnson)
  4. Subject: Re: Serial communications problems
  5. In-Reply-To: tytso@ATHENA.MIT.EDU's message of Tue, 15 Dec 1992 02:39:31 GMT
  6. Message-ID: <1992Dec15.040444.16442@news.stolaf.edu>
  7. Sender: news@news.stolaf.edu
  8. Organization: St. Olaf College; Northfield, MN  USA
  9. References: <1992Dec15.023931.6220@athena.mit.edu>
  10. Date: Tue, 15 Dec 1992 04:04:44 GMT
  11. Lines: 18
  12.  
  13.  
  14. In article <1992Dec15.023931.6220@athena.mit.edu> tytso@ATHENA.MIT.EDU (Theodore Ts'o) writes:
  15.       From: almesber@nessie.cs.id.ethz.ch (Werner Almesberger)
  16.       Date: Sun, 13 Dec 1992 04:34:23 GMT
  17.  
  18.       You're a bit too pessimistic here. I'm using such a driver to run all
  19.       four COM ports and it does 2400 bps with a 16450 and 19200 bps with a
  20.       16550A. 19200 bps gets a bit unreliable under load, but it's still
  21.       acceptable for Zmodem. I'm polling at 300 Hz and it doesn't lower
  22.       system performance very noticeably.
  23.  
  24.    Is this on Linux?  How are you polling at 300Hz, when the system clock
  25.    ticks at 100Hz?
  26.  
  27. It's really not that hard to reprogram the clock for 300 Hz, and then
  28. call do_timer() from your polling interrupt every third call.
  29.  
  30. michaelkjohnson
  31.