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

Custom baudrate(100000) on Linux #234

Closed qiayuanl closed 3 years ago

qiayuanl commented 3 years ago

Baudrate was set to 100000 for dbus remote controller, and I couldn't open serial.

IO Exception (2): No such file or directory, file /xxxxx/impl/unix.cc, line115

I have already tested the port using minicom and it works well.

wjwwood commented 3 years ago

That error is surprising to me, if the issue is baudrate, because it looks like the file for the device was wrong (maybe a typo?). Anyway without being able to reproduce it, I can't probably fix this. I appreciate you reporting it, maybe others will run into the same thing and comment here, but for now I will close it.