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. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 473 bytes Desc: OpenPGP digital signature URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20180814/bfa7c9b4/attachment.sig>
Hi!> 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 ? -- pi at FreeBSD.org +49 171 3101372 2 years to go !
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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20180815/3ee32793/attachment.sig>