I can't get my WinTV Quad HD terrestrial TV tuner (DVB-T2) to show up in a linux container (lxc) running ubuntu 20.04 (with Plex installed)
System is:
Proxmox version: PVE 6.4-4
Ubuntu in linux container: 20.04
Motherboard: AS Rock ROMED8-2T
CPU: EPYC 7262
RAM: 24GB
Expansion cards:
- 2 x HBA LSI SAS2008 (cross flashed LSI 9240-8i)
- nVidia GTX 1050Ti
- WinTV Quad HD DVB-T2 tuner
the tuner card shows up in the output from 'lspci -v', when I run it in the host and the lxc (output is the same from both, which is what I expected from reading up on how lxc's access the PCIe... excerpt below:
...
83:00.0 Multimedia video controller: Conexant Systems, Inc. CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb (rev 04)
Subsystem: Hauppauge computer works Inc. CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb
Flags: bus master, fast devsel, latency 0, IRQ 198, NUMA node 0
Memory at b1400000 (64-bit, non-prefetchable) [size=2M]
Capabilities: [40] Express Endpoint, MSI 00
Capabilities: [80] Power Management version 3
Capabilities: [90] Vital Product Data
Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [100] Advanced Error Reporting
Capabilities: [200] Virtual Channel
Kernel driver in use: cx23885
84:00.0 Multimedia video controller: Conexant Systems, Inc. CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb (rev 04)
Subsystem: Hauppauge computer works Inc. CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb
Flags: bus master, fast devsel, latency 0, IRQ 201, NUMA node 0
Memory at b1200000 (64-bit, non-prefetchable) [size=2M]
Capabilities: [40] Express Endpoint, MSI 00
Capabilities: [80] Power Management version 3
Capabilities: [90] Vital Product Data
Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [100] Advanced Error Reporting
Capabilities: [200] Virtual Channel
Kernel driver in use: cx23885
...
Following installation instructions here (https://hauppauge.com/pages/support/support_linux.html). I've run the following in the guest lxc:
apt install software-properties-common
add-apt-repository ppa:b-rad/kernel+mediatree+hauppauge
apt update
apt install linux-mediatree
apt install linux-firmware-hauppauge
reboot now
Logging back into the guest lxc ('lxc-attach [INSERT_LXC_ID]'), I then tested whether the tuner card was visible to the operating system with:
apt install w-scan
w_scan -X -c GB
... which generated the error ...
w_scan version 20170107 (compiled for DVB API 5.10)
using settings for UNITED KINGDOM
DVB aerial
DVB-T GB
scan type TERRESTRIAL, channellist 6
output format czap/tzap/szap/xine
WARNING: could not guess your codepage. Falling back to 'UTF-8'
output charset 'UTF-8', use -C <charset> to override
Info: using DVB adapter auto detection.
main:4007: FATAL: ***** NO USEABLE TERRESTRIAL CARD FOUND. *****
Please check wether dvb driver is loaded and
verify that no dvb application (i.e. vdr) is running.
Any idea what's going on?
System is:
Proxmox version: PVE 6.4-4
Ubuntu in linux container: 20.04
Motherboard: AS Rock ROMED8-2T
CPU: EPYC 7262
RAM: 24GB
Expansion cards:
- 2 x HBA LSI SAS2008 (cross flashed LSI 9240-8i)
- nVidia GTX 1050Ti
- WinTV Quad HD DVB-T2 tuner
the tuner card shows up in the output from 'lspci -v', when I run it in the host and the lxc (output is the same from both, which is what I expected from reading up on how lxc's access the PCIe... excerpt below:
...
83:00.0 Multimedia video controller: Conexant Systems, Inc. CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb (rev 04)
Subsystem: Hauppauge computer works Inc. CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb
Flags: bus master, fast devsel, latency 0, IRQ 198, NUMA node 0
Memory at b1400000 (64-bit, non-prefetchable) [size=2M]
Capabilities: [40] Express Endpoint, MSI 00
Capabilities: [80] Power Management version 3
Capabilities: [90] Vital Product Data
Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [100] Advanced Error Reporting
Capabilities: [200] Virtual Channel
Kernel driver in use: cx23885
84:00.0 Multimedia video controller: Conexant Systems, Inc. CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb (rev 04)
Subsystem: Hauppauge computer works Inc. CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb
Flags: bus master, fast devsel, latency 0, IRQ 201, NUMA node 0
Memory at b1200000 (64-bit, non-prefetchable) [size=2M]
Capabilities: [40] Express Endpoint, MSI 00
Capabilities: [80] Power Management version 3
Capabilities: [90] Vital Product Data
Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [100] Advanced Error Reporting
Capabilities: [200] Virtual Channel
Kernel driver in use: cx23885
...
Following installation instructions here (https://hauppauge.com/pages/support/support_linux.html). I've run the following in the guest lxc:
apt install software-properties-common
add-apt-repository ppa:b-rad/kernel+mediatree+hauppauge
apt update
apt install linux-mediatree
apt install linux-firmware-hauppauge
reboot now
Logging back into the guest lxc ('lxc-attach [INSERT_LXC_ID]'), I then tested whether the tuner card was visible to the operating system with:
apt install w-scan
w_scan -X -c GB
... which generated the error ...
w_scan version 20170107 (compiled for DVB API 5.10)
using settings for UNITED KINGDOM
DVB aerial
DVB-T GB
scan type TERRESTRIAL, channellist 6
output format czap/tzap/szap/xine
WARNING: could not guess your codepage. Falling back to 'UTF-8'
output charset 'UTF-8', use -C <charset> to override
Info: using DVB adapter auto detection.
main:4007: FATAL: ***** NO USEABLE TERRESTRIAL CARD FOUND. *****
Please check wether dvb driver is loaded and
verify that no dvb application (i.e. vdr) is running.
Any idea what's going on?