FreeBSD blocks on BOCHS serial port
Eugene Grosbein
eugen at grosbein.net
Tue Aug 14 08:18:08 UTC 2018
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.
More information about the freebsd-stable
mailing list