LXC container and attach USB devices

Tryin to get DVB USB dongle on LXC, but still cant see any TV adapter in tvheadend :frowning_face:

Omnia - Tuner inside back USB port, 3.10.8
LXC - Debian Stretch

root@Doma:~ lsusb -t
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
    |__ Port 1: Dev 5, If 0, Class=Vendor Specific Class, Driver=dvb_usb_rtl28xxu, 480M
    |__ Port 1: Dev 5, If 1, Class=Vendor Specific Class, Driver=, 480M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=orion-ehci/1p, 480M

root@Doma:~ lsusb
Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 005: ID 15f4:0131 HanfTek
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 174c:5106 ASMedia Technology Inc. Transcend StoreJet 25M3
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
root@Doma:~ ls -al /dev/bus/usb/004/005
crw-r--r--    1 root     root      189, 388 Nov 28 17:31 /dev/bus/usb/004/005

root@Doma:~ ls -la /dev/dvb/adapter0/
drwxr-xr-x    2 root     root           140 Nov 28 18:28 .
drwxr-xr-x    3 root     root            60 Nov 20 14:15 ..
crw-r--r--    1 root     root      212,   4 Nov 28 18:28 demux0
crw-r--r--    1 root     root      212,   5 Nov 28 18:28 dvr0
crw-r--r--    1 root     root      212,   3 Nov 28 18:28 frontend0
crw-r--r--    1 root     root      212,  19 Nov 28 18:28 frontend1
crw-r--r--    1 root     root      212,   7 Nov 28 18:28 net0

LXC Setup:
lxc.cgroup.devices.allow = c 189:* rwm
lxc.group.devices.allow = c 189:* rwm
lxc.mount.entry = /dev/dvb dev/dvb none bind,optional,create=dir 0 0
lxc.mount.entry = /dev/bus/usb/001 dev/bus/usb/001 none bind,optional,create=dir 0 0
lxc.mount.entry = /dev/bus/usb/002 dev/bus/usb/002 none bind,optional,create=dir 0 0
lxc.mount.entry = /dev/bus/usb/003 dev/bus/usb/003 none bind,optional,create=dir 0 0
lxc.mount.entry = /dev/bus/usb/004 dev/bus/usb/004 none bind,optional,create=dir 0 0
lxc.mount.entry = /dev/bus/usb/005 dev/bus/usb/005 none bind,optional,create=dir 0 0
lxc.mount.entry = /mnt/NAS mnt/NAS none bind,optional,create=dir 0 0
(tried different options here, 188,189,212, group, cgroup)

root@Debian:~ lsusb
Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 005: ID 15f4:0131 HanfTek
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 174c:5106 ASMedia Technology Inc. ASM1051 SATA 3Gb/s bridge
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

root@Debian:~ lsusb -t
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
    |__ Port 1: Dev 5, If 0, Class=Vendor Specific Class, Driver=dvb_usb_rtl28xxu, 480M
    |__ Port 1: Dev 5, If 1, Class=Vendor Specific Class, Driver=, 480M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=orion-ehci/1p, 480M

But still no luck. What I am doing wrong?

dmesg
[1071400.221346] usb 4-1: new high-speed USB device number 5 using xhci-hcd
[1071400.378084] usb 4-1: dvb_usb_v2: found a 'Astrometa DVB-T2' in warm state
[1071400.448336] usb 4-1: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[1071400.448409] DVB: registering new adapter (Astrometa DVB-T2)
[1071400.453887] i2c i2c-9: Added multiplexed i2c bus 10
[1071400.453898] rtl2832 9-0010: Realtek RTL2832 successfully attached
[1071400.456727] mn88473 9-0018: Panasonic MN88473 successfully attached
[1071400.456746] usb 4-1: DVB: registering adapter 0 frontend 0 (Realtek RTL2832 (DVB-T))...
[1071400.456833] usb 4-1: DVB: registering adapter 0 frontend 1 (Panasonic MN88473)...
[1071400.456946] r820t 10-003a: creating new instance
[1071400.468420] r820t 10-003a: Rafael Micro r820t successfully identified
[1071400.468491] r820t 10-003a: attaching existing instance
[1071400.475361] r820t 10-003a: Rafael Micro r820t successfully identified
[1071400.481932] Registered IR keymap rc-empty
[1071400.482137] input: Astrometa DVB-T2 as /devices/platform/soc/soc:internal-regs/f10f8000.usb3/usb4/4-1/rc/rc0/input3
[1071400.482144] rc0: Astrometa DVB-T2 as /devices/platform/soc/soc:internal-regs/f10f8000.usb3/usb4/4-1/rc/rc0
[1071400.482271] usb 4-1: dvb_usb_v2: schedule remote query interval to 200 msecs
[1071400.498355] usb 4-1: dvb_usb_v2: 'Astrometa DVB-T2' successfully initialized and connected

EDIT: I managed acess USB device by running TVHeadend under root instead of hts user… Unfortunatelly, DVB-T2 is still doesnt tune anything :frowning: