From: "Frank Torres" <frank@ingecom.net>
To: "Linux-Kernel" <linux-kernel@vger.kernel.org>
Subject: Duplicate console output to a RS232C and keep keyb where it is
Date: Fri, 3 Aug 2001 14:27:20 +0200 [thread overview]
Message-ID: <014101c11c17$a6dd21a0$66011ec0@frank> (raw)
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.
next reply other threads:[~2001-08-03 12:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-03 12:27 Frank Torres [this message]
2001-08-03 13:03 ` Duplicate console output to a RS232C and keep keyb where it is 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='014101c11c17$a6dd21a0$66011ec0@frank' \
--to=frank@ingecom.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox