USB0 issue

Hello, I have a Arduino nano, I use it to collect sensor data output it to a pi via serial port. On the pi side, the pi fetch the serial data on USB port zero. It works fine for a while. But all in a sudden, USB 0 dropped out. It changed itself to USB 1. Why is that?

Probably a loose cable. Try a different cable with a tight fit.