Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HDHomeRun driver packages #958

Closed
jdierkse opened this issue Apr 29, 2014 · 141 comments
Closed

Add HDHomeRun driver packages #958

jdierkse opened this issue Apr 29, 2014 · 141 comments

Comments

@jdierkse
Copy link

I'm currently in the process of making a HDHomerun driver package.
I've created packages for DSM 4.3 (1.0.0) and DSM 5.0 (1.0.1) for just about every relevant architecture, and they can be found on http://syno.dierkse.nl
If there are people who can test these packages, that would be awesome.
Meanwhile I'll finalize the creation and create a pull request once done.

This was referenced Apr 29, 2014
@SathishN
Copy link

After changing the tuner type to ATSC, and restarted services it shows up the right countries,

I'm still waiting for mux to scan!!

When I stop the HDHomeRun package
DiskStation> /var/packages/hdhomerun/scripts/start-stop-status stop
killall: userhdhomerun: no process killed

Is that expected?

@SathishN
Copy link

wow.. it worked.. gr8, thanks a lot @jdierkse

image

@jdierkse
Copy link
Author

@SathishN, I will look into creating an install window which will query for the correct tuner mode.
The killall message can occur when there is no userhdhomerun process running, and can be ignored. Awesome that the drivers work, thanks again for testing!

@SathishN
Copy link

@jdierkse thanks for all your hard work :)

@Smiggel
Copy link

Smiggel commented Apr 30, 2014

@SathishN Do you run it on DSM 4 or 5?

@schumi2004
Copy link
Contributor

Confirmed working on DS211 DSM5 (88f6281)
Thank you @jdierkse
I think you made a lot of people happy certainly since you fixed it for (i think) every architecture, awesome

@schumi2004
Copy link
Contributor

@jdierkse want another challenge ;)
comskip (commmercial skipping tool) http://forum.xbmc.org/showthread.php?tid=150084

@SathishN
Copy link

@Smiggel it works on DSM 5.0-4458.

@jdierkse
Copy link
Author

@schumi2004 I first would like to see whether I can compile TvHeadend with transcoding support for Synology, but it looks very interesting! Can TvHeadend use ComSkip?

@schumi2004
Copy link
Contributor

What would be the benefit of adding transcode to TVH?
About comskip, comskip itself is more a standalone app triggerd by a post-processing script in TVH http://forum.xbmc.org/showthread.php?tid=150084&pid=1400001#pid1400001
It generates a EDL file which XBMC can use to skip commercials, should also be possible to do it on the fly but not yet tested it.

@jdierkse
Copy link
Author

@schumi2004: transcoding would allow one to send channels in a lower resolution than the raw stream, which would enable one to watch tv over lower bandwidth connections.
I'll put ComSkip on my todo-list :)

@schumi2004
Copy link
Contributor

@jdierkse ok cool.
Did you contact @adamsutton already for your transcoding idea?

@jdierkse
Copy link
Author

@schumi2004 Not yet, but transcoding is already an option in TvHeadend as far as I know.

@Smiggel
Copy link

Smiggel commented Apr 30, 2014

@jdierkse works fine on DSM 5! Thanks for the great work!

@Dr-Bean Dr-Bean assigned piwi82 and unassigned piwi82 Apr 30, 2014
@gebruikerh
Copy link

Hi jdierkse, thank for the effort. But could you also get it work for the HDHR3-4DC (4 tuner bvd-c).
I can see it tvheadend...but not with correct tuners.. The same problem as I had with DSM 4.

@jdierkse
Copy link
Author

jdierkse commented May 1, 2014

@gebruikerh can you post the ouput of hdhomerun_config discover?

@permster
Copy link

permster commented May 1, 2014

Is there a package for the mv6282 (Armada 300)? I would be glad to test it out. I'm on DSM 5.

@jdierkse
Copy link
Author

jdierkse commented May 1, 2014

@permster I guess the 88f6281 package should work for you.

@TonVH
Copy link

TonVH commented May 1, 2014

Hope someone can help. Trying to get TVheadend working on a DS414 with DSM v5.

I installed the HDhomerun driver (ArmadaXP) from http://syno.dierkse.nl/ then installed TVheadend. Now when I start TVheadend from the icon on the TopLeft of the DSM Desktop then I get an error saying page "http://192.168.1.222:5000/webman/3rdparty/tvheadend/tvheadend.cgi" does not exist.

If I start from "http://192.168.1.222:9981/extjs.html" then I get the correct TVheadend window. Next I go to "Configuration/TV Adapters" but the dropdown contains nothing.

How do I proceed or where can I find instructions on this?

@jdierkse
Copy link
Author

jdierkse commented May 1, 2014

@antoniong, does /var/log/messages show any error messages, or perhaps running dmesg shows some errors?

@TonVH
Copy link

TonVH commented May 1, 2014

@jdierkse:
I do not really know what to look for so I restarted my NAS and put the log in here http://pastebin.com/Hs3h95ak I can see a lot of error messages "hot plug.c ....... failed to get ....." at 10:04:25 probably not important.

At 10:01:22 there are many messages pertaining to the HDHR but I see no problems there.

More important probably is at 10:04:39 "about experimental version, older and more". Also at 10:05:25 there are 4 messages (I have 2 HDHR3) "TVheadend .... (no such device)"

Dmesg shows no errors:

"[ 295.787203] hdhomerun: creating dvb device for 1220E3D6-1
[ 295.818558] DVB: registering new adapter (HDHomeRun)
[ 295.836138] HDHomeRun HDHomeRun.3: DVB: registering adapter 3 frontend 0 (HDHomeRun DVB-C 1220E3D6-1)...
[ 295.882571] HDHomeRun3: DVB Frontend registered
[ 295.887203] HDHomeRun3: Registered DVB adapter3
[ 295.920835] hdhomerun: device /dev/hdhomerun_data3 created
[ 295.960126] hdhomerun: userhdhomerun connected"
4 times this for each channel.

@jdierkse
Copy link
Author

jdierkse commented May 1, 2014

@antoniong, It seems like you're starting TvHeadend (probably automatically) before you're starting the HDHomeRun driver. Try stopping TvHeadend and restarting, and re-check for errors.

@TonVH
Copy link

TonVH commented May 1, 2014

Stopped TVheadend and restarted it. get these error messages:

May 1 10:14:40 DS414 tvheadend[10677]: HTTP: 192.168.1.111: /extjs.html -- 401
May 1 10:25:53 DS414 afpd[18645]: [afp_dsi.c:791-E] bad function 7A
May 1 10:30:53 DS414 afpd[18645]: [afp_dsi.c:429-E] afp_alarm: child timed out, entering disconnected state
May 1 10:45:14 DS414 tvheadend[22443]: dvb: /dev/dvb/adapter0/frontend0: unable to query (err=Invalid argument)
May 1 10:45:14 DS414 tvheadend[22443]: dvb: /dev/dvb/adapter1/frontend0: unable to open (err=No such device)
May 1 10:45:14 DS414 tvheadend[22443]: dvb: /dev/dvb/adapter2/frontend0: unable to open (err=No such device)
May 1 10:45:14 DS414 tvheadend[22443]: dvb: /dev/dvb/adapter3/frontend0: unable to open (err=No such device)
May 1 10:45:14 DS414 tvheadend[22443]: dvr: Output directory for video recording is not yet configured for DVR configuration "". Defaulting to to "/usr/local/tvheadend/var". This can be changed from the web user interface.
May 1 10:45:19 DS414 tvheadend[22443]: HTTP: 192.168.1.111: / -- 401

"bad function 7a" could be the culprit? I checked tvheadend.org but found no list of error messages there.

@jdierkse
Copy link
Author

jdierkse commented May 1, 2014

@antoniong, Is the HDHomeRun package started? Do the HDHomeRun kernel modules turn up when you run lsmod? Are there any userhdhomerun processes running?

@TonVH
Copy link

TonVH commented May 1, 2014

I turned off TVheadend and HDHomerun. Restarted HDHR then TVheadend. There is still nothing in the drop down. There is a proces "userhdhomerun" present but in sleepmode.

Messages contains:

May 1 11:09:36 DS414 kernel: [ 4148.155697] dvb_core: Unknown symbol refrigerator (err 0)
May 1 11:09:37 DS414 kernel: [ 4148.841319] hdhomerun: dvb device for this tuner already exists, ignore request 1220A78E-0
May 1 11:09:37 DS414 kernel: [ 4148.859666] hdhomerun: dvb device for this tuner already exists, ignore request 1220A78E-1
May 1 11:09:37 DS414 kernel: [ 4148.878826] hdhomerun: dvb device for this tuner already exists, ignore request 1220E3D6-0
May 1 11:09:37 DS414 kernel: [ 4148.897270] hdhomerun: dvb device for this tuner already exists, ignore request 1220E3D6-1
May 1 11:09:51 DS414 tvheadend[32364]: dvb: /dev/dvb/adapter0/frontend0: unable to query (err=Invalid argument)
May 1 11:09:51 DS414 tvheadend[32364]: dvb: /dev/dvb/adapter1/frontend0: unable to open (err=No such device)
May 1 11:09:51 DS414 tvheadend[32364]: dvb: /dev/dvb/adapter2/frontend0: unable to open (err=No such device)
May 1 11:09:51 DS414 tvheadend[32364]: dvb: /dev/dvb/adapter3/frontend0: unable to open (err=No such device)
May 1 11:09:51 DS414 tvheadend[32364]: dvr: Output directory for video recording is not yet configured for DVR configuration "". Defaulting to to "/usr/local/tvheadend/var". This can be changed from the web user interface.

Dmesg contains:

[ 3950.743177] hdhomerun: userhdhomerun disconnected
[ 3950.748557] hdhomerun: userhdhomerun disconnected
[ 3950.753287] hdhomerun: userhdhomerun disconnected
[ 3950.758321] hdhomerun: userhdhomerun disconnected
[ 3950.763049] hdhomerun: userhdhomerun disconnected
[ 4148.155697] dvb_core: Unknown symbol refrigerator (err 0)
[ 4148.826724] hdhomerun: userhdhomerun connected
[ 4148.831284] hdhomerun: userhdhomerun connected
[ 4148.835829] hdhomerun: creating dvb device for 1220A78E-0
[ 4148.841319] hdhomerun: dvb device for this tuner already exists, ignore request 1220A78E-0
[ 4148.849736] hdhomerun: userhdhomerun connected
[ 4148.854200] hdhomerun: creating dvb device for 1220A78E-1
[ 4148.859666] hdhomerun: dvb device for this tuner already exists, ignore request 1220A78E-1
[ 4148.868847] hdhomerun: userhdhomerun connected
[ 4148.873384] hdhomerun: creating dvb device for 1220E3D6-0
[ 4148.878826] hdhomerun: dvb device for this tuner already exists, ignore request 1220E3D6-0
[ 4148.887342] hdhomerun: userhdhomerun connected
[ 4148.891836] hdhomerun: creating dvb device for 1220E3D6-1
[ 4148.897270] hdhomerun: dvb device for this tuner already exists, ignore request 1220E3D6-1
[ 4148.905716] hdhomerun: userhdhomerun connected

@jdierkse
Copy link
Author

jdierkse commented May 1, 2014

@antoniong, the dvb device for this tuner already exists, ignore request puzzle me. After stopping the HDHomeRun package, are there still any dvb modules loaded?

@Trippleblack
Copy link

@zzo : don't think it is a lame question. Just tried to do so but no luck.

I have a DS415+ (DSM .1) and would really like to install the HDH driver OR the TVH which includes it.

Where do I start?

@Smiggel
Copy link

Smiggel commented Mar 18, 2015

@Trippleblack Add http://syno.dierkse.nl to your package sources in the nas. The latest TVH with the HDH driver included can be installed.

@Trippleblack
Copy link

WOW, perfect!

It is installed and sees the hdhomerun tuner, looks great so far, many thanks!

@lemsayblam
Copy link

