Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2018 07:57:55 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Eugene Grosbein <eugen@grosbein.net>
Cc:        Kurt Jaeger <pi@freebsd.org>,  FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: FreeBSD blocks on BOCHS serial port
Message-ID:  <CANCZdfrW01Y4OhY4eLtZsq4u5sQof-9m78VdRpKwPUjfafL53g@mail.gmail.com>
In-Reply-To: <e3a47bcd-d07e-7f84-d97a-e819da19a290@grosbein.net>
References:  <e0c6883a-ed3c-c48e-6821-05d0aa3eb034@tu-dortmund.de> <bc8f5df6-e338-a9fd-bdd7-e7e146cbcee7@grosbein.net> <661e5d36-6684-fae5-b325-f02ad570f2b4@tu-dortmund.de> <28c22017-7b01-63b0-946a-d0d255af16b2@grosbein.net> <20180814024729.GM2118@home.opsec.eu> <e3a47bcd-d07e-7f84-d97a-e819da19a290@grosbein.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 14, 2018 at 2:17 AM, Eugene Grosbein <eugen@grosbein.net> wrote:

> 14.08.2018 9:47, Kurt Jaeger wrote:
>
> >> 14.08.2018 3:15, Alexander Lochmann wrote:
> >>
> >>>> You should not rely on defaults and make sure you disable modem
> control/CD
> >>>> either explicitly (using stty(1) etc.) or implicitly by switching to
> /dev/cuau0
> >>>> instead of /dev/ttyu0. Flow control settings should match too, for
> both sides
> >>>> of virtual port.
> >>> Thx. I cannot even run 'stty < /dev/ttyu1' to see the current settings.
> >>> It simply blocks...
> >>
> >> Use /dev/ttyu1.init to see defaults and /dev/ttyu1.lock to set/show
> >> locked defaults that cannot be changed without disabling a lock first.
> >
> > Thanks for this pointer! Is that behaviour written down/explained
> > somewhere in the man pages ?
>
> Sort of. Default serial driver for modern FreeBSD is uart(4) that documents
> these file names extremely concisely but does not explain their meaning.
> Legacy serial driver sio(4) has manual page describing them in detail.


I've copied the sio.4 text into uart.4 since it was good at explaining.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfrW01Y4OhY4eLtZsq4u5sQof-9m78VdRpKwPUjfafL53g>