Re: BETA7 sio 'options CONSPEED' not working?

From: Jon Noack <noackjr_at_alumni.rice.edu>
Date: Thu, 14 Oct 2004 17:01:52 -0500 (CDT)
Willem Jan Withagen wrote:
> Emanuel Strobl wrote:
>> Hello,
>>
>> I recompiled a kernel with options conspeed=115200 but console still has
>> 9600 set, also defining "std.115200" in /etc/ttys doesn't change the
>> login consoles speed.
>>
>> Am I missing something?
>
> I remember trying all kinds of things too.
>
> I've got:
> BOOT_COMCONSOLE_SPEED= 115200
> BOOT_COMCONSOLE_PORT=   0x3F8
> CONSPEED=115200
>
> in /etc/make.conf
>
> 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"

The following works for me.

In /etc/make.conf:
BOOT_COMCONSOLE_SPEED= 115200

In /etc/ttys:
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyd0   "/usr/libexec/getty std.115200" vt100   on  secure

In /etc/remote:
# Finger friendly shortcuts
sio0|com1:dv=/dev/cuaa0:br#115200:pa=none:
sio1|com2:dv=/dev/cuaa1:br#115200:pa=none:

I have two machines with serial consoles running on com1.  They are
cross-connected such that com2 of one machine is connected to com1 of the
other.  Thus, I can "tip com2" on one machine to connect to the other's
serial console.  As such, I believe only the com2 line in /etc/remote is
required.

Jon
Received on Thu Oct 14 2004 - 20:01:54 UTC

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