Technische Daten
Schnittstelle: PCI 2.1 Chipsatz: PCI2S550 (Dual 16550 UART) Kompatibilität: RS-232 Anschlüsse: 2 x DSUB9 serial Max. Datenrate: jeweils 115,2 kBit/s Besonderheiten: Benötigt nur einen System-IRQ
Ganz einfach weitere serielle Schnittstellen im System
Die Mercury PCI Dual Port Serial Card erweitert Ihr System schnell, unkompliziert und resourcenschonend um zwei weitere serielle Schnittstellen.
Bereit für Linux
Der Chipsatz wird nativ vom Linux-Kernel unterstützt. Es werden keine zusätzlichen Treiber benötigt.
Installation unter Linux
-
Steckt die Karte im System, so meldet das Kommando lspci die Karte vergleichbar mit:
0000:02:09.0 Serial controller: Timedia Technology Co Ltd PCI2S550 (Dual 16550 UART) (rev 01)
-
Um die Schnittstellen verwenden zu können sind zunächst folgende Kernel-Optionen notwendig (am Beispiel eines 2.6er Kernels):
Device Drivers ---> Character devices ---> Serial drivers ---> [M] 8250/16550 and compatible serial support (4) Maximum number of non-legacy 8250/16550 serial ports [*] Extended 8250/16550 serial driver options [*] Support more than 4 legacy serial ports [*] Support for sharing serial interrupts [*] Autodetect IRQ on standard ports (unsafe) [*] Support special multiport boards [ ] Support RSA serial ports (NEW)
-
Schließlich müssen in dieser Reihenfolge folgende Module geladen werden:
# dmesg -c > /dev/null # modprobe serial_core # modprobe 8250 # modprobe 8250_pci
woraufhin ein dmesg | grep tty die Interfaces anzeigt:
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A ttyS4 at I/O 0xa400 (irq = 5) is a 16550A ttyS5 at I/O 0xa408 (irq = 5) is a 16550A
Betrieb unter Linux
Als Beispiel sei hier die Verwendung des Modem-Wählprogrammes wvdial gezeigt. Das Komando wvdialconfig /etc/wvdial.conf sucht an allen verfügbaren seriellen Schnittstellen nach einem angeschlossenen Modem und testet auf Geschwindigkeit. Das Ergebnis wird in die Datei /etc/wvdial.conf geschrieben.
# wvdialconf /etc/wvdial.conf Scanning your serial ports for a modem.
ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 4800 baud ttyS0<*1>: ATQ0 V1 E1 -- failed with 4800 baud, next try: 9600 baud ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 19200 baud ttyS0<*1>: ATQ0 V1 E1 -- failed with 19200 baud, next try: 115200 baud ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up. ttyS1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 4800 baud ttyS1<*1>: ATQ0 V1 E1 -- failed with 4800 baud, next try: 9600 baud ttyS1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 19200 baud ttyS1<*1>: ATQ0 V1 E1 -- failed with 19200 baud, next try: 115200 baud ttyS1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up. Port Scan<*1>: S2 S3 ttyS4<*1>: ATQ0 V1 E1 -- OK ttyS4<*1>: ATQ0 V1 E1 Z -- OK ttyS4<*1>: ATQ0 V1 E1 S0=0 -- OK ttyS4<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK ttyS4<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK ttyS4<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK ttyS4<*1>: Modem Identifier: ATI -- U1496E V 5.05 P ttyS4<*1>: Speed 4800: AT -- OK ttyS4<*1>: Speed 9600: AT -- OK ttyS4<*1>: Speed 19200: AT -- OK ttyS4<*1>: Speed 38400: AT -- OK ttyS4<*1>: Speed 57600: AT -- OK ttyS4<*1>: Speed 115200: AT -- AT ttyS4<*1>: Speed 115200: AT -- AT ttyS4<*1>: Speed 115200: AT -- AT ttyS4<*1>: Max speed is 57600; that should be safe. ttyS4<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
Found a modem on /dev/ttyS4. Modem configuration written to /etc/wvdial.conf. ttyS4: Speed 57600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
|