I've to correct myself. It works if I activate the boot console (console="vidconsole,comconsole"). If I change the mentioned line to console="vidconsole", neither writing to /dev/ttyu0 nor reading from /dev/cuau1 works. It seems that the FreeBSD loader initialize the serial ports in a different way than the OS does.
- Alex On 15.08.2018 12:46, Alexander Lochmann wrote: > Reading from /dev/cuau1 works. Thank you for your help! > However, I'm pretty sure I tried this device before. Nvm. It works. > > - Alex > > On 13.08.2018 22:49, Eugene Grosbein 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. >> >> > > -- Technische Universität Dortmund Alexander Lochmann PGP key: 0xBC3EF6FD Otto-Hahn-Str. 16 phone: +49.231.7556141 D-44227 Dortmund fax: +49.231.7556116 http://ess.cs.tu-dortmund.de/Staff/al
signature.asc
Description: OpenPGP digital signature
