Due to hardware layout issues, USB port 1 on an embedded device is experiencing grave difficulties. Therefore, I would like users to use USB port 2 instead. Is there anyway to check which port an external USB device is connected to?Please note, the embedded device is running a minimal Linux Kernel and does not possess some tools / does not support some commands such as lsusb
detect which port a usb stick is connected to
linux;usb
Try exploring /sys/bus/usb/devices/.