Eurocardsharing

Go Back   Eurocardsharing > Sharing receivers > VDR and Kaffeine

VDR and Kaffeine Discussion, Vdr now sasc-ng and cccam. at Sharing receivers forum; Hy all. Ok here is my litle tut for vdr-sc with cccam. I only have oane budget card skystar hd ...

Reply
 
LinkBack Thread Tools Display Modes
Old
  (#11)
lucx
Junior Member
 
lucx's Avatar
 
Offline
Posts: 23

Level: 3 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Life: 0 / 63
Magic: 7 / 1875
Experience: 52%

Thanks: 0
Thanked 3 Times in 3 Posts
Join Date: Oct 2007
30-May-2008, 17:44

Hy all.

Ok here is my litle tut for vdr-sc with cccam.
I only have oane budget card skystar hd aka tt3200 so I skiped part with dchroot and no use of sasc-ng only vdr-sc.

Download the RapidShare: 1-Click Webhosting arhive.
1.download recent vdr-sc 0.9 or curent hg.
2.Apply CCcam-sasc-ng0.3.diff on vdr-sc source is patch -p5 or -p4 because is without sasc.
3. Open /vdr-sc/systems/cardclient/cccam.c and edit this line:

sprintf(camdsock,"/var/emu/chroot%d/tmp/camd.socket",cardnum);

with

sprintf(camdsock,"/tmp/camd.socket",cardnum);

it must be edited because of no use of dchroot.

4. Copy CCcam.x86 to /var/emu
5. Copy ca.c to /var/emu
6. compile ca.c
cd /var/emu/
gcc -O -fbuiltin -fomit-frame-pointer -fPIC -shared -o ca.so ca.c -ldl
7. copy CCcam.cfg to /var/etc
8. copy SoftCam.key to /var/keys
9. I kep my vdr config in /etc so then edit /etc/vdr/plugins/sc/cardclient.conf an add this line : cccam:127.0.0.1:9000:0/0123/F000
10 . copy run.sh from CCcam-sasc-ng.0.3.tar.gz to /var/emu

Compile vdr plugins start vdr then run run.sh from /var/emu and taaada, is working perfectly, I don't have an cccam server to test with I tested cccam with keys if some one want to share an line to test ok if not ok :).

Don't forget to make CCcam.x86 and /var/emu/run.sh chmod a+x.
   
Reply With Quote
The Following User Says Thank You to lucx For This Useful Post:
marvin (31-May-2008)
Old
  (#12)
fuzzybear
Junior Member
 
fuzzybear's Avatar
 
Offline
Posts: 2

Level: 1 [♥ Bé-Yêu ♥]
Life: 0 / 0
Magic: 0 / 22
Experience: 2%

Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Nov 2006
31-May-2008, 00:39

Rapidshare link is not working, is this the same package as provided by rd250lc ?


Mod @ Reelbox4all
Betatester @ RMMUK
   
Reply With Quote
Sponsored Links
Old
  (#13)
john_the_rip
Junior Member
 
john_the_rip's Avatar
 
Offline
Posts: 4

Level: 1 [♥ Bé-Yêu ♥]
Life: 0 / 5
Magic: 1 / 152
Experience: 21%

Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: May 2008
31-May-2008, 01:51

i have found only vdr-sc 0.8.6, is it woking anything?
Rapidshare link don't work...update linkz please
   
Reply With Quote
Old
  (#14)
lucx
Junior Member
 
lucx's Avatar
 
Offline
Posts: 23

Level: 3 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Life: 0 / 63
Magic: 7 / 1875
Experience: 52%

Thanks: 0
Thanked 3 Times in 3 Posts
Join Date: Oct 2007
31-May-2008, 11:35

Hy

"Rapidshare link is not working, is this the same package as provided by rd250lc ?"
Yes it is here the link:
RapidShare: 1-Click Webhosting

"i have found only vdr-sc 0.8.6, is it woking anything?
Rapidshare link don't work...update linkz please"

I think is ok, here is the last vdr-sc : hg clone http://85.17.209.13:6100/sc
You must have mercurial - on gentoo linux "emerge mercurial"

And when you will patch vdr-sc you will get some rejects on *.po files, but its ok that are languge files.

succes.
   
Reply With Quote
Some stupit questions about the Tutorial
Old
  (#15)
mystal
Junior Member
 
mystal's Avatar
 
Offline
Posts: 1

Level: 1 [♥ Bé-Yêu ♥]
Life: 0 / 0
Magic: 0 / 0
Experience: 0%

Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: May 2008
Some stupit questions about the Tutorial - 31-May-2008, 18:08

Hi,

Thanks a lot for the tutorial! Since I'm a real novice in the linux world I need some help :-) and please excuse the stupid questions. I have a TechnoTrend S2-3200 and I download the vdr-sc from http://85.17.209.13:6100/sc.
  • How do I apply the patch CCcam-sasc-ng0.3.diff to the vdr-sc source?
  • I tried to find the file cccam.c but I could locate that, do I need to download something more?


Thanks again
Mystal
   
Reply With Quote
Old
  (#16)
lucx
Junior Member
 
lucx's Avatar
 
Offline
Posts: 23

Level: 3 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Life: 0 / 63
Magic: 7 / 1875
Experience: 52%

Thanks: 0
Thanked 3 Times in 3 Posts
Join Date: Oct 2007
31-May-2008, 18:57

Quote:
Originally Posted by mystal View Post
Hi,

Thanks a lot for the tutorial! Since I'm a real novice in the linux world I need some help :-) and please excuse the stupid questions. I have a TechnoTrend S2-3200 and I download the vdr-sc from http://85.17.209.13:6100/sc.
  • How do I apply the patch CCcam-sasc-ng0.3.diff to the vdr-sc source?
  • I tried to find the file cccam.c but I could locate that, do I need to download something more?


Thanks again
Mystal
Hy.

cd to vdr-sc sorce directory , then do "patch -p* < /path to CCCcam-sasc-ng0.3.diff and "*" will be 1,2,3,4,5,6,7,8 on my system was -p5.
Afther you will aply the patch wil make cccam.c "the patch it self make that file"

Cheers Lucian.
   
Reply With Quote
Old
  (#17)
marvin
Special Friends
 
marvin's Avatar
 
Offline
Posts: 476

Level: 20 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Life: 0 / 479
Magic: 158 / 15584
Experience: 19%

Thanks: 70
Thanked 170 Times in 119 Posts
Join Date: Nov 2006
31-May-2008, 23:27

Hey lucx, feel like writing a gentoo emerge for this? :->

This is what I have at the moment:

(For those who don't know - create a portage overlay in say /usr/local/portage
mkdir media-plugins
cd media-plugins
mkdir vdr-sc
cd vdr-sc
mkdir files
stick this file in as vdr-sc-0.9.0.ebuild
ebuild vdr-sc-0.9.0 manifest

emerge vdr-sc

will get you vdr-sc on a 1.6 version of vdr.
Code:
# Copyright 1999-2007 Warez Incorporated
# Distributed under the terms of the GNU General Public License v2
# $Header: $

RESTRICT="mirror strip"

inherit vdr-plugin

DESCRIPTION="VDR plugin: softcam"
HOMEPAGE="http://vdr.bluox.org"
SRC_URI="http://vdr.bluox.org/download/vdr-sc/${P}.tar.gz
        http://207.44.152.197/${P}.tar.gz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"
IUSE="firmware"

DEPEND=">=media-video/vdr-1.6.0
        dev-libs/openssl
        firmware? ( media-tv/sc-dvb-firmware )"

src_unpack() {
    vdr-plugin_src_unpack

    fix_vdr_libsi_include systems/viaccess/tps.c
    fix_vdr_libsi_include systems/viaccess/viaccess.c

    sed -i Makefile.system \
        -e "s:^LIBDIR.*$:LIBDIR = ${S}:"

    sed -i Makefile \
        -e "s:/include/vdr/config.h:/config.h:" \
        -e "s:-march=\$(CPUOPT)::" \
        -e "s:\$(CSAFLAGS):\$(CXXFLAGS):" \
        -e "s:ci.c:ci.h:" \
        -e "s:include/vdr/i18n.h:i18n.h:"
}

src_install() {
    vdr-plugin_src_install

    insinto usr/$(get_libdir)/vdr/plugins
    doins ${S}/libsc*

    diropts -gvdr -ovdr
    keepdir /etc/vdr/plugins/sc
}


Gentoo Linux - Nexus-s, Linux VDR - 2 x ATSC HD cards, Hauppauge PVR 500 for analog US Cable, 3 x Hauppauge MVP's running Vomp on VDR, UK TV on IPTV.

Not a single sat dish at the moment. :-(
   
Reply With Quote
Old
  (#18)
lucx
Junior Member
 
lucx's Avatar
 
Offline
Posts: 23

Level: 3 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Life: 0 / 63
Magic: 7 / 1875
Experience: 52%

Thanks: 0
Thanked 3 Times in 3 Posts
Join Date: Oct 2007
01-June-2008, 09:11

Hy Marvin.

Good work man.

Cheers.
   
Reply With Quote
Old
  (#19)
marvin
Special Friends
 
marvin's Avatar
 
Offline
Posts: 476

Level: 20 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Life: 0 / 479
Magic: 158 / 15584
Experience: 19%

Thanks: 70
Thanked 170 Times in 119 Posts
Join Date: Nov 2006
01-June-2008, 09:19

Yeh, but it's just vanilla vdr-sc

It would be good to adjust it to have the cccam patch.


Gentoo Linux - Nexus-s, Linux VDR - 2 x ATSC HD cards, Hauppauge PVR 500 for analog US Cable, 3 x Hauppauge MVP's running Vomp on VDR, UK TV on IPTV.

Not a single sat dish at the moment. :-(
   
Reply With Quote
Old
  (#20)
lucx
Junior Member
 
lucx's Avatar
 
Offline
Posts: 23

Level: 3 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Life: 0 / 63
Magic: 7 / 1875
Experience: 52%

Thanks: 0
Thanked 3 Times in 3 Posts
Join Date: Oct 2007
01-June-2008, 11:26

Hy.

I did not make ebuilds til now, but from what i see when i instaled an ebuild i so that some ebuilds did aply some patches to, maybe you can modify yours put the patch in ebuild arhive and aply in ebuild. Like this :


# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-reelchannelscan/vdr-reelchannelscan-0.4.3-r3.ebuild,v 1.1 2007/11/21 10:33:13 zzam Exp $

inherit vdr-plugin eutils

DESCRIPTION="vdr Plugin: Channel Scanner"
HOMEPAGE="http://www.reel-multimedia.com"
SRC_URI="mirror://gentoo/${P}.tgz
http://dev.gentoo.org/~zzam/distfiles/${P}.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=">=media-video/vdr-1.3.18"

pkg_setup(){
vdr-plugin_pkg_setup

if ! grep -q scanning_on_receiving_device /usr/include/vdr/device.h; then
ewarn "your vdr needs to be patched to use vdr-channelscan"
die "unpatched vdr detected"
fi
}

src_unpack() {
vdr-plugin_src_unpack unpack
cd "${S}"
epatch "${FILESDIR}/${PV}/default-source-if-no-channel-set.diff"
epatch "${FILESDIR}/${PV}/device-numbering.diff"
epatch "${FILESDIR}/${PV}/i18n.diff"
epatch "${FILESDIR}/${PV}/gentoo.diff"
epatch "${FILESDIR}/${PV}/vdr-1.5.10.diff"

fix_vdr_libsi_include filter.[ch]
vdr-plugin_src_unpack all_but_unpack
}

src_install() {
vdr-plugin_src_install

cd "${S}"/transponders
insinto /usr/share/vdr/reelchannelscan/transponders
doins *.tpl
}


And will be nicer if you put the CCCcam files in ebuild.
But I think the patch must be cut a litle bit on *.po part , i don't know how will manifest if gets errors during installing.
And even nicer if you make 2 ebuilds , oane for single card and oane with depend on dchroot for multiple.
If you need help just pm me with what you need on work part.
   
Reply With Quote
The Following User Says Thank You to lucx For This Useful Post:
ozIII (15-April-2009)
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump



ECS on RSS ECS on Twitter ECS on Facebook ECS on Youtube
Follow us on:

Powered by vBulletin
Copyright 2002 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
Dreambox