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

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!mcsun!Germany.EU.net!rrz.uni-koeln.de!unidui!math.fu-berlin.de!news.th-darmstadt.de!adams
  3. From: adams@pdv2.fmr.maschinenbau.th-darmstadt.de (Adams)
  4. Subject: Re: Serial IRQ polling
  5. Sender: news@news.th-darmstadt.de (The News System)
  6. Message-ID: <ADAMS.92Dec16013812@PDV2.pdv2.fmr.maschinenbau.th-darmstadt.de>
  7. In-Reply-To: jimc@hal.gnu.ai.mit.edu's message of 14 Dec 1992 14: 48:42 GMT
  8. Date: Wed, 16 Dec 1992 01:38:12 GMT
  9. References: <1gi6saINNaq4@life.ai.mit.edu>
  10. Nntp-Posting-Host: pdv2.fmr.maschinenbau.th-darmstadt.de
  11. Organization: TH-Darmstadt
  12. Lines: 23
  13.  
  14. In article <1gi6saINNaq4@life.ai.mit.edu> jimc@hal.gnu.ai.mit.edu (James Carpenter) writes:
  15.  
  16. >   Does Linux poll serial ports (i.e. can I use COM2 and COM4 at the same time
  17. >   if they are both on IRQ 3). I have looked at the serial code but it just
  18. >   gets me dizzy. And I do not see any mention of polling (which is what I 
  19. >   always thought was the correct phrase). But is Linux suppose to do this?
  20. >   And if so PLEASE tell me that there is a trick to enabling it because
  21. >   nothing I've tried works.
  22.  
  23. There is no reasonable way to poll a device in a multi user or
  24. realtime environment. Attaching to a timer
  25. will lead to a desastrous performance loss, and hooking the
  26. CPU will disable multitasking.
  27.  
  28. If there would be enough interest, it would be neither too hard nor
  29. too expensive to throw an expansion card together, handling 2-4 serial
  30. ports without any intervention of CPU..... Those by commercial vendors
  31. cost up to 4000 DM, devices used sum up to 150 DM ....
  32.  
  33. (Remember: 16 bit wide ethernet cards, together with DOS setup software
  34. cost about 260,-- DM)
  35.  
  36. best adams
  37.