title: Using intel movidius stick on LXD container
body: <pre><code>~/face_match # ./run-facedetect
  /usr/bin/facenet-pipe.py:184: DeprecationWarning: &quot;LOGLEVEL&quot; is deprecated. Please use &quot;LOG_LEVEL&quot;!
    mvnc.SetGlobalOption(mvnc.GlobalOption.LOGLEVEL,2)
  Device 0 Address: 1.3 - VID/PID 03e7:2150
  device attached
  1.3
  Starting wait for connect with 2000ms timeout
  Found Address: 1.3 - VID/PID 03e7:2150
  Found EP 0x81 : max packet size is 512 bytes
  Found EP 0x01 : max packet size is 512 bytes
  Found and opened device
  Performing bulk write of 865724 bytes...
  Successfully sent 865724 bytes of data in 133.687075 ms (6.175756 MB/s)
  Boot successful, device address 1.3
  Traceback (most recent call last):
    File &quot;/usr/bin/facenet-pipe.py&quot;, line 267, in &lt;module&gt;
      sys.exit(main())
    File &quot;/usr/bin/facenet-pipe.py&quot;, line 202, in main
      device.OpenDevice()
    File &quot;/usr/bin/mvnc/mvncapi.py&quot;, line 147, in OpenDevice
      raise Exception(Status(status))
  Exception: mvncStatus.ERROR
  </code></pre>
  <ul>
  <li>Movidius USB is passed to LXD with below config</li>
  </ul>
  <p>devices:
  movidius:
  type: usb
  vendorid: &quot;03e7&quot;</p>
  <ul>
  <li><p>Intel device is getting detected by the application in ROM boot mode, but when the device switches to run up mode its PID gets changed, this changed id is not detecting by LXD.</p>
  </li>
  <li><p>If any body has faced this issue and resolved please provide the solution.</p>
  </li>
  <li><p>I am running LXD container inside Rpi4 device.</p>
  </li>
  <li><p>In host(Rpi4) the code runs without any error below is the log.</p>
  <pre><code>  root@raspberrypi4:/home/root/face_match# ./run-facedetect
    /usr/bin/facenet-pipe.py:186: DeprecationWarning: &quot;LOGLEVEL&quot; is deprecated. Please use 
    &quot;LOG_LEVEL&quot;!
    mvnc.SetGlobalOption(mvnc.GlobalOption.LOGLEVEL,2)
    Found stale device, resetting
    Device 0 Address: 1.3 - VID/PID 03e7:2150
    device attached
    1.3
    Starting wait for connect with 2000ms timeout
    Found Address: 1.3 - VID/PID 03e7:2150
    Found EP 0x81 : max packet size is 512 bytes
    Found EP 0x01 : max packet size is 512 bytes
    Found and opened device
    Performing bulk write of 865724 bytes...
    Successfully sent 865724 bytes of data in 127.807315 ms (6.459871 MB/s)
    Boot successful, device address 1.3
    Found Address: 1.3 - VID/PID 03e7:f63b
    done
    Booted 1.3 -&gt; VSC
  </code></pre>
  </li>
  <li><p>Any guidance will be appreciated.</p>
  </li>
  </ul>