[mythtv-users] UPDATE: Re: WinTV-dualHD TV Tuner not found.

A. F. Cano afc at shibaya.lonestar.org
Sat Sep 9 22:40:48 UTC 2017


On Mon, Sep 04, 2017 at 11:22:08PM -0400, I wrote:
> ...
> > Ian
> 
> Thank you very much!  At least now there's light at the end of the
> tunnel.  First, I'll see if the tuner is visible to kernel 4.11,

I can report partial good news.  I installed kernel 4.11 from backports
on a test machine running stretch and one tuner became visible (one
green led on the tuner).  Mythtv-setup (0.28 from deb-multimedia) after
proper configuration, detected 60 channels after a channel scan.
Unfortunately, that computer has issues with the display (possibly
config issues) so using myth there is not possible until I track that
down.

> then I'll decide if I want to go the patch route or wait for the

Next, I decided to install the sources for kernel 3.16 on the myth
box that's running jessie, and apply the patch.

The excellent instructions here made it easy:

https://linuxconfig.org/building-kernels-the-debian-way

/usr/src/linux-source-3.16# patch -p1 < /tmp/hvr-9x5-19x5-22x5-kernel-3.16-2015-05-21.patch
patching file drivers/media/common/tveeprom.c
patching file drivers/media/dvb-frontends/Kconfig
patching file drivers/media/dvb-frontends/Makefile
patching file drivers/media/dvb-frontends/lgdt3306a.c
patching file drivers/media/dvb-frontends/lgdt3306a.h
patching file drivers/media/dvb-frontends/si2168b.c
patching file drivers/media/dvb-frontends/si2168b.h
patching file drivers/media/dvb-frontends/si2168b_priv.h
patching file drivers/media/dvb-frontends/silg.c
patching file drivers/media/dvb-frontends/silg.h
patching file drivers/media/pci/saa7164/Kconfig
patching file drivers/media/pci/saa7164/saa7164-api.c
patching file drivers/media/pci/saa7164/saa7164-cards.c
patching file drivers/media/pci/saa7164/saa7164-core.c
patching file drivers/media/pci/saa7164/saa7164-dvb.c
patching file drivers/media/pci/saa7164/saa7164-encoder.c
patching file drivers/media/pci/saa7164/saa7164-fw.c
patching file drivers/media/pci/saa7164/saa7164-i2c.c
patching file drivers/media/pci/saa7164/saa7164-reg.h
patching file drivers/media/pci/saa7164/saa7164-vbi.c
patching file drivers/media/pci/saa7164/saa7164.h
patching file drivers/media/tuners/Kconfig
patching file drivers/media/tuners/Makefile
patching file drivers/media/tuners/silabs_tercab.c
patching file drivers/media/tuners/silabs_tercab.h
patching file drivers/media/tuners/silabs_tercab_priv.h
patching file drivers/media/tuners/tuner-types.c
patching file drivers/media/usb/cx231xx/Kconfig
patching file drivers/media/usb/cx231xx/cx231xx-avcore.c
Hunk #6 succeeded at 1727 (offset 3 lines).
Hunk #7 succeeded at 2129 (offset 3 lines).
Hunk #8 succeeded at 2397 (offset 3 lines).
patching file drivers/media/usb/cx231xx/cx231xx-cards.c
patching file drivers/media/usb/cx231xx/cx231xx-core.c
Hunk #1 succeeded at 727 (offset 1 line).
Hunk #2 succeeded at 748 (offset 1 line).
Hunk #3 succeeded at 1386 (offset 1 line).
patching file drivers/media/usb/cx231xx/cx231xx-dvb.c
patching file drivers/media/usb/cx231xx/cx231xx-video.c
patching file drivers/media/usb/cx231xx/cx231xx.h
patching file drivers/media/usb/pvrusb2/Kconfig
patching file drivers/media/usb/pvrusb2/pvrusb2-cx2584x-v4l.c
patching file drivers/media/usb/pvrusb2/pvrusb2-devattr.c
patching file drivers/media/usb/pvrusb2/pvrusb2-devattr.h
patching file drivers/media/usb/pvrusb2/pvrusb2-dvb.c
patching file drivers/media/usb/pvrusb2/pvrusb2-fx2-cmd.h
patching file drivers/media/usb/pvrusb2/pvrusb2-hdw-internal.h
patching file drivers/media/usb/pvrusb2/pvrusb2-hdw.c
Hunk #2 succeeded at 2096 (offset -23 lines).
Hunk #3 succeeded at 2149 (offset -23 lines).
Hunk #4 succeeded at 2231 (offset -23 lines).
Hunk #5 succeeded at 4056 (offset -23 lines).
patching file drivers/media/v4l2-core/tuner-core.c
patching file include/media/tuner.h

After applying the patch:

cp /boot/config-3.16.0-4-amd64 .config
make-kpkg --rootcmd fakeroot  --initrd --us --uc kernel_image

After the compilation ended:

# cd ..
# dpkg -i linux-image-3.16.43_3.16.43-10.00.Custom_amd64.deb

and reboot.  Tuner not recognized.  No green led and mythtv-setup
doesn't see it.  Not sure what's missing.  Maybe this is not the only
patch that's needed, or it's possibly the wrong patch.  Does anyone
know?

> After that, I'll have to upgrade the myth machine (liva X) that is still
> running jessie.

Since the above didn't work, I'm now upgrading the myth machine to
stretch.  After changing all "jessie" to "stretch" in /etc/apt/soures.list:

apt-get update
apt-get dist-upgrade.

Then I'll install the backports kernel 4.11 and I'll have at least one
tuner.

Does anyone know what Debian kernel has the 2-tuner patch/addition?

Augustine



More information about the mythtv-users mailing list