USB Host Debug

Follow the procedure below to debug USB host mode.
  1. Replace the current USB device with other USB devices, to ensure the USB device itself is not a faulty device.
  2. Replace the current USB cable with other USB cables, to ensure the USB cable itself is not faulty.
  3. Try the same connection on other PC hosts.
  4. If your device has multiple USB ports, try out on other ports.
  5. Connect the USB-Hub device with an independent power supply, and then connect a USB device to the USB-Hub to confirm if the host function works properly.
  6. Confirm if the host driver is loaded successfully.
    Use the following command to verify.
    cat /sys/devices/platform/soc/10210000.usbdrd/of_node/dr_mode
    host
    
    Note: If the folder 10210000.usbdrd does not exist, it means that the host driver is not installed.
  7. Make sure you already have the latest code or patch.
  8. Under the same condition, compare the registers of the failed board against the ones which are working properly.