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

USB disconnect while building the examples

idata
Employee
2,221 Views

In the bin directory of the mvnsdk I do:

 

make example01

 

echo "example01 - GoogleNet profiling"

 

example01 - GoogleNet profiling

 

python3 ./mvNCProfile.pyc data/googlenet.prototxt -s 12

 

mvNCProfile v02.00, Copyright @ Movidius Ltd 2016

 

[Error 7] Toolkit Error: USB Failure. Code: Error opening device

 

/var/log/syslog:

 

Sep 3 21:28:42 kitt kernel: [222633.788993] usb 1-5: USB disconnect, device number 12

 

Sep 3 21:28:42 kitt kernel: [222634.044296] usb 2-5: new SuperSpeed USB device number 5 using xhci_hcd

 

Sep 3 21:28:42 kitt kernel: [222634.071092] usb 2-5: New USB device found, idVendor=040e, idProduct=f63b

 

Sep 3 21:28:42 kitt kernel: [222634.071094] usb 2-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3

 

Sep 3 21:28:42 kitt kernel: [222634.071095] usb 2-5: Product: USBVSC

 

Sep 3 21:28:42 kitt kernel: [222634.071096] usb 2-5: Manufacturer: Movidius

 

Sep 3 21:28:42 kitt kernel: [222634.071097] usb 2-5: SerialNumber: DATAC

 

Sep 3 21:28:42 kitt mtp-probe: checking bus 2, device 5: "/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/usb2/2-5"

 

Sep 3 21:28:42 kitt mtp-probe: bus: 2, device: 5 was not an MTP device

 

Any ideas?

0 Kudos
23 Replies
idata
Employee
152 Views

Hi,

 

Similar issue here : SDK installed without troubles in VBox. When trying to build the Tensorflow inception_v1 example, the USB NC stick lost its USB connection, and the build fails with error "[Error 7] Toolkit Error: USB Failure. Code: Error opening device"

 

Configuration : Windows Enterprise 7 Host, Virtual Box 5.2.0 with Extension Pack installed, Ubuntu 16.04 LTS (fully up-to-date, Kernel 4.10.0-28-generic #32~16.04.2-Ubuntu).

 

Also, following the documentation https://movidius.github.io/ncsdk/VirtualMachineConfig.html : I can add a filter "USB2 filter with vendor ID 03e7 and product ID 2150" but VBox does not see "USB3 filter with vendor ID 040e and product ID f63b" (the laptop is a recent model and support USB3.0 devices. I can mount in the Ubuntu VM a flash disk in USB3.0 mode without any trouble)

 

I have tried to plug the NC Stick in a USB3.0 hub but it does not help.

 

(I will try to build on a Pi3 with Raspian Stretch : I missed to read the documentation https://movidius.github.io/ncsdk/install.html, and tried to install on a Ubuntu mate 16.04 .. .. which faills during SDK installation)

0 Kudos
idata
Employee
152 Views

@fdasilva Please check if this comment https://ncsforum.movidius.com/discussion/comment/855#Comment_855 can be helpful for your case

0 Kudos
idata
Employee
152 Views

@georgievm_cms Thanks for the link !! That's very helpfull to know that we can/have to enable both USB 2 and USB3 suppor at the same time ! The VBox GUI is not clear at all on this possibility (bad UX) . After a couple of tries, I did noticed the change in my VM's [VM Name].vbox configuration file (-> OHCI and EHCI entries in the controllers section)

 

<USB> <Controllers> <Controller name="OHCI" type="OHCI"/> <Controller name="EHCI" type="EHCI"/> </Controllers> <DeviceFilters> <DeviceFilter name="Movidius USB3" active="true" vendorId="040e" productId="f63b" remote="0"/> <DeviceFilter name="Movidius USB2" active="true" vendorId="03e7" productId="2150" remote="0"/> </DeviceFilters> </USB>

 

(Note : if you want to edit this configuration file manually, make sure VBox is not started first, as it might overwrite your changes at any time)

 

However, I also found yesterday evening that the host on which I was testing does not meet the minimum requirements for the NC stick -> Windows 10. (I was testing on a Windows 7 system…but actually it looks like there are issues with USB 3 / Windows 7 / VBox, at least for Win 7 guest as described here : http://www.virtualbox.org/manual/ch12.html#idm11250)… …. but maybe this might also affect Win 7 as host (??) … anyway I'll have to find another way to test !

0 Kudos
Reply