Troubleshooting

Error Codes

  • If you are using odrivetool, run dump_errors(odrv0). This will dump information about active and recent errors.

  • If using the Web GUI, inspect the ODrive icon in the botton left corner.

  • With this information you can look up the API documentation for your error(s):

  • <odrv>.issues: Internal issues should always be 0. A value other than 0 might indicate a firmware bug or rare hardware exception.

  • To clear all the errors, you can run <odrv>.clear_errors().

USB Connectivity Issues

  • Could not claim interface ... make sure all other instances of the GUI and/or odrivetool are closed and try again. Only one process can use the ODrive at any time

  • Try turning it off and on again (the ODrive, the script, the PC)

  • Make sure you’re using the latest firmware and python tools release

  • Linux: Type lsusb to list all USB devices. Verify that your ODrive is listed.

  • Linux: Make sure you set up your udev rules correctly.

  • Windows: Right-click on the start menu and open “Device Manager”. Verify that your ODrive is listed.

  • Windows: For users migrating from ODrive v3.x, it may be necessary to remove any/all drivers installed with Zadig utility. Detailed instructions can be found below.

  • Ensure that no other ODrive program is running

  • Run odrivetool with the –verbose option.

  • Run PYUSB_DEBUG=debug odrivetool to get even more log output.

  • If you’re a developer you can use Wireshark to capture USB traffic.

  • Try a different USB cable

  • Try routing your USB cable so that it is far away from the motor and PSU cables to reduce EMI

Uninstall Zadig Drivers (Windows Users Only)

Important

These instructions do not apply to users who are new to ODrive or have never modified their drivers with Zadig.

  • open PowerShell as Administrator and enter the following:

    # Uninstall all ODrive devices (root device, CDC interface and Native Interface)
    foreach ($dev in (Get-PnpDevice | Where-Object { $_.DeviceID -like "USB\VID_1209&PID_0D32*" })) {
    &"pnputil" /remove-device $dev.InstanceId;
    }
    
    Remove-Item -Path HKLM:\SYSTEM\CurrentControlSet\Control\usbflags\12090D32* -Force -Verbose
    
  • Alternatively, you can remove the Zadig drivers manually with DriverStoreExplorer. Once installed, run the application and delete everything labeled ODrive.

Other Issues that may not produce an error code

Disable Browser Popup Notifications

When connecting an ODrive to your computer with USB you should see a popup notification from your primary/default browser, if you have multiple browsers installed you may see a notification for each. Here is a suggested procedure to disable these popups.

As an example, we will be disabling notifications from Microsoft Edge but this procedure should work for all Chromium based browsers:
  1. Open Microsoft Edge

  2. Go to: edge://flags/#enable-webusb-device-detection (replace edge with the browser i.e. chrome)

  3. Select Disabled in the dropdown for Automatic detection of WebUSB-compatible devices

  4. Restart or close the browser

Note

This will only disable the notifications, it will not impact the functionality of the GUI.

If you ever want to re-enable these notifications, follow the procedure above and set Automatic detection of WebUSB-compatible devices back to Default or Enabled.