Hello Everyone,
I bought both intel ncs1 and ncs2 for my image classificator app. I used both the sticks on windows 10 with openvino toolkit with latest version. It works fine. Also when I use ncs1 on my Ubuntu 16.04 it works fine as well. But when I unplug ncs1 and plug my ncs2 in Ubuntu, it doesn't work. When I try to infer, I get the following error.
E: [ncAPI] [ 646005] ncDeviceOpen:799 Failed connection to device (1.1-ma2480) with error 5
Segmentation fault (core dumped)
Could anyone please help?
链接已复制
Hello Shuba,
Thanks for the reply. I created the IR with model optimizer and tried to run inference with the classification python sample. I ran it with NCS1 first. It works as expected. Then i plug out NCS1 and plug in NCS2 and run the sample again. But I get the error mentioned in the question.
Best,
Sangathamilan
Hello Kurtaev,
Thanks for the reply. Yes I have tried running it only on NCS2 after reboot. Please find the content of etc/udev/rules.d/97-myriad-usbboot.rules
SUBSYSTEM=="usb", ATTRS{idProduct}=="2150", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEM=="usb", ATTRS{idProduct}=="f63b", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEM=="tty", ATTRS{idProduct}=="2150", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
Thanks,
Sanga
Yes I have tried running it only on NCS2 after reboot
This way it works or not?
SUBSYSTEM=="usb", ATTRS{idProduct}=="2150", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEM=="usb", ATTRS{idProduct}=="f63b", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEM=="tty", ATTRS{idProduct}=="2150", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
The content looks incorrect. There is no 2485 product ID which corresponds to MyriadX. Which version of OpenVINO is used?
Shubha R. (Intel) wrote:Dear Raichandran, Sangathamilan:
No doubt this is odd. If I can reproduce it ( I will try and reproduce it today on Ubuntu 16.04 ) I will file a bug.
Thanks for using OpenVino !
Shubha
I can confirm this bug. Platform is Ubuntu 16.04, latest OpenVINO 2019. My code works fine on OpenCL16 but on NCS2 it gives exactly the same error as here
Hello Kurtaev,
Please find the content from the rules once again below.
SUBSYSTEM=="usb", ATTRS{idProduct}=="2150", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEM=="usb", ATTRS{idProduct}=="f63b", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEM=="tty", ATTRS{idProduct}=="2150", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
And yes there is a device with id 03e7:2485 in the lsusb command (given below are the list of devices)
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 5986:112d Acer, Inc
Bus 001 Device 003: ID 046d:c05b Logitech, Inc. M-U0004 810-001317 [B110 Optical USB Mouse]
Bus 001 Device 006: ID 8087:0a2b Intel Corp.
Bus 001 Device 005: ID 1c7a:0603 LighTuning Technology Inc.
Bus 001 Device 002: ID 03e7:2485
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Best,
Sanga
SUBSYSTEM=="usb", ATTRS{idProduct}=="2150", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEM=="usb", ATTRS{idProduct}=="f63b", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEM=="tty", ATTRS{idProduct}=="2150", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
As I already mentioned above, this is incorrect content. Should be the following one:
SUBSYSTEM=="usb", ATTRS{idProduct}=="2150", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEM=="usb", ATTRS{idProduct}=="f63b", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEM=="usb", ATTRS{idProduct}=="2485", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
(with 2485 idProduct in the last line)
Please modify it manually or by script. See https://docs.openvinotoolkit.org/latest/_docs_install_guides_installing_openvino_linux.html#additional-NCS-steps.
Hello,
I've got exactly the same problem:
I'm trying to run openvino example with NCS2 on Ubuntu 16.04 and I have an error:
E: [ncAPI] [ 576964] ncDeviceOpen:799 Failed connection to device (1.2-ma2480) with error 5
I have the newest version of openvino 2019.1.133, device ID 03e7:2485 is visible in lsusb.
My 97-myriad-usbbooot.rules file is following:
SUBSYSTEM=="usb", ATTRS{idProduct}=="2150", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEM=="usb", ATTRS{idProduct}=="2485", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEM=="usb", ATTRS{idProduct}=="f63b", ATTRS{idVendor}=="03e7", GROUP="users", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
Could you please help me solve this problem?
