From: Doruk Fisek (dfisek@fisek.com.tr)
Date: Wed 09 Apr 2003 - 12:51:54 EEST
Merhaba,
Wed, 09 Apr 2003 12:23:14 EEST tarihinde Mustafa Karakaplan
<mkarakaplan@inonu.edu.tr> soyle yazdi:
MK> Seri porttan (ttyS0) gelen bilgiyi kalvyeden giriliyormus gosteren gibi
MK> bir seye (c kod veya script) ihtiyacim var. Bu mumkun mu?
dogru mu anladim sordugunuzu bilmiyorum ama linux cekirdeginde zaten boyle
bir kod var.
x CONFIG_SERIAL_CONSOLE:
x
x
x
x If you say Y here, it will be possible to use a serial port as the
x
x system console (the system console is the device which receives all
x
x kernel messages and warnings and which allows logins in single user
x
x mode). This could be useful if some terminal or printer is connected
x
x to that serial port.
x
x
x
x Even if you say Y here, the currently visible virtual console
x
x (/dev/tty0) will still be used as the system console by default, but
x
x you can alter that using a kernel command line option such as
x
x "console=ttyS1". (Try "man bootparam" or see the documentation of
x
x your boot loader (lilo or loadlin) about how to pass options to the
x
x kernel at boot time.)
x If you don't have a VGA card installed and you say Y here, the
x
x kernel will automatically use the first serial line, /dev/ttyS0, as
x
x system console.
Doruk
-- FISEK ENSTITUSU - http://www.fisek.com.tr Ankara : (0312) 3857026 - 4197811 Istanbul : (0216) 4284693 - 4284694