- handle stdin read errors
- add characteristic with descriptor working on Linux