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.

ailed connection to device (1.2.4-ma2480) with error 5

Kuse__Manohar
Beginner
455 Views

Hi,

I have a Neural Compute Stick 2. I have an i7 with Ubuntu 16.04. I followed this: https://software.intel.com/en-us/articles/get-started-with-neural-compute-stick. I downloaded '2019 R1.1 ' which gave me the file: l_openvino_toolkit_p_2019.1.144.tgz

Everything went ok however, I am not able to run the squeezenet demo. I can confirm I set the udev rules correctly and my stick is connected to the PC.

```

$ ./demo_squeezenet_download_convert_run.sh -d MYRIAD

.

.

.

Run ./classification_sample -d MYRIAD -i /home/dji/intel/openvino/deployment_tools/demo/car.png -m /home/dji/openvino_models/ir/FP16//classification/squeezenet/1.1/caffe/squeezenet1.1.xml

[ INFO ] InferenceEngine:
    API version ............ 1.6
    Build .................. custom_releases/2019/R1.1_28dfbfdd28954c4dfd2f94403dd8dfc1f411038b
[ INFO ] Parsing input parameters
[ INFO ] Files were added: 1
[ INFO ]     /home/dji/intel/openvino/deployment_tools/demo/car.png
[ INFO ] Loading plugin

    API version ............ 1.6
    Build .................. 23780
    Description ....... myriadPlugin
[ INFO ] Loading network files:
    /home/dji/openvino_models/ir/FP16//classification/squeezenet/1.1/caffe/squeezenet1.1.xml
    /home/dji/openvino_models/ir/FP16//classification/squeezenet/1.1/caffe/squeezenet1.1.bin
[ INFO ] Preparing input blobs
[ WARNING ] Image is resized from (787, 259) to (227, 227)
[ INFO ] Batch size is 1
[ INFO ] Preparing output blobs
[ INFO ] Loading model to the plugin
E: [ncAPI] [    641792] ncDeviceOpen:800    Failed connection to device (1.2.4-ma2480) with error 5
[ ERROR ] Can not init USB device: NC_DEVICE_NOT_FOUND
Error on or near line 241; exiting with status 1
dji@manifold2:~/intel/openvino/deployment_tools/demo$ ~/intel/openvino/bin/setupvars.sh
[setupvars.sh] OpenVINO environment initialized

```

However, as soon as i do -d CPU, the demo works. Some additional info

```

$ dmesg | grep Myria
[  104.432660] usb 1-2.4: Product: Movidius MyriadX
[ 1045.999340] usb 1-2.3: Product: Movidius MyriadX
[ 1530.094742] usb 1-2.3: Product: Movidius MyriadX
[ 1618.415879] usb 1-2.4: Product: Movidius MyriadX

$ lsusb
Bus 002 Device 002: ID 05e3:0620 Genesys Logic, Inc.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 008: ID 03e7:2485  
Bus 001 Device 004: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 003: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

```

 

How can I fix this?

0 Kudos
6 Replies
JesusE_Intel
Moderator
455 Views

Hi Manohar,

Have you tried logging out of the system to ensure the usb dev rules are loaded properly? Also, are you connecting the Neural Compute Stick directly to your PC or a USB hub? Try to connect the NCS to another USB port. 

Regards,

Jesus

0 Kudos
WDomo
Beginner
455 Views

I have the same problem..I have tried logging in and out and using a different port

usb-devices
 

T:  Bus=02 Lev=02 Prnt=02 Port=06 Cnt=01 Dev#=  8 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=03e7 ProdID=2485 Rev=00.01
S:  Manufacturer=Movidius Ltd.
S:  Product=Movidius MyriadX
S:  SerialNumber=03e72485
C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=11 Prot=ff Driver=(none)
 

lsusb doesn't see it

Bus 002 Device 007: ID 058f:6364 Alcor Micro Corp. AU6477 Card Reader Controller
Bus 002 Device 008: ID 03e7:2485  
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 001 Device 003: ID 04f2:0116 Chicony Electronics Co., Ltd KU-2971/KU-0325 Keyboard
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 1bcf:05c5 Sunplus Innovation Technology Inc. SPRF2413A [2.4GHz Wireless Keyboard/Mouse Receiver]
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 

0 Kudos
WDomo
Beginner
455 Views

I am running ubuntu 18.04 and openvino_toolkit_p_2019.2.242 and feeling unhappy

 

0 Kudos
Sahira_Intel
Moderator
455 Views

Hi William,

OpenVINO is not officially supported on Ubuntu 18.04 (see supported OS here https://docs.openvinotoolkit.org/latest/_docs_install_guides_installing_openvino_linux.html) 

There is a workaround that was posted by a community member that might work, but this method has not been validated by Intel: https://software.intel.com/en-us/forums/computer-vision/topic/807156

 

Please let me know if you have any further questions.

Best Regards,

Sahira 

0 Kudos
WDomo
Beginner
455 Views

I tried it on a Windows pc then back to 18.04 

now it works

time to close this one

0 Kudos
Shubha_R_Intel
Employee
455 Views

Dear Domoney, William,

Thanks for reporting your success back to the OpenVino community.

Shubha

 

0 Kudos
Reply