Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Perez__John
Beginner
69 Views

Failed connection to NCS

Hello,
I'm trying to use the Neural Compute Stick 2 with OpenVINO (2019_R1.1) on Ubuntu 16.04.6 LTS.
I get the error when I run: ./demo_squeezenet_download_convert_run.sh -d MYRIAD

[ INFO ] Loading model to the plugin
E: [ncAPI] [    723224] ncDeviceOpen:800        Failed connection to device (1.1-ma2480) with error 5
[ ERROR ] Can not init USB device: NC_DEVICE_NOT_FOUND
Error on or near line 241; exiting with status 1

Without "-d MYRIAD" parameter it works fine.

NCS is visible in lsusb (as ID 03e7:2485):
Bus 001 Device 002: ID 03e7:2485
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Below you can find the contents of the /etc/udev/rules.d/97-myriad-usbboot.rules file.
SUBSYSTEM=="usb", ATTRS{idProduct}=="2150", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0660", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEM=="usb", ATTRS{idProduct}=="2485", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0660", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEM=="usb", ATTRS{idProduct}=="f63b", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0660", ENV{ID_MM_DEVICE_IGNORE}="1"

I run all scripts/commands as a root user.

Maybe someone has any idea how this problem can be solved?

Regards,
Perez

0 Kudos
1 Reply
JesusE_Intel
Moderator
69 Views

Hi John,

When you see the "NC_DEVICE_NOT_FOUND" message, is the device still listed with lsusb? By any chance are you running Ubuntu as a virtual machine? 

Try running the demo with the Neural Compute Stick on a different USB port or powered USB hub.

Regards,

Jesus