Basic serial port polling.