El 14/10/24 a las 16:32, Robert Elz escribió:
Date: Mon, 14 Oct 2024 15:51:25 +0200 From: Ramiro Aceves <[email protected]> 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
Many thanks Robert for the explanation. Regards. Ramiro.
