[linux] Netmos [vyriesene]

Pavol Lajciak Pavol.Lajciak na fedu.ku.sk
Pondělí Prosinec 6 12:28:54 CET 2004


Tak som to vyriesil, aspon co sa tyka seriovych portov.


Postup na konfig seriovych portov
---------------------------------

vi /etc/rc.d/rc.serial

------------------------ obsah suboru rc.serial ---------------------
setserial /dev/ttyS1 port 0xdc00 uart 16550A irq 22 baud_base 115200
setserial /dev/ttyS2 port 0xd880 uart 16550A irq 22 baud_base 115200
---------------------------------------------------------------------

cd /etc
ln -s /etc/rc.d/rc.serial rc.serial

adresu portov a IRQ zistite.
less /proc/pci

Bus  2, device   1, function  0:
     Communication controller: NetMos Technology 222N-2 I/O Card (2S+1P)
(rev 1).
       IRQ 22.
       Master Capable.  Latency=32.
       I/O at 0xdc00 [0xdc07].
       I/O at 0xd880 [0xd887].
       I/O at 0xd800 [0xd807].
       I/O at 0xd480 [0xd487].
       I/O at 0xd400 [0xd407].
       I/O at 0xd080 [0xd08f].


PS: Sorry, ale dal som zly subject, tak este raz aj s [vyriesene]

-- 
S uctou
Pavol Lajciak

Pedagogicka fakulta
Katolicka Univerzita
Katedra informatiky
Namestie Andreja Hlinku 56
034 01 Ruzomberok
tel: +421 44 4320 961 kl. 333
Pavol (dot) Lajciak (at) fedu (dot) ku (dot) sk
http://pf.ku.sk/lajciak/





Další informace o konferenci linux