public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Duplicate console output to a RS232C and keep keyb where it is
@ 2001-08-03 12:27 Frank Torres
  2001-08-03 13:03 ` Richard B. Johnson
  0 siblings, 1 reply; 9+ messages in thread
From: Frank Torres @ 2001-08-03 12:27 UTC (permalink / raw)
  To: Linux-Kernel

How do I make Linux to use the serial port RS232C as console and get the
keyb entry from the normal console?

The RS232C is a serial port with 12V and there I have a BA63 20x4 display
connected. (info worldwide)
It is setted with the right speed, parity, etc. I use echo whatever
>/dev/ttyS2 and it works.
If I use the command line parameter everybody says:  (odd and 8 data bits is
what I use)
            serial=2,9600o8
            console=ttyS2,9600o8 console=tty0
it shows the kernel messages in tty0 and it also sends it to the serial port
(of course, but without configuring it, though, almost illegible) at the
point of starting init, it stops the output.

If I swap the consoles (console=tty0 console=ttyS2,9600o8) it sends the
kernel messages to both, the tty0 and the ttySn, but when init starts, it
begins to send the Welcome... adn the Press I to enter... messages
repetedely each time further one from another. Seldom it continues executing
rc.sysinit processes, but it never comes to the end. I check it by
connecting the serial output to a serial input in a PC also running Linux
and using cat /dev/ttyS0.

I also used the line s0:1234:respawn .... at inittab,   but it creates a new
line for loggin where you say it to do it. If I dont change lilo.conf but
only inittab, I can see the loggin message. I don't want that. I just want
it to get se loggin from the console I'm working with.

What I expect it to obtain all the console output through the serial port
and the input through my keyboard using any of the virual consoles (let's
say tty1), not comming from serial. Is there any way to do that?

Thanx from advance. Frank.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2001-08-06 13:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-03 12:27 Duplicate console output to a RS232C and keep keyb where it is Frank Torres
2001-08-03 13:03 ` Richard B. Johnson
2001-08-03 14:01   ` Frank Torres
2001-08-03 14:50     ` Richard B. Johnson
2001-08-03 18:43     ` Russell King
2001-08-06  7:35       ` Frank Torres
2001-08-06 12:45         ` Richard B. Johnson
2001-08-06 13:12           ` Frank Torres
2001-08-03 22:45   ` J. Dow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox