TIOCGSERIAL failed: Inappropriate ioctl for device
ebi-droid opened this issue · 3 comments
ebi-droid commented
When I try to sart the app:
./linux-serial-test -s -e -p /dev/ttyUSB0 -c -l 250
Linux serial test app
I get the following error:
TIOCGSERIAL failed: Inappropriate ioctl for device
how to solve it ?
cbrake commented
can you try commenting out this line:
https://github.com/cbrake/linux-serial-test/blob/master/linux-serial-test.c#L615
dwillmore commented
That solved it for me. CH340G adapter here. Thank you!