You are here

serial

Serial port programming under Linux: when legacy comes back to haunt you

Programming serial ports on Linux (and other POSIX-compatible systems) can be tricky, because a lot of legacy is involved here. As a general resource, Michael R. Sweet's Serial Programming Guide for POSIX Operating Systems is an invaluable resource. What I found out the hard way is that one actually needs to carefully look at all available flags, otherwise legacy settings can come back to haunt you.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer