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: "Linux-Kernel" <linux-kernel@vger.kernel.org>
Subject: Re: Duplicate console output to a RS232C and keep keyb where it is
Date: Fri, 3 Aug 2001 16:01:28 +0200	[thread overview]
Message-ID: <018201c11c24$cd2af730$66011ec0@frank> (raw)
In-Reply-To: <Pine.LNX.3.95.1010803085542.16919A-100000@chaos.analogic.com>

> On Fri, 3 Aug 2001, Frank Torres wrote:
> >
> > 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.
>
> It has probably been set okay after boot by `setserial` in some boot
> script.
>
> > If I use the command line parameter everybody says:  (odd and 8 data
bits is
> > what I use)
> >             serial=2,9600o8   and     console=ttyS2,9600o8 console=tty0
>
> 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.
>
> This is because there are 10 bits/baud. The "stop" bit is a timing
> interval equal to one of these bits, between characters. Therefore, you
> can have many stop bits, this just spaces the characters.

Richard:
I must tell you I am the one who sets the speed, IRQ and the rest of the
parameters of the serial port in an /etc/rc.serial built by me only with the
settings I need. The original rc.serial was producing some error when
executed by rc.sysinit (kern. 2.4.2-2)
I have to configure ttyS2 with both, setserial and stty, 'cause of the
parity and the stop bit, etc.
I tested the following configurations:
    8, no parity, stop b.
    8, no parity, no stop b.
    7, parity on, parity odd, stop b.
    7, no parity, no stop b.
All showed wrong or no characters in the display. It only worked with 8,
parity on, parity odd, stop b. (also with no stop b.)
The Linux is installed in a Beetle/M POS.
Perhaps it can't be done? I mean to obtain the video through the serial port
without modifying the normal keyb entry?
Thanx



  reply	other threads:[~2001-08-03 14:01 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 [this message]
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='018201c11c24$cd2af730$66011ec0@frank' \
    --to=frank@ingecom.net \
    --cc=linux-kernel@vger.kernel.org \
    --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