Open serial port automatically