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