It seems like it doesn't flush datas before closing.
echo hello > /dev/tty.PL2303-00002442
result => nothing!!!
and in c program even if you call ioctl(fd, TIOCFLUSH); and close(fd); it doesn't write out anything.
Instead if you put before close(fd); a long delay it works...
Log in to post a comment.