Subject: Re: 2 stop-bits and 8 data bits?
To: None <netbsd-help@netbsd.org>
From: Alexander Sorg <Alexander.Sorg@indanet.de>
List: netbsd-help
Date: 03/14/2000 15:55:19
David Wetzel wrote:
> I need 19200 Baud, 8 Databits and 2 Stop Bits.
>
> Any ideas? Back in the old days there was even more braindeath hardware than
> today or not?
Don't know much of the old days, but we had some real new hardware, that
needed not 7, not 8, but _9_ data bits and a stop bit. I simulated the
9th bit successfully by switching on parity mode and setting the parity
to even or odd. The parity bit "simulates" or better represents the 9th
data bit.
That means: Calculate the parity of the 8 data bits (even/odd), and if
the 9th data bit has to be one, set the parity to match the
8-bit-parity.
Otherwise vice versa. Um, table:
data bit parity | 9th bit value | parity setting
------------------------------------------------
even | 1 | even
even | 0 | odd
odd | 1 | odd
odd | 0 | even
Maybe you can achieve something similar. E.g. use 8 bit, parity and a
stop
bit.
Fun,
Alex.
--
sig.txt: File not found.