Kodi Community Forum
HOW-TO Compile Tvheadend & HDHomerun on Synology NAS - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167)
+---- Forum: Tvheadend (https://forum.kodi.tv/forumdisplay.php?fid=168)
+---- Thread: HOW-TO Compile Tvheadend & HDHomerun on Synology NAS (/showthread.php?tid=141981)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35


RE: HOW-TO Compile Tvheadend & HDHomerun on Synology NAS - aisman - 2014-01-27

your /root/.profile must be original, without skripts of ipkg. On my DS411j i haven't bootstrap. You should understand that BASH is located in DC.


RE: HOW-TO Compile Tvheadend & HDHomerun on Synology NAS - Smiggel - 2014-01-27

(2014-01-27, 10:31)aisman Wrote: Do you have midnigt commander on NAS? If not - install it from SC.
Stop videostation.
Put archive of videostation to your folder on NAS.
in terminal type mc. Go to your folder, uncompress archive (F2).

Remove folder /volume1/@appstore/VideoStation/etc/KernelModules (F8)
Place KernelModules folder from uncompressed archive into /volume1/@appstore/VideoStation/etc/ (F5)

run VideoStation and reboot. After rebooting type in terminal: dmesg | grep dvb - and see on it Smile If will be errors or working of your HDHR is still not correct - remove videostation and we will go to downgrade Smile It's possible.

Done this. Same problem. Can see all muxes, and see al services. But tvheadend can not map them. Still nog bandwith.

Only option left is downgrading I guess.


RE: HOW-TO Compile Tvheadend & HDHomerun on Synology NAS - pepeEL - 2014-01-27

(2014-01-27, 11:40)aisman Wrote: your /root/.profile must be original, without skripts of ipkg. On my DS411j i haven't bootstrap. You should understand that BASH is located in DC.

I have original /root/.profile and it like this:
Code:
umask 022

PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin
export PATH

#This fixes the backspace when telnetting in.
#if [ "$TERM" != "linux" ]; then
#        stty erase
#fi

HOME=/root
export HOME

TERM=${TERM:-cons25}
export TERM

PAGER=more
export PAGER

PS1="`hostname`> "

alias dir="ls -al"
alias ll="ls -la"

And i have this:

Code:
login as: root
[email protected]'s password:


BusyBox v1.16.1 (2014-01-20 02:24:47 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Synology_DS713> chroot /volume1/@appstore/debian-chroot/var/chroottarget /bin/bash
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
root@Synology_DS713:/#



RE: HOW-TO Compile Tvheadend & HDHomerun on Synology NAS - aisman - 2014-01-27

and what you see? root@Synology_DS713:/# -- you are in DC! what's wrong?


RE: HOW-TO Compile Tvheadend & HDHomerun on Synology NAS - pepeEL - 2014-01-27

Why i have this warning: bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)


RE: HOW-TO Compile Tvheadend & HDHomerun on Synology NAS - aisman - 2014-01-27

(sudo) apt-get install locales xterm

(sudo) dpkg-reconfigure locales

(2014-01-27, 11:57)pepeEL Wrote: Why i have this warning: bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)

this is "warning", are you understand it? It's not error.


RE: HOW-TO Compile Tvheadend & HDHomerun on Synology NAS - pepeEL - 2014-01-27

OK
I try install tvheadend 3.9 on debian chroot on DS713+ with DSM 5 beta


RE: HOW-TO Compile Tvheadend & HDHomerun on Synology NAS - Smiggel - 2014-01-27

@aisman can you post the instructions on how to downgrade the nas from 5.0 to 4.3? :-)


RE: HOW-TO Compile Tvheadend & HDHomerun on Synology NAS - Cassiel - 2014-01-27

(2014-01-27, 12:04)Smiggel Wrote: @aisman can you post the instructions on how to downgrade the nas from 5.0 to 4.3? :-)

AFAIK downgrades aren't supported by Synology. There's also a warning message shown when updating over DSM…


RE: HOW-TO Compile Tvheadend & HDHomerun on Synology NAS - pepeEL - 2014-01-27

Apparently there are ways to downgrade...


RE: HOW-TO Compile Tvheadend & HDHomerun on Synology NAS - Smiggel - 2014-01-27

(2014-01-27, 12:14)Cassiel Wrote:
(2014-01-27, 12:04)Smiggel Wrote: @aisman can you post the instructions on how to downgrade the nas from 5.0 to 4.3? :-)

AFAIK downgrades aren't supported by Synology. There's also a warning message shown when updating over DSM…

I know it's not officially supported. But Aisman was able to downgrade. I want to downgrade too, as that is the only way I can make tvheadend work again.


RE: HOW-TO Compile Tvheadend & HDHomerun on Synology NAS - aisman - 2014-01-27

(2014-01-27, 12:04)Smiggel Wrote: @aisman can you post the instructions on how to downgrade the nas from 5.0 to 4.3? :-)

1. replace file /etc.defaults/*VERSION (for 5.0) from /etc/*VERSION (make shure /etc/*VERSION is for 4.3)

majorversion="4"
minorversion="3"
buildphase="release"
buildnumber="3810"
smallfixnumber="0"
builddate="2013/11/06"


Code:
cp /etc/*VERSION /etc.defaults/*VERSION
or via MC

don't reboot!

2. In web DSM manualy update 3810, then update-4 in control panel.
3. System will go to reboot, but it will be not start Smile its normal. Wait some time and turn of it.
4. Turn on NAS and via assist go to web DSM, choose "migration", install manualy 3810.pat, after boot install update-4 via web in control panel.


RE: HOW-TO Compile Tvheadend & HDHomerun on Synology NAS - Smiggel - 2014-01-27

(2014-01-27, 12:25)aisman Wrote:
(2014-01-27, 12:04)Smiggel Wrote: @aisman can you post the instructions on how to downgrade the nas from 5.0 to 4.3? :-)

1. replace file /etc.defaults/*VERSION (for 5.0) from /etc/*VERSION (make shure /etc/*VERSION is for 4.3)

majorversion="4"
minorversion="3"
buildphase="release"
buildnumber="3810"
smallfixnumber="0"
builddate="2013/11/06"


Code:
cp /etc/*VERSION /etc.defaults/*VERSION
or via MC

don't reboot!

2. In web DSM manualy update 3810, then update-4 in control panel.
3. System will go to reboot, but it will be not start Smile its normal. Wait some time and turn of it.
4. Turn on NAS and via assist go to web DSM, choose "migration", install manualy 3810.pat, after boot install update-4 via web in control panel.

Hmm looks scary. :-) I will give it a try tonight. Hope it works.


RE: HOW-TO Compile Tvheadend & HDHomerun on Synology NAS - aisman - 2014-01-27

is it for arm?
it was succesfully with 414 (armhf)
now going to try it with 411j (arm) and check working tvheadend with skystar on 5.0, then downgrade to 4.3


RE: HOW-TO Compile Tvheadend & HDHomerun on Synology NAS - Smiggel - 2014-01-27

(2014-01-27, 13:01)aisman Wrote: is it for arm?
it was succesfully with 414 (armhf)
now going to try it with 411j (arm) and check working tvheadend with skystar on 5.0, then downgrade to 4.3

In my case it's for an arm indeed. Have DS211+.

BTW. How long do I have to wait before I turn of the NAS and back on again?