Hi Marc-- On Sat 2008-06-21 13:33:25 -0400, Marc Haber wrote:
> To be a fully featured serial console application, one needs the
> possibility to set serial port parameters other than the baud
> rate. I have not seen any serial port needing something other than 8
> bits, no parity, 1 stop bit in a long time, but that feature might
> be needed in the future.
Thanks, this is a good suggestion. Since cereal relies on screen, you
should be able set 7 bits instead of 8 bits by appending ,cs7 to the
baud rate. e.g.
cereal-admin create sevenbitcomms /dev/ttyS3 115200,cs7 foo foogroup
However, I haven't been able to test this properly because i don't
have any equipment that natively does 7bit serial connections.
I tried it against a grub instance configured with
serial --unit=0 --speed=115200 --word=7 --parity=no --stop=1
but was unable to get an active communication (though i don't know how
well-tested grub's --word=7 option is either).
If we can get this to work, it should probably be documented within
cereal-admin(8).
Unfortunately, searching through screen(1) i don't see how to set the
stop bits or parity of the connection. Shall i clone this bug and
reassign the cloned bug to screen, referring to these features?
--dkg
pgpatFWfcUIeM.pgp
Description: PGP signature

