Ocenite etot tekst:


Nekotoroe  kolichestvo mul'tipleksorov podderzhivaetsya yadrom Lin­
ux.  Sm. ishodniki yadra...



Kabel'  predpolagaetsya  treh-provodnyj  nul'modemnyj  - tx,rc i
ground.  Ne zabud'te zakorotit' DTR/CTS/RTS.

Setap terminala:

 Mode          Line-mode
 Data bits     8
 Parity        NONE
 Stop bit      1
 Port protocol XON/XOFF
 Port speed    9600

V  RedHat'e  ne  zabud'te  proinstallirovat' RPM getty_ps - ego
chasto zabyvayut ustanovit' pri nachal'noj installyacii.

V fajle /etc/gettydefs imet' stroku
---------------------------------------------------------------
DT9600# B9600 CS8 CLOCAL # B9600 SANE -ISTRIP CLOCAL #@S login: #DT9600
---------------------------------------------------------------

V fajl /etc/inittab vpisat' strochku
Terminal podklyuchen k COM2
---------------------------------------------------------------
f2:12345:respawn:/sbin/getty ttyS1   DT9600
---------------------------------------------------------------



     Intellektual'nyj  mul'tipleksor  AST  Fourport. Cena okolo
$140 za 4 porta. Intellektual'nost' zaklyuchaetsya v tom,  chto  na
vse  4  porta  poedaetsya odno preryvanie. A tak zhe v tom, chto v
etoj karte porty  imeyut  16450  uarty,  a  znachit  maksimal'naya
skorost' na nih - 19200.

     Na  karte  massa  dzhamperov.  Bazovyj  rezhim  STANDART  ne
primenyat'!  V nem generyatsya porty COM1-COM4 so standartnymi dlya
nih  base-adresami  (chto  vpolne  priemlemo),  i na kazhdyj port
otvoditsya sobstvennoe preryvanie (chto kategoricheski nepriemlemo
dlya perepolnennoj kartami rasshireniya PC)
     Dzhampery  postavit' v rezhim ENHANSE, perepisat' na bumazhku
ustanovlennoe IRQ (Naprimer 5) i base-adresa, vydelennye portam
1-4.
     AST Fourport k Plug-n-playnym kartam NE otnositsya. Poetomu
zajti v BIOS-setup Pnp-config i postavit' IRQ 5 - "Used by ISA"
(Po umolchaniyu tam stoit "ICU")

       RedHat  ne  ozabotilsya  sdelat'  special'nye  fajlyy dlya
COM-portov 3-... poetomu sdelajte ih rukami:

mknod /dev/cua4  c 5 68
mknod /dev/cua5  c 5 69
mknod /dev/cua6  c 5 70
mknod /dev/cua7  c 5 71

mknod /dev/ttyS4 c 4 68
mknod /dev/ttyS5 c 4 69
mknod /dev/ttyS6 c 4 70
mknod /dev/ttyS7 c 4 71


V fajl /etc/rc.d/rc.serial vstavit' strochki:
---------------------------------------------------------------
#!/bin/sh
# AST FourPort Card   IRQ 5 uart 16450 Vector 2BF  ENHANSE
setserial -va /dev/cua4 irq 5 port 0x02a0 uart 16450
setserial -va /dev/cua5 irq 5 port 0x02a8 uart 16450
setserial -va /dev/cua6 irq 5 port 0x02b0 uart 16450
setserial -va /dev/cua7 irq 5 port 0x02b8 uart 16450
---------------------------------------------------------------

V fajle /etc/gettydefs imet' stroku
---------------------------------------------------------------
AST9600# B4800 CS8 CLOCAL # B4800 SANE -ISTRIP CLOCAL #@S login: #AST9600
---------------------------------------------------------------

V fajl /etc/inittab vpisat' strochki
---------------------------------------------------------------
# Dlya AST Fourport skorost stawitx w dwa raza medlennee terminala
f2:12345:respawn:/sbin/getty ttyS1    DT9600
f4:2345:respawn:/sbin/getty  ttyS4   AST9600
f5:2345:respawn:/sbin/getty  ttyS5   AST9600
f6:2345:respawn:/sbin/getty  ttyS6   AST9600
f7:2345:respawn:/sbin/getty  ttyS7   AST9600
---------------------------------------------------------------

V fajl /etc/profile vpisat' strochki
---------------------------------------------------------------
case `tty` in
*ttyS?) TERM=vt100 export TERM ;;  # Ili kakie u vas terminaly
esac
---------------------------------------------------------------

Obratite vnimanie na dva tonkih momenta:

1. AST Fourport imeet ne 16550A, a tol'ko 16450 uarty

2. Skorost' terminala 9600, a port stavitsya parametrami GETTY v
4800 (sic ?!) Pochemu, ne znayu, no tol'ko tak on rabotaet.

Last-modified: Fri, 21 Feb 1997 00:33:11 GMT
Ocenite etot tekst: