Output the connected device and wait for errors