FreeBSD blocks on BOCHS serial port
Warner Losh
imp at bsdimp.com
Tue Aug 14 13:57:57 UTC 2018
On Tue, Aug 14, 2018 at 2:17 AM, Eugene Grosbein <eugen at 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
More information about the freebsd-stable
mailing list