merlincs

DVB Driver Requests / Issues

Recommended Posts

Hello,

 

UPDATE:

I successfully build saa716x_budget kernel modules needed for my Technisat Skystar Express PCIe DVB-S2 card.

 

I did that directly on NAS with Debian Chroot and extracted bromolow toolchain + source.

 

Synology DSM 5.2 Tool Chain for bromolow filename "bromolow-gcc473_glibc217_x86_64-GPL.txz"

 

http://sourceforge.net/projects/dsgpl/files/DSM%20Beta%205.2%20Tool%20Chains/Intel%20x86%20Linux%203.10.35%20%28Bromolow%29/bromolow-gcc473_glibc217_x86_64-GPL.txz/download

 

Synology NAS GPL Source for bromolow filename "bromolow-source.txz"

 

http://sourceforge.net/projects/dsgpl/files/Synology%20NAS%20GPL%20Source/5565branch/bromolow-source.txz/download

 

Install Debian Chroot package https://synocommunity.com/

 

Download both .txz packages to your NAS share i.e. /volume1/public

 

SSH to your NAS and create public directory for mounting

mkdir /usr/local/debian-chroot/var/chroottarget/public

 

Mount your public share so chroot enviroment can see it

mount --bind /volume1/public/ /usr/local/debian-chroot/var/chroottarget/public

 

Start Debian Chroot

/var/packages/debian-chroot/scripts/start-stop-status chroot

 

Prepare your Debian Chroot enviroment

apt-get update
apt-get upgrade
apt-get install locales
dpkg-reconfigure locales
apt-get install build-essential libdigest-sha-perl patchutils libproc-processtable-perl git-core ncurses-dev

 

Extract both .txz archives to your folder /public/

tar Jxvf bromolow-gcc473_glibc217_x86_64-GPL.txz /public/
tar Jxvf bromolow-source.txz /public/

 

Create symlink for toolchain in /usr/local/ I used it for CROSS_COMPILE command maybe it is not needed and you can use directly /public/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu- for CROSS_COMPILE

ln -s /public/x86_64-pc-linux-gnu/ /usr/local/

 

Make directory /lib/modules/3.10.35/

cd /lib/modules/
mkdir 3.10.35
cd /lib/modules/3.10.35/

 

Create symlink for kernel source in /lib/modules/3.10.35/

ln -s /public/source/linux-3.10.x/ /lib/modules/3.10.35/

 

Rename kernel source symlink to build

mv /lib/modules/3.10.35/linux-3.10.x /lib/modules/3.10.35/build

 

Prepare your bromolow .config in kernel source

cp /lib/modules/3.10.35/build/synoconfigs/bromolow /lib/modules/3.10.35/build/bromolow
cd /lib/modules/3.10.35/build
make ARCH=x86_64 CROSS_COMPILE=/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu- menuconfig

 

Config screen should come choose "load" to load "bromolow" config you can put /usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu- in cross compile setting I did even I used it in every make command

save it on exit as .config

 

Run several "makes" to avoid issues later

make ARCH=x86_64 CROSS_COMPILE=/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu- oldconfig
make ARCH=x86_64 CROSS_COMPILE=/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu- prepare
make ARCH=x86_64 CROSS_COMPILE=/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu- modules_prepare

 

Now go back to our "public" directory and build the modules from ljalves media github

cd /public/
git clone https://github.com/ljalves/media_build.git
git clone --depth=1 https://github.com/ljalves/linux_media.git -b latest ./media
cd media_build
make ARCH=x86_64 CROSS_COMPILE=/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu- dir DIR=../media 
make ARCH=x86_64 CROSS_COMPILE=/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu- distclean
make ARCH=x86_64 CROSS_COMPILE=/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-

 

New kernel modules should be in /public/media_build/v4l/ folder. You can copy them somewhere and try to insmod them. You need to find the right order.

 

For my Technisat card I needed to insmod "media.ko" and "dvb-core.ko" first then my demod which is "stv090x.ko" then my tuner "stv6110x.ko" even other demods "tas2101.ko" and "cx24117.ko" this is to meet depends from saa716x, then "saa716x_core.ko" and last "saa716x_budget.ko" with parameter "int_type=1"

 

You can check .ko depends by running command modinfo i.e. modinfo saa716x_budget.ko

Edited by Guest

Share this post


Link to post
Share on other sites

I did the same, but using tbs closed drivers, and failed too.

Someone from development has to help, or we stuck here.

 

A have another computer just to use dvb+tvh, this on xpenology would be amazing.

Share this post


Link to post
Share on other sites

viewtopic.php?f=2&t=1361&start=630#p46229

 

see this post, it has all modules we need(at least me), to make dvb work, but, i put all files on my syno root, and it crasshed, didnt boot anymore.

i had to reinstall DSM.

 

im instaling an old computer just to test this again, maybe we can sort out where is the problem.

if you can help i apreciate.

Share this post


Link to post
Share on other sites

Is there possible to use TBS 6982 S2 and TBS 6281 T2?

 

How to i get it to work?

 

Can i use Tvheadend plugin or should i use Debian Choot?

Share this post


Link to post
Share on other sites

I think the drivers are compiled against syno kernel, download from the link on my post.

If you browse subfolders there is the modules we need. A just dont know the best way to install, and load them.

Share this post


Link to post
Share on other sites

Ljalves are opensource drivers, i think you can use close one from tbs, just install them as normal , it could be in a chroot instalation.

Share this post


Link to post
Share on other sites

Hi,

 

I was succesfull this time!!! You can try it as I added TBS modules aswell.

 

Put all .ko files from archive to /lib/modules/backports_dvb and after that execute the script "S10modules.sh" in terminal i.e. /opt/etc/init.d/S10modules.sh start

 

https://drive.google.com/file/d/0B4jnQiGWApjYNVpMVUt2TF9NaEE/view?usp=sharing

 

What I need to figure out this time is how to start that script on boot.

 

I tried loadmodules.conf in /etc/init + S10modules in /opt/etc/init.d/

 

I also tried to put S10modules (added .sh extension) in /usr/syno/etc/rc.d/ no luck :shock:

 

Anyone can help with this? How can I execute script to load modules on syno boot?

 

UPDATE:

Script in /usr/local/etc/rc.d is working thank you JMRR

Edited by Guest

Share this post


Link to post
Share on other sites

Gona try for shure.

 

You can put the script in /usr/local/etc/rc.d and its will start on boot.

Share this post


Link to post
Share on other sites

Will do later I spent whole day with it need rest

 

UPDATE: I edit first post and changed all my "please help me" posts with "Delete this post please!" If any admin reads this please delete them. Thank you!

Share this post


Link to post
Share on other sites

i instaled this modules and load them sucssefully, but the adapter doesent show in tvheadend, and in /dev/ doesent have /dvb directory.

 

can you help ?

 

i tried on latest version of dsm, is wath version do you have working?

Share this post


Link to post
Share on other sites

Hi, is it possible to add the driver dir an PCTV 461e DVB-S2 USB Stick? I habe a lot of disconnects with DVB Link TV Source.

 

DVB Link doesnt Support XPenology.

 

Trank you

 

 

Gesendet von iPhone mit Tapatalk

Share this post


Link to post
Share on other sites

Hi this is cool will try your modules once there is working 6.1 bootloader for AMD. Can you please let me know what DSM version/build do you use now with these new modules?

Thanks and Regards,

m.

Share this post


Link to post
Share on other sites
Can you please let me know what DSM version/build do you use now with these new modules?Thanks and Regards,

m.

 

Hi! DSM 6.1.1-15101 Update 4

  • Like 1

Share this post


Link to post
Share on other sites