Skip to content

Throw proper error message when udev rules are not set on host. #2

@Luxonis-Brandon

Description

@Luxonis-Brandon

We should also improve the host app and throw a proper error message when the udev rules are not installed (the backend libusb API returns a "permission denied" error in this case).

And in this case potentially offer the user an option to auto-install the rules by running the above script (the user would need to input sudo password).

The udev rules installation could be simplified to not necessarily depend on OpenVINO.
Looks like this works:

Run this command:
echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="03e7", MODE="0666"' | sudo tee /etc/udev/rules.d/80-movidius.rules

Reset or reconnect(USB) the DepthAI device.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions