Re: lug-bg: Longshine multy-user serial card
- Subject: Re: lug-bg: Longshine multy-user serial card
- From: ims63@xxxxxxxxxxxxx (I. Stoikov)
- Date: Thu, 11 Mar 1999 16:36:35 -0000
-----Part of Original Message-----
From: Georgi Georgiev <skelet_bg@xxxxxxxxx>
To: lug-bg@xxxxxxxxxxxxxxxx <lug-bg@xxxxxxxxxxxxxxxx>
Date: 09 Ìàðò 1999 ã. 09:55
Subject: lug-bg: Longshine multy-user serial card
Daite mi savet kvo da pravia. Dali taz karta ne e
savmestima s niakoia ot poddarjanite dumb ili
hubavi karti.
Zdrawei
winagi kato resha da dawam akyl, se chudia dali niama da e po dobre da si traia, ne za drugo, ami da ne obyrkam niakoi. I wse pak - kakwo znam, i kakwo sym opitwal:
Imam 4-port karta, AST sywmestima. Towa spore men oznachawa, da ima wyzmojnost da map-ira pone dwe grupi adresi, i da ima MASK(Vector)- registyr. Dwete grupi sa:
1) 0x2A0 do 0x2BF, s MR: 0x2BF, i
2) 0x1A0 do 0x1BF, s MR: 0x1BF;
Oswen towa moje da ima i AddrSpase za sywmestimost s standartnite portowe.
Ta , w zawisimost ot towa s koi KERNEL si, znam za dwe wyzmojnosti:
a) Ako e 2.0.x( mislia che waji i za 2.1.x), standartnia Serial Driver gi poddyrja, stiga da e razreshena opciqta "CONFIG_SERIAL=y", koiato kakto znaesh razreshawa izpolzwaneto na DevDrivers cua(ttyS)0,1.
b) Ako si s 2.2.x, se nalaga oswen tazi da e razreshena i opciite za "dump"-karti.
----------------------------------------------------------------------------
Extended dumb serial driver options' CONFIG_SERIAL_EXTENDED=y
Support more than 4 serial ports' CONFIG_SERIAL_MANY_PORTS=y
Support for sharing serial interrupts' CONFIG_SERIAL_SHARE_IRQ=y
Autodetect IRQ on standard ports (unsafe)' CONFIG_SERIAL_DETECT_IRQ=y?!?
Support special multiport boards' CONFIG_SERIAL_MULTIPORT=y
----------------------------------------------------------------------------
Oswen towa , w "rc.serial", triabwa da se razreshat niakoi redowe:
Naprimer, ako izpolzwash 0x2A0-0x2BF Mask=02BF, to
----------------------------------------------------------------------------
${SETSERIAL} /dev/cua8 ${AUTO_IRQ} autoconfig ${STD_FLAGS}
${SETSERIAL} /dev/cua9 ${AUTO_IRQ} autoconfig ${STD_FLAGS}
${SETSERIAL} /dev/cua10 ${AUTO_IRQ} autoconfig ${STD_FLAGS}
${SETSERIAL} /dev/cua11 ${AUTO_IRQ} autoconfig ${STD_FLAGS}
# This enables the new multiport masking feature, which is highly recommened
# for AST FourPort boards.
#
${SETSERIAL} /dev/cua8 set_multiport port1 0x2BF mask1 0xf match1 0xf,
----------------------------------------------------------------------------
W niakoe HOWTO, chetoh, che e po dobre da se izpolzwa "ttySx" wmesto "cuaX", no za sega niama problemi i s CUA-to.
I , nakraia, w "rc.S" triabwa nai dolu da imash:
----------------------------------------------------------------------------
# Run serial port setup script:
# (CAREFUL! This can make some systems hang if the rc.serial script isn't
# set up correctly. If this happens, you may have to edit the file from a
# boot disk)
#
. /etc/rc.d/rc.serial
----------------------------------------------------------------------------
Narochno wkliuchih komentara- procheti go. Preduprejdenieto e za PORT-ovete i IRQ-tata. Ako ne si probwal, proweri w /proc -> "interrupts" i "ports" dali adresite i IRQ-to sa ti swobodni. Na pyrwo wreme go startirai ot komanden PROMT, da ne stane niakoia greshka :)
Mmmmmmm, towa e wsichko, deto sym probwal. Pri men stana.
Dano da stane i pri tebe :))
Bydi zdraw: S@yM@n
---------------------------------------------------------------------------------------------
MyICQ#: 13507817 My e-mail: ims63@xxxxxxxxxxxxx
---------------------------------------------------------------------------------------------
==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
For more send to lug-bg-request@xxxxxxxxxxxx a single word 'info'
==================================================================
|