[gull] test port série

sneaky56 at gmx.net sneaky56 at gmx.net
Mon Dec 1 23:37:01 CET 2003


Yann Sagon <ypublic at hasa.ch> writes:

> Mais bien sûr!!! merci pour l'info, c'est exactement ça. Maintenant,
> pourquoi j'ai un ttyS2, c'est un mystère pour moi.

Aucune idée.

> Par contre, j'ai eu un autre problème, les deux ports ttyS*
> utilisaient le même IRQ, ce qui générait des pèrtes de liason entre
> mon palm et le pc. Maintenant, chaque ttyS* a un autre IRQ et tout
> fonctionne très bien.

Ça semble être standard sur les PCs (x86?), extrait de "man
setserial":

       The "standard MS-DOS" port associations are given below:

              /dev/ttyS0 (COM1), port 0x3f8, irq 4
              /dev/ttyS1 (COM2), port 0x2f8, irq 3
              /dev/ttyS2 (COM3), port 0x3e8, irq 4
              /dev/ttyS3 (COM4), port 0x2e8, irq 3

       Due to the limitations in the design of the AT/ISA bus
       architecture, normally an IRQ line may not be shared between
       two or more serial ports.  If you attempt to do this, one or
       both serial ports will become unreliable if you try to use both
       simultaneously.  This limitation can be overcome by special
       multi-port serial port boards, which are designed to share
       multiple serial ports over a single IRQ line.  Multi- port
       serial cards supported by Linux include the AST FourPort, the
       Accent Async board, the Usenet Serial II board, the Bocaboard
       BB-1004, BB-1008, and BB-2016 boards, and the HUB-6 serial
       board.

Donc les ports 0 et 2, ainsi que 1 et 3 ont les mêmes IRQ, mais des
adresses IO différentes.


         tom

-- 
as seen in a signature:
       "In an open world without walls and fences,
        who needs Gates and windows?"




More information about the gull mailing list