Date: Mon, 14 Oct 2024 15:51:25 +0200 From: Ramiro Aceves <ea1...@gmail.com> Message-ID: <canfmp74ohoueriupr9u8g0pknwrry+d+mkc4f_hdvec60lx...@mail.gmail.com>
| netbsd-raspa4$ { sleep 1; stty -f /dev/ttyU0 ... ; } & cat /dev/ttyU0 | stty: /dev/ttyU0: Resource temporarily unavailable stty opens its -f arg file in O_NONBLOCK mode - that error (EAGAIN or EWOULDBLOCK, they're the same thing) indicates that the open would hang (the open in cat is probably hanging too). This might be a case where dedicated C code is needed, or it may be that the device isn't connected to anything in a way that the driver considers as acceptable. kre