Re: BETA7 sio "options CONSPEED" not working?

From: Emanuel Strobl <Emanuel.Strobl_at_gmx.net>
Date: Fri, 15 Oct 2004 01:02:51 +0200
Am Freitag, 15. Oktober 2004 00:18 schrieb Emanuel Strobl:
> Am Donnerstag, 14. Oktober 2004 22:48 schrieb Willem Jan Withagen:
[...]
> > in /etc/make.conf
>
> Correct, in make.conf it works, but "options CONSPEED" has no effect at all
> (on i386 with BETA7 from today)
> Also getty flags in /etc/ttys doesn't make any difference. I can set it to
> whatever I want I only get the hardcoded speed in make.conf

Ok, after having a look into sys/dev/sio/sio.c I found the tunable:

 machdep.conspeed

which works fine. But this should be commented in the sio manpage, perhaps 
also in /sys/conf/NOTES

Also if it's intended that getty can't change the baud rate /etc/ttys should 
have a line which mentiones machdep.conspeed, but what if I want to set 
different speeds on two ports?

Thanks,

-Harry

>
> At least the last thing must'nt happen. If options CONSPEED doesn't work
> (anymore) conf/NOTES should be adopted.
>
> Thanks,
>
> -Harry
>
> > and in /etc/ttys:
> > # The 'dialup' keyword identifies dialin lines to login, fingerd etc.
> > ttyd0   "/usr/libexec/getty std.115200" vt220   on  secure
> >
> > But make shure to 'kill -1 1' to have init reread the ttys-table
> >
> > I've also switched the debugger flag on in /boot/device.hints:
> > hint.sio.0.flags="0x30"
> >
> > --WjW
> >
> > _______________________________________________
> > freebsd-current_at_freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to
> > "freebsd-current-unsubscribe_at_freebsd.org"

Received on Thu Oct 14 2004 - 21:03:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:17 UTC