Jump to content


Photo

Vu Duo 4K Hauppauge WinTV-dualHD patch and driver


  • Please log in to reply
4 replies to this topic

#1 hw9258

  • Senior Member
  • 33 posts

+3
Neutral

Posted 3 June 2021 - 21:52

Hello everyone.

First of all, a massive thank you and heartfelt gratitude to the OpenPLi team members for continuously providing the most reliable enigma2 image :-).

In a Vu Duo 4K with one FBC DVB-S2X tuner and one Dual DVB-T2 tuner MTSIF, there was the need to add a dual DVB-T/T2/C USB tuner for multiple simultaneous recordings. After searching on linuxtv.org, it seemed the only one available for sale with good linux support is the Hauppauge WinTV-dualHD. Single USB tuner Hauppauge WinTV-SoloHD is already supported by enigma2-plugin-drivers-ct2-dvb-usb-pctv292e.

OpenPLi team members are absolutely correct in that using USB tuners are asking for trouble but sometimes it is a solution.

On https://github.com/O...penpli-oe-core/ there is a HauppaugeWinTV-dualHD.patch which adds support to the following brands but not to Vu+:

meta-gfutures/recipes-bsp/linux/files
meta-gigablue/recipes-bsp/linux/linux-gigablue-4.4.35
meta-maxytec/recipes-bsp/linux/files
meta-octagon/recipes-linux/linux-octagon-4.4.35
meta-uclan/recipes-linux/linux-uclan-4.4.35
meta-zgemma/recipes-bsp/linux/files

To be able to use it on the Vu receiver, the attached patch was made from scratch and it only includes the kernel commits at the end of this post, some newer than the HauppaugeWinTV-dualHD.patch. The patch was copied to meta-vuplus/recipes-bsp/linux/linux-vuplus-4.1.45/ and added to meta-vuplus/recipes-bsp/linux/linux-vuplus-4.1.45.inc below the line: file://0017-mn88472-finalize-driver.patch \ as file://0018-Add-support-for-dvb-usb-stick-Hauppauge-WinTV-dualHD.patch \.

The compiled driver was tested extensively, even with 4 HD recordings and there are no problems, even when zapping while recording.

Before using the WinTV-dualHD, please make sure it is in bulk mode as on https://www.linuxtv....er_Mode_to_bulk (download https://www.hauppaug...n=FAQ.BulkOrIso and set it to bulk mode).

To install the driver, download and unzip the attached enigma2-plugin-drivers-ct2-dvb-usb-hauppauge-dualhd.zip file, ftp the ipk files to /tmp and run:

opkg install --force-reinstall /tmp/*.ipk

Then reboot the receiver. After it boots, go to tuner configuration to enable the two WinTV-dualHD tuners.

If it is useful to others, I hope OpenPLi would include the patch sometime in the future. Perhaps in a duplicate package of enigma2-plugin-drivers-ct2-dvb-usb-pctv292e, maybe with the name enigma2-plugin-drivers-ct2-dvb-usb-hauppauge-dualhd so that it is a little bit clearer to the end user.

Also, as I am not that familiar with PR and Vu will probably ignore a patch from an unknown contributor, I would be grateful for a kind OpenPLi team member to PR directly to Vu+ so that they can add it to meta-vuplus.

Thank you very much again for all your hard work.

0018-Add-support-for-dvb-usb-stick-Hauppauge-WinTV-dualHD.patch commits

https://github.com/torvalds/linux/commits/master/drivers/media/dvb-frontends
Commits on May 21, 2019
media: si2168: add frequency data to frontend info

Commits on Mar 6, 2018
media: si2168: change ts bus control logic 
media: si2168: Add spectrum inversion property
media: si2168: Announce frontend creation failure 
media: si2168: Add ts bus coontrol, turn off bus on sleep

Commits on May 12, 2015
[media] si2168: add support for gapped clock

https://github.com/torvalds/linux/commits/master/drivers/media/tuners
Commits on Feb 1, 2016
[media] si2157.c: fix frequency range

Commits on May 12, 2015
[media] si2157: support selection of IF interface

https://github.com/torvalds/linux/commits/master/drivers/media/usb/em28xx
Commits on Feb 5, 2021
media: em28xx-core: Fix TS2 active led

Commits on Aug 14, 2019
media: em28xx: modules workqueue not inited for 2nd device

Commits on Jul 30, 2018
media: em28xx: disable null packet filter for WinTVdualHD 
media: em28xx: explicitly disable TS packet filter 

Commits on Jul 27, 2018
media: em28xx: Fix DualHD disconnect oops
media: em28xx: Fix dual transport stream operation 

Commits on May 11, 2018
media: em28xx: Demote several dev_err to dev_info

Commits on May 4, 2018
media: em28xx: fix a regression with HVR-950
media: em28xx: Don't use ops->resume if NULL 

Commits on Mar 8, 2018
media: em28xx-cards: fix em28xx_duplicate_dev() 

Commits on Mar 7, 2018
media: em28xx: Change hex to lower case

Commits on Mar 6, 2018
media: em28xx: Enable inversion for Solo/Dual HD DVB models
media: em28xx: Enable Hauppauge SoloHD rebranded 292e SE
media: em28xx: Add Hauppauge SoloHD/DualHD bulk models 
media: em28xx: Increase max em28xx boards to max dvb adapters
media: em28xx: USB bulk packet size fix
media: em28xx: Bulk transfer implementation fix
media: em28xx: Hauppauge DualHD second tuner functionality

Commits on May 9, 2016
[media] em28xx: add support for Hauppauge WinTV-dualHD DVB tuner

Attached Files



Re: Vu Duo 4K Hauppauge WinTV-dualHD patch and driver #2 rantanplan

  • PLi® Contributor
  • 1,860 posts

+87
Good

Posted 3 June 2021 - 22:53

That should also be ported to the 4.1.20 kernel, right?

Will somebody send the PR for sure.



Re: Vu Duo 4K Hauppauge WinTV-dualHD patch and driver #3 Dimitrij

  • PLi® Core member
  • 10,327 posts

+350
Excellent

Posted 4 June 2021 - 05:28

hw9258

thanks


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Vu Duo 4K Hauppauge WinTV-dualHD patch and driver #4 rantanplan

  • PLi® Contributor
  • 1,860 posts

+87
Good

Posted 4 June 2021 - 20:55

PR is set and I will also provide the PR for Kernel 4.1.20.

https://github.com/v...vuplus/pull/101
Maybe someone they know can knock at VU +.
Zgemma seems to be out of order too ... mhhh?



Re: Vu Duo 4K Hauppauge WinTV-dualHD patch and driver #5 hw9258

  • Senior Member
  • 33 posts

+3
Neutral

Posted 21 June 2021 - 10:38

I just saw that the patch was committed on the 8th of June for 4.1.45 vuduo4k, vuduo4kse and also for 4.1.20 vuzero4k, vuuno4kse!

 

Thank you very very much Dimitrij for your kind response, rantanplan for the PR, Vu for merging and as always, all the OpenPLi team members :-).




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users