_____

WinTV_QyadHD from Hauppauge

Hauppauge has available a quad digital tuner card: http://www.hauppauge.com/site/products/data_quadhd.html. The price is somewhat above 100 EURO.

Kernel 4.10 is supporting this card, using the cx23885 driver.

There are some issues:

firmware

The card needs the following firmware:

v4l-cx23885-enc.fw and dvb-demod-si2168-b40-01.fw

Both can be obtained from https://github.com/OpenELEC/dvb-firmware/tree/master/firmware

If these firmware is not already installed, download the files and place them in /lib/firmware

DVB-C

The card supports DVB-T, DVB-T2, DVB-S and DVB-C. After system startup, the card is in DVB-T2 mode, and I need DVB-C. Unfortunately, mythtv offers no option to force the card in the DVB-C mode, it simply observes DVB-T2.

Luckily, there is a program available that is able to force DVB-C: dvb-fe-tool. Installation:

  sudo apt install dvb-tools

Usage:

  dvb-fe-tool -a nnn -d dvb-c

where nnn is 0..3.

It is quite easy to automate this using udev. I found, however, that using an udev rule for each tuner gave problems, probably caused by a race condition. So I wrote a rule that triggers when tuner 3 is activated. In that rule I force all tuners to DVB-C.

This is the rule (/etc/udev/rules.d/10-dvb.rules):

  KERNEL=="dvb3.frontend0", SUBSYSTEM=="dvb", RUN="/usr/local/bin/set-dvb-c %k %n"

And here is the script in /usr/local/bin/set-dvb-c :

  #!/bin/bash
  for n in 0 1 2 3; do
     /usr/bin/dvb-fe-tool -a $n -d dvb-c 2>&1 | logger --id 
  done