frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Alert: Beginning Tuesday, June 25th, we will be freezing this site and migrating the content and forums to our new home at https://forums.intel.com. Check it out now!

How to enable Neural Compute Stick in VMs created by Qemu&KVM?

hi,

I am using Intel Compute Stick 2. The stick works well on the host. My target is to use the stick in my VM which was created by KVM/QEMU. My host and guest OS are both ubuntu 16.04. By usb passthrough, I already passed the stick to my guest os.

When run "lsusb" in the guest, I can see

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 03e7:2485
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I tried the sample app "hello_ncs_cpp" included in ncsdk. I got below error

making run
cd cpp; ./hello_ncs_cpp; cd ..
W: [         0] ncDeviceOpen:528        ncDeviceOpen() XLinkBootRemote returned error 3

Error- ncDeviceOpen failed
    ncStatus value: -2

Anybody has some experiences on this? Many thanks!

Comments

  • 1 Comment sorted by Votes Date Added
  • I just learned that NCSDK doesn't support NCS2, and OpenVINO does support.

    I tried OpenVINO R4, still not work. When I ran a openvino demo. I got below error

     `[ INFO ] Loading model to the plugin`
         E: [ncAPI] [         0] ncDeviceOpen:668        failed to find device
    
         [ ERROR ] Can not init USB device: NC_DEVICE_NOT_FOUND
    

    A strange phenomenon is at host side
    by dmesg, I found the stick was unplugged and plunged again.
    by lsusb, I found the usb device was change from "ID 03e7:2485" to "ID 03e7:f63b"

    who know the reasons?

Sign In or Register to comment.