The list of serial ports should be populated from the list of available ports, though the code I used may only work for windows. I've no experience with Linux I'm afraid, so I can't really help you there. The serial interface stuff is fairly self contained in my code though, so it should be easy...