Jump to content


Photo

Connect HDHomeRun with Enigma2

HDHomeRun DVB Kernel

  • Please log in to reply
6 replies to this topic

#1 hanjov

  • Member
  • 1 posts

0
Neutral

Posted 20 December 2013 - 12:57

Hi Folks,

 

I have a VuDuo2 and a HDHomeRun (this is a network DVB-C / DVB-T tuner). The two tuners built-in are not enough, so I was thinking to connect my HDHomeRun network tuner to my VuDuo2.

 

With some effort, I was able to cross-compile the Library from the Vendor as well as the open-source kernel module.

 

Once loaded the kernel module is creating the necessary devices in /dev/dvb/ (adapter1 and adapter2 below):

# ll /dev/dvb/*
/dev/dvb/adapter0:
crw-rw---- 1 root video 212, 29 Dec 1 12:19 audio0
crw-rw---- 1 root video 212, 32 Dec 1 12:19 ca0
crw-rw---- 1 root video 212, 33 Dec 1 12:19 ca1
crw-rw---- 1 root video 212, 34 Dec 1 12:19 ca2
crw-rw---- 1 root video 212, 35 Dec 1 12:19 ca3
crw-rw---- 1 root video 212, 36 Dec 1 12:19 ca4
crw-rw---- 1 root video 212, 37 Dec 1 12:19 ca5
crw-rw---- 1 root video 212, 38 Dec 1 12:19 ca6
crw-rw---- 1 root video 212, 39 Dec 1 12:19 ca7
crw-rw---- 1 root video 212, 40 Dec 1 12:19 ca8
crw-rw---- 1 root video 212, 0 Dec 1 12:19 demux0
crw-rw---- 1 root video 212, 3 Dec 1 12:19 demux1
crw-rw---- 1 root video 212, 6 Dec 1 12:19 demux2
crw-rw---- 1 root video 212, 9 Dec 1 12:19 demux3
crw-rw---- 1 root video 212, 12 Dec 1 12:19 demux4
crw-rw---- 1 root video 212, 15 Dec 1 12:19 demux5
crw-rw---- 1 root video 212, 18 Dec 1 12:19 demux6
crw-rw---- 1 root video 212, 21 Dec 1 12:19 demux7
crw-rw---- 1 root video 212, 24 Dec 1 12:19 demux8
crw-rw---- 1 root video 212, 1 Dec 1 12:19 dvr0
crw-rw---- 1 root video 212, 4 Dec 1 12:19 dvr1
crw-rw---- 1 root video 212, 7 Dec 1 12:19 dvr2
crw-rw---- 1 root video 212, 10 Dec 1 12:19 dvr3
crw-rw---- 1 root video 212, 13 Dec 1 12:19 dvr4
crw-rw---- 1 root video 212, 16 Dec 1 12:19 dvr5
crw-rw---- 1 root video 212, 19 Dec 1 12:19 dvr6
crw-rw---- 1 root video 212, 22 Dec 1 12:19 dvr7
crw-rw---- 1 root video 212, 25 Dec 1 12:19 dvr8
crw-rw---- 1 root video 212, 30 Dec 1 12:19 frontend0
crw-rw---- 1 root video 212, 31 Dec 1 12:19 frontend1
crw-rw---- 1 root video 212, 2 Dec 1 12:19 net0
crw-rw---- 1 root video 212, 5 Dec 1 12:19 net1
crw-rw---- 1 root video 212, 8 Dec 1 12:19 net2
crw-rw---- 1 root video 212, 11 Dec 1 12:19 net3
crw-rw---- 1 root video 212, 14 Dec 1 12:19 net4
crw-rw---- 1 root video 212, 17 Dec 1 12:19 net5
crw-rw---- 1 root video 212, 20 Dec 1 12:19 net6
crw-rw---- 1 root video 212, 23 Dec 1 12:19 net7
crw-rw---- 1 root video 212, 26 Dec 1 12:19 net8
crw-rw---- 1 root video 212, 27 Dec 1 12:19 video0
crw-rw---- 1 root video 212, 28 Dec 1 12:19 video1

/dev/dvb/adapter1:
crw-rw---- 1 root video 212, 41 Dec 6 18:45 demux0
crw-rw---- 1 root video 212, 42 Dec 6 18:45 dvr0
crw-rw---- 1 root video 212, 43 Dec 6 18:45 frontend0

/dev/dvb/adapter2:
crw-rw---- 1 root video 212, 44 Dec 6 18:45 demux0
crw-rw---- 1 root video 212, 45 Dec 6 18:45 dvr0
crw-rw---- 1 root video 212, 46 Dec 6 18:45 frontend0

Also the helper application that is part of the kernel module is working without any issues:

