Re: TTL/USB converter usage question

2024-10-16 Thread Michael van Elst
r...@sdf.org (RVP) writes: >On Wed, 16 Oct 2024, Ramiro Aceves wrote: >> netbsd-raspa4$ { sleep 1; stty -f /dev/ttyU0 9600 raw clocal cread >> -crtscts; } & cat -u -v /dev/ttyU0 >> stty: /dev/ttyU0: Resource temporarily unavailable >> >Wrong device--use /dev/dtyU0. You don't need to open the d

Re: TTL/USB converter usage question

2024-10-16 Thread RVP
On Wed, 16 Oct 2024, Ramiro Aceves wrote: netbsd-raspa4$ { sleep 1; stty -f /dev/ttyU0 9600 raw clocal cread -crtscts; } & cat -u -v /dev/ttyU0 stty: /dev/ttyU0: Resource temporarily unavailable Wrong device--use /dev/dtyU0. OK, the only thing I can think of is that there's something which c

Re: TTL/USB converter usage question

2024-10-16 Thread Valery Ushakov
On Wed, Oct 16, 2024 at 10:32:45 +0200, Ramiro Aceves wrote: > Thanks Martin and RVP, cat -u did not work. > > netbsd-raspa4$ { sleep 1; stty -f /dev/ttyU0 9600 raw clocal cread > -crtscts; } & cat -u -v /dev/ttyU0 > stty: /dev/ttyU0: Resource temporarily unavailable It seems to me you are runni

Re: TTL/USB converter usage question

2024-10-16 Thread Ramiro Aceves
El mar, 15 oct 2024 a las 21:57, RVP () escribió: > > On Tue, 15 Oct 2024, Martin Neitzel wrote: > > >> Not sure why it fails with the dtyU0 device. > > > > Maybe because the tests where done using "cat /dev/dtyU0" > > throughout this thread. cat(1) itself buffers, defeating > > any "stty raw" gam