> On Fri, 3 Aug 2001, Frank Torres wrote:
> > The RS232C is a serial port with 12V and there I have a BA63 20x4
> > 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
> > If I use the command line parameter everybody says: (odd and 8 data
> > 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
> 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.
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?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue Aug 07 2001 - 21:00:27 EST