public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Frank Torres" <frank@ingecom.net>
To: <root@chaos.analogic.com>
Cc: "Russell King" <rmk@arm.linux.org.uk>, <jdow@earthlink.net>,
	"Linux-Kernel" <linux-kernel@vger.kernel.org>
Subject: Re: Duplicate console output to a RS232C and keep keyb where it is
Date: Mon, 6 Aug 2001 15:12:08 +0200	[thread overview]
Message-ID: <004401c11e79$6866fae0$66011ec0@frank> (raw)
In-Reply-To: <Pine.LNX.3.95.1010806081157.3088A-100000@chaos.analogic.com>

> On Mon, 6 Aug 2001, Frank Torres wrote:
>
> >
> > > On Fri, Aug 03, 2001 at 04:01:28PM +0200, Frank Torres wrote:
> > > > > This is not valid. You cannot reasonably have parity and 8 bits.
One
> > > > > of them has to go. Either use 8 bits and no parity or 7 bits with
> > > > > parity.
> > >
> > > All standard 16550 family ports support 8 bits _and_ parity.  Ancient
> > > serial ports did have a restriction, but that restriction is no more.
> > >
>
> The current problem:
> During the console initialization sequence, its speed gets set to
> 38400 baud. This means nothing to a virtual terminal. However, if
> the attached RS-232C termional is also being set to the same speed,
> this could explain the garbage characters.
>
> So I suggest that Frank set his terminal to 38400 baud and see if
> the problems disappear.
>

I tried it out since the beginning Dick, but the display is
hardware-configured to its max. speed (9600) So if I'd like to change the
speed to a lower one I'd have to take a soldering iron and change the hard
way. I could,  but I'm obtaining the right characters at the display after
writing an rc.serial with

    setserial /dev/ttyS2 UART 16550A IRQ 10 spd_cust divisor 12
    stty -F /dev/ttyS2 speed 9600 parenb parodd cs8 cstopb -crtscts

I don't care if I don't see the kernel messages. When rc.sysinit starts
through init it calls rc.serial and configure the port. The problem is that
I can't come to that point.. The moment rc.sysinit shows the message, it
falls into a loop showing the message again and again. I've saved that
output. If you want to, I can send U the file.

I just want to change the output to the serial port, but not the input.

inittab creates another prompt for login, that's not useful for me unless I
can tell it to get the input from keyboard.

I've been trying some other choices. I've read that when Linux starts it
uses the first display available. If it doesn't find one, it uses the first
serial port, thus, ttyS0. But ttyS0 is a RC-232 and I need RC-232Cs to feed
the display. So I swapped the major of ttyS0 and ttyS2, removed the display
card and restarted the system, but when the kernel starts, I can't see
nothing there. So I restored everything.
I'm trying desperate ways. Have U noticed it? :)

Greatfully, frank.


  reply	other threads:[~2001-08-06 13:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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='004401c11e79$6866fae0$66011ec0@frank' \
    --to=frank@ingecom.net \
    --cc=jdow@earthlink.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rmk@arm.linux.org.uk \
    --cc=root@chaos.analogic.com \
    /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