Thanks for your comment @Smiggel just got HDHomerun in the mail and was able to get my 215J to recognize it. Thanks @jdierkse

@prdubois
Copy link

prdubois commented May 2, 2015

I got the error "Failed to install Tvheadend-testing" on my 215j with DSM 5.1-5022 Update 5.

@Smiggel
Copy link

Smiggel commented Jun 25, 2015

Anyone else here who is having EPG problems? Since the last update, my EPG is not fully loading anymore. It always seems to stop with programs that are aired between 1am and 6 am. All programs before and after that are loaded normally.

Also Kodi can not load the EPG data correctly anymore. EPG stays empty.

@schumi2004
Copy link
Contributor

Noticed it also but only once.
I also doubt this is a HDHomerun thing, i would blame TVH for this.

@Smiggel
Copy link

Smiggel commented Jun 25, 2015

@schumi2004 I think it's TVH too. It worked fine all the time. Ever since I upgraded to the latest package it's not working correctly. Also can not downgrade without having to delete all my settings. :-(

[Update] Created an issue on tvheadend.org.

@KlausStoertebeker
Copy link

Help!
I'm newbee to this and I just want to know where I can download ready-build spk's for my DS213air (look here for more details: http://forum.synology.com/wiki/index.php/What_kind_of_CPU_does_my_NAS_have).
I'm running System DSM5.2 (latest version)

@IamDan77
Copy link

Hey guys Im having an issue where my NAS wont find my 2 HDHomeruns. Ive tried installing the HDHomerun package but it fails to start.

It was working flawlessly and now this!! Any ideas?

NAS> /var/packages/hdhomerun/scripts/start-stop-status start
Starting ...
mknod: /dev/dvb/adapter0/demux0: File exists
mknod: /dev/dvb/adapter0/dvr0: File exists
mknod: /dev/dvb/adapter0/frontend0: File exists
mknod: /dev/dvb/adapter0/net0: File exists
mknod: /dev/dvb/adapter1/demux0: File exists
mknod: /dev/dvb/adapter1/dvr0: File exists
mknod: /dev/dvb/adapter1/frontend0: File exists
mknod: /dev/dvb/adapter1/net0: File exists
mknod: /dev/dvb/adapter2/demux0: File exists
mknod: /dev/dvb/adapter2/dvr0: File exists
mknod: /dev/dvb/adapter2/frontend0: File exists
mknod: /dev/dvb/adapter2/net0: File exists
mknod: /dev/dvb/adapter3/demux0: File exists
mknod: /dev/dvb/adapter3/dvr0: File exists
mknod: /dev/dvb/adapter3/frontend0: File exists
mknod: /dev/dvb/adapter3/net0: File exists
mknod: /dev/dvb/adapter4/demux0: File exists
mknod: /dev/dvb/adapter4/dvr0: File exists
mknod: /dev/dvb/adapter4/frontend0: File exists
mknod: /dev/dvb/adapter4/net0: File exists
mknod: /dev/dvb/adapter5/demux0: File exists
mknod: /dev/dvb/adapter5/dvr0: File exists
mknod: /dev/dvb/adapter5/frontend0: File exists
mknod: /dev/dvb/adapter5/net0: File exists
mknod: /dev/dvb/adapter6/demux0: File exists
mknod: /dev/dvb/adapter6/dvr0: File exists
mknod: /dev/dvb/adapter6/frontend0: File exists
mknod: /dev/dvb/adapter6/net0: File exists
mknod: /dev/dvb/adapter7/demux0: File exists
mknod: /dev/dvb/adapter7/dvr0: File exists
mknod: /dev/dvb/adapter7/frontend0: File exists
mknod: /dev/dvb/adapter7/net0: File exists
insmod: can't insert '/usr/local/hdhomerun/bin/dvb-core.ko': invalid module format
insmod: can't insert '/usr/local/hdhomerun/bin/dvb_hdhomerun_core.ko': invalid module format
insmod: can't insert '/usr/local/hdhomerun/bin/dvb_hdhomerun_fe.ko': invalid module format
insmod: can't insert '/usr/local/hdhomerun/bin/dvb_hdhomerun.ko': invalid module format
Unable to detect hdhomerun_control inside /proc/misc.
chmod: /dev/hdhomerun_control: No such file or directory
chown: /dev/hdhomerun_control: No such file or directory
Unable to detect hdhomerun_data inside /proc/devices.
chmod: /dev/hdhomerun_data_: No such file or directory
chown: /dev/hdhomerun_data_: No such file or directory
NAS>

NAS> dmesg | grep hdhomerun -i
[ 1916.548068] dvb_hdhomerun_core: version magic '3.2.40 SMP mod_unload ' should be '3.10.35 SMP mod_unload '
[ 1916.560390] dvb_hdhomerun_fe: version magic '3.2.40 SMP mod_unload ' should be '3.10.35 SMP mod_unload '
[ 1916.573524] dvb_hdhomerun: version magic '3.2.40 SMP mod_unload ' should be '3.10.35 SMP mod_unload '
[ 2052.306982] dvb_hdhomerun_core: version magic '3.2.40 SMP mod_unload ' should be '3.10.35 SMP mod_unload '
[ 2052.318722] dvb_hdhomerun_fe: version magic '3.2.40 SMP mod_unload ' should be '3.10.35 SMP mod_unload '
[ 2052.330238] dvb_hdhomerun: version magic '3.2.40 SMP mod_unload ' should be '3.10.35 SMP mod_unload '
[ 2058.837951] dvb_hdhomerun_core: version magic '3.2.40 SMP mod_unload ' should be '3.10.35 SMP mod_unload '
[ 2058.849747] dvb_hdhomerun_fe: version magic '3.2.40 SMP mod_unload ' should be '3.10.35 SMP mod_unload '
[ 2058.861684] dvb_hdhomerun: version magic '3.2.40 SMP mod_unload ' should be '3.10.35 SMP mod_unload '
[ 2065.744902] dvb_hdhomerun_core: version magic '3.2.40 SMP mod_unload ' should be '3.10.35 SMP mod_unload '
[ 2065.757840] dvb_hdhomerun_fe: version magic '3.2.40 SMP mod_unload ' should be '3.10.35 SMP mod_unload '
[ 2065.770088] dvb_hdhomerun: version magic '3.2.40 SMP mod_unload ' should be '3.10.35 SMP mod_unload '
[ 2558.634792] dvb_hdhomerun_core: version magic '3.2.40 SMP mod_unload ' should be '3.10.35 SMP mod_unload '
[ 2558.647728] dvb_hdhomerun_fe: version magic '3.2.40 SMP mod_unload ' should be '3.10.35 SMP mod_unload '
[ 2558.660015] dvb_hdhomerun: version magic '3.2.40 SMP mod_unload ' should be '3.10.35 SMP mod_unload '
[ 2566.869598] dvb_hdhomerun_core: version magic '3.2.40 SMP mod_unload ' should be '3.10.35 SMP mod_unload '
[ 2566.882275] dvb_hdhomerun_fe: version magic '3.2.40 SMP mod_unload ' should be '3.10.35 SMP mod_unload '
[ 2566.895533] dvb_hdhomerun: version magic '3.2.40 SMP mod_unload ' should be '3.10.35 SMP mod_unload '

@Peter-77
Copy link

Did you upgrade to DSM 6.0?

@IamDan77
Copy link

DSM 5.2-5644 Update 1

@Smiggel
Copy link

Smiggel commented Nov 17, 2015

Hmmm sounds strange that is suddenly stopped working. If you restart the hdhomerun?

@IamDan77
Copy link

Restarted everything NAS, switches, router, tuners, htpc.
Unfortunately my linux skills are not that good and cant make out much from the outputs above.
I have even deleted both the hdhomerun and tvheadend packages and re-installed (with the hdhomeun package unable to run)

@asmaras
Copy link

asmaras commented Nov 17, 2015

Tvheadend has hdhomerun support built in. So you don't need the hdhomerun package anymore. Could you try without it? Maybe you need manually to remove the kernel modules as described in one of the posts above, over a year ago

@IamDan77
Copy link

OK so remove them then re-install tvheadend?

@asmaras
Copy link

asmaras commented Nov 17, 2015

Yes. Note that you need tvheadend 4.0 or newer. I use the latest version from syno.dierkse.com with hdhomerun tuners and I'm very happy about it.

Another note about the latest tvheadend testing version: you might want to disable "use running state" in the recorder settings, if your recordings are incomplete. This is a new feature that doesn't work on all providers. Just some free advice ;-)

@IamDan77
Copy link

OK dumb noob question Ive had a poke around and uninstalled hdhomerun and tvheadend. Ive reinstalled just tvheadend but it still wont find my 2 hdhomeruns. Could one of the guru's here please guide me through it?

@Smiggel
Copy link

Smiggel commented Nov 17, 2015

Just add syno.dierkse.com to your package center in the NAS.

Then you will see tvheadend-testing as an version you can download and install. His version has the hdhomerun driver build into it.

That should work.

@IamDan77
Copy link

I have installed HTS Tvheadend 4.1.988 from the syno.dierkse.com repo. I had it working (the previous version) without issue untill yesterday when the NAS had an unexpected shutdown. TVHeadend or video station will no longer find either of my homeruns. I also have a usb realtek tuner in the mix and tvheadend and video station find that ok.
So im deducing there is an issue with the hdhomerun driver? but how to repair it i have no idea!

@IamDan77
Copy link

Does TVHeadend leave any traces behind when I uninstall? Are there any folders/files I need to delete to get a completely clean install?

@asmaras
Copy link

asmaras commented Nov 18, 2015

Actually, if videostation can't find your hdhomeruns, I think you have a different problem. Can you find them using the config gui tool on a windows pc? You can download the setup from the silicondust website

@IamDan77
Copy link

Yes the hdhomeruns work perfectly with any windows or mac software i have thrown at it. Including the hdhomerun software. Its just the NAS that will not see them!
Again is there anyway to check the drivers or completely remove any existing footprint of tvheadend?
Both homeruns worked perfectly with tvheadend on the NAS prior to this (3 days ago)

@Smiggel
Copy link

Smiggel commented Dec 13, 2015

Beware when upgrading. 4.1.988 (ArmadaXP) is running fine.

The latest package 4.1.1207 does not start when you update to this version.

When doing a clean install, you have to set a username and password for the default account. No matter what username and password you set, you can not login after that. :-(

Had to downgrade yesterday to .988. Bad thing is that I had to manually restore all my settings as there is nog easy way to backup and restore the settings.

@tocks53
Copy link

tocks53 commented Dec 23, 2015

hello, can you help me the driver is not compil for my arch : avolon on 1815+

Can you compil the driver please ?

@jonskoglund
Copy link

Can anyone verify if the HDHomeRun 4DC works with DS414? Diskstation is running DSM 5.2-5644 Update 1. Tried installing HDHomeRun 1.0.1-1 but the package doesn't run after installation. Do I really need to install this or does it come with compatible drivers included?

@helio58
Copy link

helio58 commented Apr 17, 2016

Hi, Using a sinology 415play , yesterday update to DSM6.0 , update tvheadend-testing to 4.1.1898-1 and -2.Using tvheadend with HDhomerun.
Axess the webpage , try to change Configuration DVB Inputs the page came up but just the word "TV adapters". And as soon as i open this page tvheadend crashes.
Try to look at the log file, but no data.
I can use tvheadend-testing just now but unable to add a mux. Please is there a way to solve this? Thanks

@Dr-Bean
Copy link
Contributor

Dr-Bean commented Apr 17, 2016

@helio58 We do not provide a tvheadend-testing package, or a hdhomerun package for that matter. Report your problems to the person/repository where you got the package(s) from.

@Dr-Bean
Copy link
Contributor

Dr-Bean commented Apr 17, 2016

On that note, I'm going to close this issue.
@jdierkse It looks like you're maintaining your own package repository. That's fine, but then I guess this particular issue won't be going anywhere. Feel free to open a PR if you reconsider.

@Dr-Bean Dr-Bean closed this as completed Apr 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests