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.

Exception: mvncStatus.ERROR

idata
Employee
1,046 Views

Hi

 

I'm running two ncs in raspberry pie.

 

Until one hour ago I was testing 2 ncs well.

 

But the second ncs just before is not open.

 

What causes it?

 

Traceback (most recent call last):

 

File "image-classifier.py", line 171, in

 

main()

 

File "image-classifier.py", line 118, in main

 

device = open_ncs_device()

 

File "image-classifier.py", line 38, in open_ncs_device

 

device.OpenDevice()

 

File "/usr/local/lib/python3.5/dist-packages/mvnc/mvncapi.py", line 147, in OpenDevice

 

raise Exception(Status(status))

 

Exception: mvncStatus.ERROR

 

Two devices are displayed.

 

Look for enumerated NCS device(s); quit program if none found.

 

devices = mvnc.EnumerateDevices() if len( devices ) == 0: print( "No devices found" ) quit() print(str(len(devices)))

 

result = 2

 

This is lsusb -t result

 

/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M

 

|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M

 

|__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx, 480M

 

|__ Port 2: Dev 4, If 0, Class=Hub, Driver=hub/4p, 480M

 

|__ Port 3: Dev 10, If 0, Class=Vendor Specific Class, Driver=, 480M

 

|__ Port 4: Dev 23, If 0, Class=Vendor Specific Class, Driver=, 480M

 

|__ Port 3: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 12M

 

|__ Port 3: Dev 5, If 1, Class=Human Interface Device, Driver=usbhid, 12M

 

|__ Port 3: Dev 5, If 2, Class=Human Interface Device, Driver=usbhid, 12M

 

|__ Port 4: Dev 7, If 1, Class=Video, Driver=uvcvideo, 480M

 

|__ Port 4: Dev 7, If 2, Class=Audio, Driver=snd-usb-audio, 480M

 

|__ Port 4: Dev 7, If 0, Class=Video, Driver=uvcvideo, 480M

 

|__ Port 4: Dev 7, If 3, Class=Audio, Driver=snd-usb-audio, 480M

 

lcs linked ust hub.

 

I need your help thank you.

0 Kudos
2 Replies
idata
Employee
713 Views

The same symptom occurred when rebooting.

 

But after about 1 hour, I tried again and it was working normally.

 

I do not know what the cause is……
0 Kudos
idata
Employee
713 Views

@sulki.kim Please make sure you are using a powered USB hub when using multiple NCS devices on the Raspberry Pi. Give this a try and let me know if it solves your issue. Thanks.

0 Kudos
Reply