Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6392 Discussions

[ ERROR ] Can not init Myriad device: NC_ERROR

gclee
Beginner
5,377 Views

VirtualBox 6.1 / Ubuntu 18.04.5 LTS

OpenVINO pre-built toolkit 2021.1.110 with NCS2

Hi Everyone,

I got error code as followings when running the demo in toolkit:

Run Inference Engine security_barrier_camera demo

Run ./security_barrier_camera_demo -d MYRIAD -d_va MYRIAD -d_lpr MYRIAD -i /opt/intel/openvino_2021/deployment_tools/demo/car_1.bmp -m /root/openvino_models/ir/intel/vehicle-license-plate-detection-barrier-0106/FP16/vehicle-license-plate-detection-barrier-0106.xml -m_lpr /root/openvino_models/ir/intel/license-plate-recognition-barrier-0001/FP16/license-plate-recognition-barrier-0001.xml -m_va /root/openvino_models/ir/intel/vehicle-attributes-recognition-barrier-0039/FP16/vehicle-attributes-recognition-barrier-0039.xml

[ INFO ] InferenceEngine: API version ......... 2.1
Build ........... 2021.1.0-1237-bece22ac675-releases/2021/1
[ INFO ] Files were added: 1
[ INFO ] /opt/intel/openvino_2021/deployment_tools/demo/car_1.bmp
[ INFO ] Loading device MYRIAD
MYRIAD
myriadPlugin version ......... 2.1
Build ........... 2021.1.0-1237-bece22ac675-releases/2021/1

[ INFO ] Loading detection model to the MYRIAD plugin
E: [ncAPI] [ 375719] [security_barrie] ncDeviceOpen:1011 Failed to find booted device after boot
[ ERROR ] Can not init Myriad device: NC_ERROR
Error on or near line 198; exiting with status 1

 

I executed ./install_NCS_udev_rules.sh and it is installed successfully.

lsusb

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 03e7:2485
Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 

I found some solution to solve this problem online, but they do not work for me.

1. Adding a new USB device filter with VID = 03e7 and PID=f63b in addition to VID= 03e7 and PID=2485 in Virtualbox USB settings.

2.  Changing USB controller from 2.0 to 3.0 for all my usb filters in my Virtual machine settings

3. Run by adding "sudo -E" in front of ./demo_squeezenet_download_convert_run.sh -d MYRIAD.

What is the problem?

 

Thanks, Gclee

0 Kudos
1 Solution
Iffa_Intel
Moderator
5,295 Views

Greetings,

 

Here is the steps that works so far:

  • Shut down the virtual machine
  • With the virtual machine selected on the VirtualBox Manager:
  • Open Settings -> USB (remove all usb from host)
  • Check “Enable USB Controller”
  • Check “USB 3.0 (xHCI) Controller”
  • Add a new USB filter with Vendor ID: 03e7
  • The other filter fields can be blank.
  • Add a new USB filter with Vendor ID: 040e
  • The other filter fields can be blank.

 

You can refer to this link and the photos

 

Sincerely,

Iffa

View solution in original post

0 Kudos
4 Replies
Iffa_Intel
Moderator
5,318 Views

Greetings,


we are investigating this case and cross-checking with our resources to get accurate answer.

We will get back to you shortly.

Thanks for your patience.


Sincerely,

Iffa


0 Kudos
Iffa_Intel
Moderator
5,296 Views

Greetings,

 

Here is the steps that works so far:

  • Shut down the virtual machine
  • With the virtual machine selected on the VirtualBox Manager:
  • Open Settings -> USB (remove all usb from host)
  • Check “Enable USB Controller”
  • Check “USB 3.0 (xHCI) Controller”
  • Add a new USB filter with Vendor ID: 03e7
  • The other filter fields can be blank.
  • Add a new USB filter with Vendor ID: 040e
  • The other filter fields can be blank.

 

You can refer to this link and the photos

 

Sincerely,

Iffa

0 Kudos
gclee
Beginner
5,290 Views

Hi Iffa_Intel,

Your solution does work, thanks a lot.

Sincerely,

Gclee

 

0 Kudos
Iffa_Intel
Moderator
5,276 Views

Greetings,


Intel will no longer monitor this thread since this issue has been resolved. If you need any additional information from Intel, please submit a new question. 


Sincerely,

Iffa


0 Kudos
Reply