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.

OPen device failed rc=-7

idata
Employee
915 Views

I am using an ARM7 platform and trying to connect to the usb stick.

 

dmesg shows

 

[ 16.245656] usb 1-1: new high-speed USB device number 2 using xhci-hcd

 

cat /sys/kernel/debug/usb/devices shows the the device is identified by the kernel. shows

 

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 0

 

D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1

 

P: Vendor=03e7 ProdID=2150 Rev= 0.01

 

S: Manufacturer=Movidius Ltd.

 

S: Product=Movidius MA2X5X

 

S: SerialNumber=03e72150

 

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)

 

E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

 

E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

 

When running "./ncs_check -1" I get

 

"OpenDevice 1 failed, rc=-7"

 

Form the header file "mvnc.h" it looks the boot file was not found.

 

The boot file is in "MvNCAPI.mvcmd" ( Think this is the one) is placed in /usr/local/lib/mvnc

 

What might be the reason for the failure ?

 

Thanks,

 

Yair
0 Kudos
2 Replies
idata
Employee
661 Views

After building a 32-bit version of libmvnc on Ubuntu 16.04, I get the exact same error:

 

/opt/movidius/NCSDK/tests/api-check/ncs-check -1

 

OpenDevice 4 failed, rc=-7

 

The error comes from ncs-c-check.c:139

 

I also have MvNCAPI.mvcmd in /usr/local/lib/mvnc.

 

Thanks,

 

Nathaniel
0 Kudos
idata
Employee
661 Views

@nathanielchen,

 

Looks like you are trying to run ncs-check manually. The error is thrown by the ncs-check app because mvncOpenDevice filed, which most probably is because of a libusb-1.0-0-dev issue. Please make sure all dependencies are installed on your system. I have listed the platform and python dependencies in https://movidius.github.io/blog/ncs-apps-on-rpi/.

 

I have been able to port the API on ARMv6, ARMv7 and ARMv8 architectures by following the instructions on https://movidius.github.io/blog/ncs-apps-on-rpi/.

0 Kudos
Reply