home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!mcsun!sun4nl!dutrun!donau!liberator.et.tudelft.nl!wolff
- From: wolff@liberator.et.tudelft.nl (Rogier Wolff)
- Subject: Re: Serial IRQ polling
- Message-ID: <1992Dec17.135734.19036@donau.et.tudelft.nl>
- Sender: news@donau.et.tudelft.nl (UseNet News System)
- Nntp-Posting-Host: liberator.et.tudelft.nl
- Organization: Delft University of Technology, Dept. of Electrical Engineering
- References: <1gi6saINNaq4@life.ai.mit.edu> <ADAMS.92Dec16013812@PDV2.pdv2.fmr.maschinenbau.th-darmstadt.de>
- Date: Thu, 17 Dec 1992 13:57:34 GMT
- Lines: 27
-
- adams@pdv2.fmr.maschinenbau.th-darmstadt.de (Adams) writes:
-
- >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.
-
- Linux doesn't poll, however if both COM2 and COM4 are in use, it will check
- both devices before returing from the interrupt. Thus: No Linux doesn't
- use polling, but it does allow both COM ports to be used. The only trick
- is to get a reasonably new kernel.
-
-
- Roger.
-
- --
- **** a 486 in V86 mode is like a VW buggy with a 6 litre V12 motor. ****
- EMail: wolff@duteca.et.tudelft.nl ** Tel +31-15-783644 or +31-15-142371
-