Hello all,
after 2 days of googling and trying i have to use this forum...
i created LXC container from debian 10 and trying to passthrough the USB Coral device to it, buth i cant get it to work. i see the device in lsusb, but the example code gives me error:
ValueError: Failed to load delegate from libedgetpu.so.1
on proxmox host:
LXC config file:
on the LXC:
I really dont know what im doing wrong...
thank you for any help
EDIT:
on the proxmox host machine i tested the Coral, and its working correctly.
I also created an VM and added the coral to VM and also there it is working correctly, so the HW is ok, only with the LXC i have troubles
after 2 days of googling and trying i have to use this forum...
i created LXC container from debian 10 and trying to passthrough the USB Coral device to it, buth i cant get it to work. i see the device in lsusb, but the example code gives me error:
ValueError: Failed to load delegate from libedgetpu.so.1
on proxmox host:
Code:
root@proxmox:/etc/pve/lxc# lsusb
Bus 006 Device 003: ID 18d1:9302 Google Inc.
Bus 006 Device 002: ID 04e8:6123 Samsung Electronics Co., Ltd D3 Station
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 002: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
LXC config file:
Code:
arch: amd64
cores: 4
features: mount=cifs,nesting=1
hostname: frigate
memory: 8192
nameserver: 192.168.123.252 1.1.1.1
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=F6:8C:DC:CF:83:0C,ip=dhcp,type=veth
onboot: 0
ostype: debian
rootfs: local-lvm:vm-108-disk-0,size=32G
searchdomain: 192.168.123.252
swap: 512
unprivileged: 1
lxc.cgroup.devices.allow: c 189:* rwm
lxc.cgroup.devices.allow: c 226:0 rwm
lxc.cgroup.devices.allow: c 226:128 rwm
lxc.cgroup.devices.allow: c 29:0 rwm
lxc.cgroup.devices.allow: c 120:* rwm
lxc.apparmor.profile: unconfined
lxc.cgroup.devices.allow: a
lxc.cap.drop:
lxc.mount.auto: cgroup:rw
lxc.mount.entry: /dev/bus/usb/006 /dev/bus/usb/006 none bind,optional,create=dir 0,0
on the LXC:
Code:
root@frigate:~/coral/pycoral# lsusb
Bus 006 Device 003: ID 18d1:9302 Google Inc.
Bus 006 Device 002: ID 04e8:6123 Samsung Electronics Co., Ltd
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 002: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP2102/CP2109 UART Bridge Controller [CP210x family]
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I really dont know what im doing wrong...
thank you for any help
EDIT:
on the proxmox host machine i tested the Coral, and its working correctly.
I also created an VM and added the coral to VM and also there it is working correctly, so the HW is ok, only with the LXC i have troubles
Last edited: