BETA7 sio "options CONSPEED" not working?

Emanuel Strobl Emanuel.Strobl at gmx.net
Thu Oct 14 16:03:00 PDT 2004


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"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20041015/f9bfefbe/attachment.bin


More information about the freebsd-current mailing list