Hi!
I'm trying to run an RTL2838 USB dongle within an lxc container. Sadly I'm always getting an error message within the container, which I think is a permission issue:
On the host, this works as expected - therefore it's not a hardware-related issue:
I do not find any errors in my configuration this is, what it looks like:
Maybe the blacklist on the pve host isn't even the correct method, because the dongle disappeared as device (rtl_test still works anyways)
Thanks in advance for any ideas,
bgs
I'm trying to run an RTL2838 USB dongle within an lxc container. Sadly I'm always getting an error message within the container, which I think is a permission issue:
Code:
root@fr24:~# rtl_test
Found 1 device(s):
0: , , SN:
Using device 0: Generic RTL2832U OEM
usb_open error -4
Failed to open rtlsdr device #0.
On the host, this works as expected - therefore it's not a hardware-related issue:
Code:
root@pve:~# rtl_test
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001
Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6
[R82XX] PLL not locked!
Sampling at 2048000 S/s.
Info: This tool will continuously read from the device, and report if
samples get lost. If you observe no further output, everything is fine.
Reading samples in async mode...
Allocating 15 zero-copy buffers
lost at least 96 bytes
^CSignal caught, exiting!
User cancel, exiting...
Samples per million lost (minimum): 4
I do not find any errors in my configuration this is, what it looks like:
Code:
root@pve:~# pct config 110
arch: amd64
cores: 1
features: nesting=1
hostname: fr24
memory: 512
net0: name=eth0,bridge=vmbr0,firewall=1,gw=censored,hwaddr=censored,ip=censored/24,ip6=auto,type=veth
ostype: debian
parent: ssh
rootfs: local-lvm:vm-110-disk-0,size=8G
swap: 512
unprivileged: 1
lxc.cgroup.devices.allow: c 212:* rwm
lxc.mount.entry: /dev/dvb dev/dvb none bind,optional,create=dir
lxc.mount.entry: /dev/bus/usb/001 dev/bus/usb/001 none bind,optional,create=dir
Code:
root@pve:~# tail /etc/modprobe.d/blacklist-dvb_usb_rtl28xxu.conf
blacklist dvb_usb_rtl28xxu
Maybe the blacklist on the pve host isn't even the correct method, because the dongle disappeared as device (rtl_test still works anyways)
Code:
root@pve:~# ls -l /dev/* |grep dvb
root@pve:~#
Thanks in advance for any ideas,
bgs