# ./userhdhomerun
Fri Dec 6 18:45:42 2013 Num of devices = 1
Fri Dec 6 18:45:42 2013
Fri Dec 6 18:45:42 2013 Device 12202921 is type 1 and has 2 tuners
Fri Dec 6 18:45:42 2013
Fri Dec 6 18:45:42 2013 Name of device: 12202921-0
Fri Dec 6 18:45:42 2013 Tuner type set to "DVB-C" based on conf file
Fri Dec 6 18:45:42 2013 Tuner: 0
Fri Dec 6 18:45:42 2013 Set initial pass-all filter for tuner: 1
Fri Dec 6 18:45:42 2013
Fri Dec 6 18:45:42 2013 Name of device: 12202921-1
Fri Dec 6 18:45:42 2013 Tuner type set to "DVB-C" based on conf file
Fri Dec 6 18:45:42 2013 Tuner: 1
Fri Dec 6 18:45:42 2013 Set initial pass-all filter for tuner: 1
Fri Dec 6 18:45:42 2013
Fri Dec 6 18:45:42 2013 Registered tuner, id from kernel: 0 name: 12202921-0
Fri Dec 6 18:45:42 2013 Registered tuner, id from kernel: 1 name: 12202921-1
Fri Dec 6 18:46:31 2013 START FEED: Pid = 285
Fri Dec 6 18:46:31 2013 PidFilter: 0x285
Fri Dec 6 18:46:31 2013 hdhomerun_device_stream_start: 1
Fri Dec 6 18:46:31 2013 Open data device: /dev/hdhomerun_data0
Fri Dec 6 18:46:43 2013 STOP FEED: Pid = 285
Fri Dec 6 18:46:43 2013 Stop writing to dvr0
Fri Dec 6 18:46:43 2013 hdhomerun_device_stream_stop
Fri Dec 6 18:46:43 2013 hdhomerun_device_stream_stop, stopped
Fri Dec 6 18:46:43 2013 Network error count : 0
Fri Dec 6 18:46:43 2013 Overflow error count : 0
Fri Dec 6 18:46:43 2013 Transport error count : 0
Fri Dec 6 18:46:43 2013 Sequence error count : 0

Using dvbsnoop you can see that the tuner is working fine, however Enigma did not recognize the tuner (or rather the two new tuners). After a little research I found out that Enigma is not looking at /dev/dvb/, but rather reads /proc/bus/nim_sockets to list the tuners. Unfortunatenly my tuner is not in this list:

# cat /proc/bus/nim_sockets
NIM Socket 0:
Type: DVB-C
Name: Vuplus DVB-C NIM(CXD1978)
Mode 0: DVB-C
Mode 1: DVB-T
Frontend_Device: 0
I2C_Device: 2
NIM Socket 1:
Type: DVB-C
Name: Vuplus DVB-C NIM(CXD1978)
Mode 0: DVB-C
Mode 1: DVB-T
Frontend_Device: 1
I2C_Device: 3

I was trying to trick Enigma by pointing to a different file where I manually added my tuner, but that did not really work. Although I was able to see the tuner in the config dialogue (and I could see that it was working by checking the network traffic) Enigma did not show the video.

 

From what I read on the Internet this might be related to the vtuners in /dev/misc/ and maybe also the entries in /sys/class/dvb/, but I don't quite understand how these things are related.

 

Could anybody give me a hint how I can connect my dvb-device to Enigma?

 

Thanks a lot

Greetings

Hanjo



Re: Connect HDHomeRun with Enigma2 #2 Facel

  • Member
  • 1 posts

0
Neutral

Posted 21 April 2015 - 16:08

Hi

 

I would also like to have my HD Homerun working with my Solo2 (VTI sorry)

 

Have you succeed in your entreprise since december 2013 ?

 

regards

 

 



Re: Connect HDHomeRun with Enigma2 #3 littlesat

  • PLi® Core member
  • 57,186 posts

+699
Excellent

Posted 30 April 2015 - 07:00

sorry wring thread...

Edited by littlesat, 30 April 2015 - 07:02.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Connect HDHomeRun with Enigma2 #4 Leatherface

  • Senior Member
  • 54 posts

0
Neutral

Posted 7 January 2016 - 07:09

Any news about this? I have HDHomeRun HDHR3-4DC with 4 tuners i would like to use with Enigma2.


DM8000CC 1TB HDD DVD - OpenPLi, Intel Core i5 2320 8GB 500GB HDD - Tvheadend + Kodi
Epson TW3200, Euroscreen Black Grey 86" , XBoX, Playstation 3, Pioneer VSX-1123


Re: Connect HDHomeRun with Enigma2 #5 IanSav

  • PLi® Contributor
  • 1,491 posts

+51
Good

Posted 12 October 2023 - 06:32

Hi All,

 

It has been a long time since this topic was updated.  Is there any chance that someone can get the code working so that we can all use HDHomeRun tuners with Enigma2.

 

Regards,

Ian.



Re: Connect HDHomeRun with Enigma2 #6 WanWizard

  • PLi® Core member
  • 70,552 posts

+1,813
Excellent

Posted 12 October 2023 - 13:45

As to the missing NIM tuner entries: perhaps check the open source code of a USB DVB stick, see how it is handled there, and use that to modify the helper?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Connect HDHomeRun with Enigma2 #7 Abu Baniaz

  • PLi® Contributor
  • 2,501 posts

+64
Good

Posted 12 October 2023 - 14:02

hrtunerproxy plugin should allow this. IIRC, Andy Blackburn was using it.





Also tagged with one or more of these keywords: HDHomeRun, DVB, Kernel

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users