In the bin directory of the mvnsdk I do:
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
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
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)
@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)
<Controller name="OHCI" type="OHCI"/>
<Controller name="EHCI" type="EHCI"/>
<DeviceFilter name="Movidius USB3" active="true" vendorId="040e" productId="f63b" remote="0"/>
<DeviceFilter name="Movidius USB2" active="true" vendorId="03e7" productId="2150" remote="0"/>
(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 !