Hi Etienne, > I also used gdbserver to find out where the problem is. Here is the > backtrace from where i think the failure is : > > │230 } > │231 } > │232 > >│233 fd = open(tty, O_RDWR | O_NOCTTY | > O_NONBLOCK); /* the open function fails and returns -1 */ > │234 if (fd < 0) > │235 return -1; > │236 > │237 tcflush(fd, TCIOFLUSH); > Can you trace and see what the errno is being set to? I really have no idea what could be causing this. Regards, -Denis