SV: getty messes with serial port sometimes

Joakim Tjernlund joakim.tjernlund at transmode.se
Tue Jan 22 20:22:19 UTC 2008


> -----Ursprungligt meddelande-----
> Från: busybox-bounces at busybox.net [mailto:busybox-bounces at busybox.net] För Joakim Tjernlund
> Skickat: den 22 januari 2008 11:53
> Till: busybox at busybox.net
> Ämne: getty messes with serial port sometimes
> 
> Every now and then when connecting the serial port to my board I get
> garbage chars from getty. This happens if there is a glitch or if a
> BREAK is sent while getty is waiting for login name.

It is actually somewhat worse, just type some non ascii char
like the Swedish öåä during login and the rest will be unreadable.  

> 
> Getty tries to be smart and has a automatic parity detection function
> that gets in the way and think it should enable parity on the port.
> 
> I think this is a leftover from the good old days but now it causes
> grief for some of its users.
> 
> So can this auto parity function be:
> 1) removed.
> 2) be a config option
> 3) disable itself when -L is passed on the command line.

I think 3) is appropriate 

> 
>  Jocke





More information about the busybox mailing list