[[ Bugfix 12545 ]] Fix I/O for serial devices
Merge pull request #1209 from runrevfraser/bugfix-12545

[[ Bugfix 12545 ]] Fix I/O for serial devices