I've just uploaded some of my serial comms stuff to
https://github.com/MarkMLl/serialcommsThe major thing that this contains is units to parse the Linux /sys tree and locate serial devices according to various criteria, e.g. manufacturer name or device serial number.
There is also a unit to handle hardware hotplug detection, and a couple more to parse data in various formats from a serial connection with backtracking.
I hope at some point to integrate the parsing code with the Telnet units I've just contributed.
MarkMLl