universal serial port handling