wjwwood / serial

Cross-platform, Serial Port library written in C++
http://wjwwood.github.com/serial/
MIT License
2.13k stars 1.04k forks source link

Cannot write to the serial port #185

Open Raisintoe opened 6 years ago

Raisintoe commented 6 years ago

I am running Ubuntu 16.04 on the NUC7I7DNBE, and for some reason, I cannot write to the serial port after opening it, though I can read from it. This was not an issue while running the software on another computer, (same code; same user permission settings).

See my issue on Stack Overflow: https://stackoverflow.com/questions/52048670/can-read-but-cannot-write-serial-ports-on-ubuntu-16-04/52051660?noredirect=1#comment91056825_52051660

sundermann commented 6 years ago

I had exactly the same problem. I installed the package from ubuntu and I could read but not write anything. Compiling the library from source and purging the package fixed the issue.