hauppauge wintv-dual hd - only see one tuner

  • Hi,

    Thanks for your efforts on this. I'd love to switch to TVHeadEnd, but lack the knowledge of how to apply these patches.

    Do you know when libreelec will support both tuners for this device out of the box?

    Thanks,

    Mark

  • Hi,

    Thanks for your efforts on this. I'd love to switch to TVHeadEnd, but lack the knowledge of how to apply these patches.

    Do you know when libreelec will support both tuners for this device out of the box?

    Thanks,

    Mark


    No. Libreelec will not support both tuners out of the box. You would set up TVHeadEnd under Libreelec. Libreelec with Linux Kernel 4.7 and higher will support one DVB tuner. Libreelec does not support ATSC tuner currently. When this patch ([v3,2/2,media] em28xx: support for Hauppauge WinTV-dualHD 01595 ATSC/QAM - Patchwork) is accepted, Libreelec in a future Linux Kernel will support one ATSC tuner. We have to wait until technical bureaucracy of supporting two WinTV-dualHD tuners to be settled in one of the patches and placed in the future Linux Kernel. Until then, I would recommend the "unofficial" patches to get the two tuners working.

    Edited 3 times, last by leading_edjge (May 24, 2017 at 3:39 PM).

  • Yes, I got both ATSC tuners working for my Raspberry Pi 3.
    I extracted the patch file for kernel 4.2.5 from Dropbox - wintv-dualhd-kernel-4.2.5-2016-08-10.patch.tar.xz
    I used the instructions to apply the patch from Kernel building - Raspberry Pi Documentation

    After rebooting with the patched kernel, the two ATSC tuners appeared.
    2iw5bgj.jpg

    Thanks leading_edjge. Now that I know it's been done, I'll have to dig in and learn how to patch the kernel. cheers.

  • Can anyone tell me if both of the DVB-C tuners in Hauppauge Wintv-Dual HD work simultaneously with TVHeadend on LibreElec 8?

    I've tried looking for info on this everywhere but the information seems conflicting,

    I already bought one tuner that only works on Windows (Astrometa DVB T/T2/C) and I don't want to repeat that mistake.

  • Can anyone tell me if both of the DVB-C tuners in Hauppauge Wintv-Dual HD work simultaneously with TVHeadend on LibreElec 8?

    I've tried looking for info on this everywhere but the information seems conflicting,

    I already bought one tuner that only works on Windows (Astrometa DVB T/T2/C) and I don't want to repeat that mistake.

    Libreelec/TVHeadend with Linux Kernel 4.7 and higher will support one DVB-C tuner on Hauppauge Wintv-Dual HD currently . You have to build the custom patches listed earlier to get both DVB-C tuners working simultaneously.

  • I got both ATSC tuners working for my Raspberry Pi 3 with the patch 0001-em28xx-Hauppauge-DualHD-DVB-ATSC-second-tuner-suppor.patch from Ubuntu-media-tree-kernel-builder/patches/ubuntu-zesty-4.10.0/extra at master · b-rad-NDi/Ubuntu-media-tree-kernel-builder · GitHub

    I had problems applying the patch with kernel 4.9 and 4.10.

    I got it working with kernel 4.11.

    I assume that two DVB-C tuners are supported with this patch.

    Hopefully this patch will be accepted in the future kernel (4.12 or 4.13?). A future Libreelec with the new kernel should see both tuners on the Hauppauge-DualHD.

    Edited 7 times, last by leading_edjge (June 2, 2017 at 3:05 PM).

  • I'm not very savvy in this arena, but I cannot even get one tuner listed in Tvheadend. I'm on Generic build LE version 8.0.2 and I read earlier in this topic that kernel 4.7 and up should support at least one tuner, but they won't show for me. Am I missing something?

    Edit: I also tried creating a firmware file in storage/.config/ and adding all of the firmware available in this thread, but no dice. Any sort of help would be appreciated.

    Edited once, last by sciascia88 (June 8, 2017 at 2:31 AM).

  • I'm not very savvy in this arena, but I cannot even get one tuner listed in Tvheadend. I'm on Generic build LE version 8.0.2 and I read earlier in this topic that kernel 4.7 and up should support at least one tuner, but they won't show for me. Am I missing something?

    Edit: I also tried creating a firmware file in storage/.config/ and adding all of the firmware available in this thread, but no dice. Any sort of help would be appreciated.

    For the DVB-C tuner version of the Hauppauge Wintv-Dual HD, can you confirm that you have the correct firmware?

    Check if /lib/firmware has the file dvb-demod-si2168-b40-01.fw.

    If not, here are the instructions to getting the firmware for the DVB-C tuner version of the Hauppauge Wintv-Dual HD and putting in the /lib/firmware.

    Hopefully you will able to see the first tuner.

    Sorry I only have the ATSC version of the Hauppauge Wintv-Dual HD, so I cannot verify these instructions.

    Code
    wget http://palosaari.fi/linux/v4l-dvb/firmware/Si2168/Si2168-B40/4.0.11/dvb-demod-si2168-b40-01.fw
    mv dvb-demod-si2168-b40-01.fw /lib/firmware/
  •  

    For the DVB-C tuner version of the Hauppauge Wintv-Dual HD, can you confirm that you have the correct firmware?

    Check if /lib/firmware has the file dvb-demod-si2168-b40-01.fw.

    If not, here are the instructions to getting the firmware for the DVB-C tuner version of the Hauppauge Wintv-Dual HD and putting in the /lib/firmware.

    Hopefully you will able to see the first tuner.

    Sorry I only have the ATSC version of the Hauppauge Wintv-Dual HD, so I cannot verify these instructions.

    Code
    wget http://palosaari.fi/linux/v4l-dvb/firmware/Si2168/Si2168-B40/4.0.11/dvb-demod-si2168-b40-01.fw
    mv dvb-demod-si2168-b40-01.fw /lib/firmware/
     

    Thanks for replying. I believe mine is ATSC as well, North American broadcast, correct? I also have the firmware in my lib/firmware folder.

    Here is what dmesg is outputting:

    Display Spoiler

    7.479547] usb 1-5: em28174#0: EEPROM ID = 26 00 01 00, EEPROM hash = 0x2c7907ca

    [ 7.479550] usb 1-5: em28174#0: EEPROM info:

    [ 7.479551] usb 1-5: em28174#0: microcode start address = 0x0004, boot configuration = 0x01

    [ 7.488025] usb 1-5: em28174#0: AC97 audio (5 sample rates)

    [ 7.488028] usb 1-5: em28174#0: 500mA max power

    [ 7.488030] usb 1-5: em28174#0: Table at offset 0x27, strings=0x0a72, 0x187c, 0x086a

    [ 7.488122] usb 1-5: em28174#0: Identified as Hauppauge WinTV-dualHD ATSC (card=100)

    [ 7.489333] tveeprom: Hauppauge model 204101, rev B2I6, serial# 13861582

    [ 7.489334] tveeprom: tuner model is SiLabs Si2157 (idx 186, type 4)

    [ 7.489336] tveeprom: TV standards PAL(B/G) NTSC(M) PAL(I) SECAM(L/L') PAL(D/D1/K) ATSC/DVB Digital (eeprom 0xfc)

    [ 7.489337] tveeprom: audio processor is None (idx 0)

    [ 7.489338] tveeprom: has no radio, has IR receiver, has no IR transmitter

    [ 7.489341] usb 1-5: em28174#0: dvb set to isoc mode.

    [ 7.489511] usb 1-5: em28174#1: chip ID is em28174

    [ 7.934647] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.

    [ 7.935849] Bridge firewalling registered

    [ 7.937844] nf_conntrack version 0.5.0 (65536 buckets, 262144 max)

    [ 7.949248] ip_tables: (C) 2000-2006 Netfilter Core Team

    [ 8.008451] IPv6: ADDRCONF(NETDEV_UP): docker0: link is not ready

    [ 8.087417] r8169 0000:06:00.0 eth0: link up

    [ 8.087425] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

    [ 8.088895] 8021q: 802.1Q VLAN Support v1.8

    [ 8.597412] usb 1-5: em28174#1: EEPROM ID = 26 00 01 00, EEPROM hash = 0x2c7907ca

    [ 8.597413] usb 1-5: em28174#1: EEPROM info:

    [ 8.597414] usb 1-5: em28174#1: microcode start address = 0x0004, boot configuration = 0x01

    [ 8.605390] usb 1-5: em28174#1: AC97 audio (5 sample rates)

    [ 8.605391] usb 1-5: em28174#1: 500mA max power

    [ 8.605392] usb 1-5: em28174#1: Table at offset 0x27, strings=0x0a72, 0x187c, 0x086a

    [ 8.605447] usb 1-5: em28174#1: Identified as Hauppauge WinTV-dualHD ATSC (card=100)

    [ 8.606137] tveeprom: Hauppauge model 204101, rev B2I6, serial# 13861582

    [ 8.606138] tveeprom: tuner model is SiLabs Si2157 (idx 186, type 4)

    [ 8.606139] tveeprom: TV standards PAL(B/G) NTSC(M) PAL(I) SECAM(L/L') PAL(D/D1/K) ATSC/DVB Digital (eeprom 0xfc)

    [ 8.606139] tveeprom: audio processor is None (idx 0)

    [ 8.606140] tveeprom: has no radio, has IR receiver, has no IR transmitter

    [ 8.606141] usb 1-5: em28174#1: dvb ts2 set to isoc mode.

    [ 8.806771] usbcore: registered new interface driver em28xx

    [ 8.808888] WARNING: You are using an experimental version of the media stack.

    [ 8.808888] As the driver is backported to an older kernel, it doesn't offer

    [ 8.808888] enough quality for its usage in production.

    [ 8.808888] Use it with care.

    [ 8.808888] Latest git patches (needed if you report a bug to [email protected]:(

    [ 8.808888] a02ff2e02bee64e9955dbfd8811874c3f3880f58 cx231xx: Fix TBS MAC reading.

    [ 8.809796] usb 1-5: em28174#1: Binding DVB extension

    [ 8.813222] i2c i2c-2: Added multiplexed i2c bus 5

    [ 8.821374] lgdt3306a 2-0059: LG Electronics LGDT3306A successfully attached

    [ 8.823011] kernel tried to execute NX-protected page - exploit attempt? (uid: 0)

    [ 8.823013] BUG: unable to handle kernel paging request at ffff8801b65e98b0

    [ 8.823015] IP: [<ffff8801b65e98b0>] 0xffff8801b65e98b0

    [ 8.823016] PGD 3551067

    [ 8.823016] PUD 3554067

    [ 8.823017] PMD 80000001b64001e3

    [ 8.823017]

    [ 8.823018] Oops: 0011 [#1] SMP

    [ 8.823034] Modules linked in: si2157(O) lgdt3306a(O) i2c_mux em28xx_dvb(O+) dvb_core(O) 8021q xt_nat xt_tcpudp ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 xt_addrtype iptable_filter ip_tables xt_conntrack x_tables nf_nat nf_conntrack br_netfilter bridge stp llc overlay snd_hda_codec_hdmi rfcomm nvidia(PO) fuse bnep em28xx(O) v4l2_common(O) tveeprom(O) videodev(O) intel_powerclamp snd_hda_codec_realtek snd_hda_codec_generic btusb btrtl btbcm btintel firewire_ohci bluetooth firewire_core crc_itu_t rfkill snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep uvesafb

  • Thanks for replying. I believe mine is ATSC as well, North American broadcast, correct? I also have the firmware in my lib/firmware folder.

    That firmware is only for the Si2168-B40 demodulator on the DVB-C tuner version of the Hauppauge Wintv-Dual HD. It does nothing for the North American ATSC tuner version since it uses a LGDT3306a for its demodulator.

    Sorry but LibreELEC version 8.0.2 with Linux Kernel 4.9.x does not support any ATSC tuner of the Hauppauge Wintv-Dual HD.

    The single ATSC tuner support of the Hauppauge Wintv-Dual HD showed up in the newly released Linux Kernel 4.11.x.

    You would have to wait for a future version of LibreELEC with a Linux Kernel of 4.11.x or greater to see ATSC tuner support. You would have to wait future version of LibreELEC with a future Linux Kernel to see dual ATSC/DVB-C tuner support.

    Re: Fwd: [PATCH] em28xx: add support for Hauppauge WinTV-dualHD DVB tuner — Linux media

    The other option is to build a new Linux Kernel 4.11.x to make the single ATSC tuner work. If you select this option, you might as well build the patch to support both ATSC tuners.

    Edited 2 times, last by leading_edjge (June 8, 2017 at 7:47 PM).

  • Did anybody get this working? I'd like to patch the latest build tonight, but I've never done any kernel patching before.

    Anyone know when Libreelec would release a build with this support built in?

  • The question is what platform you want it working on. Both tuners work on my ubuntu installation (after using the ppa installation) - but only one works on my rpi install running a an LE Leia alpha version.

    Nothing for amlogic until someone backports the patch as it is stuck on the old 3.1x kernel.