Detection of hardware connected to the serial port (USB)