News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Support for sasc-ng

Started by Xenu, June 10, 2007, 09:57:42 PM

Previous topic - Next topic

cirion

Quote from: niz23 on February 13, 2008, 09:56:56 PMDo we dare to a wiki page out of the info in the thread? (since it in a grey area)

Is it any worse to see paytv with a payed subscription through a cs to make it work, than to rip a Bluray/HD-DVD to view it?

niz23

Cirion.

Quote from: cirion on February 13, 2008, 10:58:27 PM
Quote from: niz23 on February 13, 2008, 09:56:56 PMDo we dare to a wiki page out of the info in the thread? (since it in a grey area)

Is it any worse to see paytv with a payed subscription through a cs to make it work, than to rip a Bluray/HD-DVD to view it?


Absolutely no.

However there is resistance towards cs solutions. Most of the times this type of solutions are discussed it end it with only silency.
Other people suggest private forums for further discussion.

I have creted a wiki page with some info about sasc-ng in. Feel free to edit and add more to it.
English is not my native language so things may read strange sometimes.

I will add more text inte this page as over time. Need to verify how to build sasc-ng without manual hacks first.

/niz23

hari

i think yes, we should be able to discuss technical topics freely. I don't see that as instruction to break the law. I don't know which laws you have to comply to. Everybody has to decide that on his own, according to local legislation.

The problem with CS is that a user (depending on local laws) probably does the following:
1.) Patent violation of the DVB standards
2.) Copyright violations (nagra rom, ...)
3.) Circumventing copy protection (wait, its a viewing protection)
4.) Breaking the contract with the pay tv provider

I think you should ask daniel if we could get troubles with the hosting if we publish that information. If we are not allowed we could make a "non-free" Wiki on some .RU server ;)

best regards,
Hari
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

Zaerc

Quote from: cirion on February 13, 2008, 05:56:53 PM...
What does ../../../ mean?
...

Glad to see you got it sorted, and thanks for adding it to the wiki as well.

Just to answer that question, each directory always has 2 special "sub"-directories: "." and ".." which stand for the current directory and the parent directory respectively, so ../../../ simply is the relative path for 3 directories up in this case.
"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]

cirion

Quote from: Zaerc on February 14, 2008, 08:38:18 PM
Glad to see you got it sorted, and thanks for adding it to the wiki as well.

I never got it sorted :( I have no idea on how to finish compiling this plugin.
If anyone is able to understand what is wrong please tell!

I'm still stopping at these to lines. I have no idea on what they mean:
cat: .distvers: No such file or directory
sed: can't read ../../../ci.c: No such file or directory

Is the error before or after these lines?

As posted earlier this is what I get:
linuxmce@dcerouter:~/sasc-ng/trunk$ sudo make
echo 'const char *source_version =' '"'`(svnversion /home/linuxmce/sasc-ng/trunk 2>/dev/null) || echo Unknown`/`(svnversion /home/linuxmce/sasc-ng/trunk/dvbloopback 2>/dev/null) || echo Unknown`'";' > .vers.new ; diff .vers.new objs/version.cpp > .vers.diff 2>&1 ; if test -s .vers.diff ; then mv -f .vers.new objs/version.cpp ; fi ; rm -f .vers.new .vers.diff
make -C ./sc/PLUGINS/src/sc-src  CXX=g++ SASC=1 STATIC=1 all
cat: .distvers: No such file or directory
sed: can't read ../../../ci.c: No such file or directory
make[1]: Entering directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src'
make[2]: Entering directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/cardclient'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/cardclient'
make[2]: Entering directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/conax'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/conax'
make[2]: Entering directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/constcw'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/constcw'
make[2]: Entering directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/cryptoworks'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/cryptoworks'
make[2]: Entering directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/irdeto'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/irdeto'
make[2]: Entering directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/nagra'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/nagra'
make[2]: Entering directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/sc-conax'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/sc-conax'
make[2]: Entering directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/sc-cryptoworks'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/sc-cryptoworks'
make[2]: Entering directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/sc-irdeto'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/sc-irdeto'
make[2]: Entering directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/sc-nagra'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/sc-nagra'
make[2]: Entering directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/sc-seca'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/sc-seca'
make[2]: Entering directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/sc-viaccess'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/sc-viaccess'
make[2]: Entering directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/sc-videoguard2'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/sc-videoguard2'
make[2]: Entering directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/seca'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/seca'
make[2]: Entering directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/shl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/shl'
make[2]: Entering directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/viaccess'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src/systems/viaccess'
make[1]: Leaving directory `/home/linuxmce/sasc-ng/trunk/sc/PLUGINS/src/sc-src'
g++ -g -Wall -o sasc-ng -Wl,-whole-archive ./sc/PLUGINS/lib/libsc-*.a -Wl,-no-whole-archive ./sc/PLUGINS/lib/libvdr-sc.a  objs/forward.o  objs/process_req.o  objs/msg_passing.o  objs/plugin_getsid.o  objs/plugin_ringbuf.o  objs/plugin_showioctl.o  objs/plugin_legacysw.o  objs/plugin_dss.o  objs/plugin_cam.o  objs/plugin_ffdecsa.o  objs/version.o  objs/misc.o  objs/dvbdevice.o  objs/osdbase.o  objs/menuitems.o  objs/device.o  objs/thread.o  objs/tools.o  objs/sasccam.o  objs/log.o  objs/vdrcompat.o  objs/libsi.a FFdecsa/FFdecsa.o -lpthread -lcrypto -lcrypt
linuxmce@dcerouter:~/sasc-ng/trunk$ 

Zaerc

Sorry my bad, it seemed to be solved...

Those errors mean that the build process can't find the files .distvers and ci.c.
"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]

cirion

Any tips on what to do about that?

rafik24

 Hi Cirion,

Those 3 error messages are just fine, the sasc-ng binary is made and fully usable with those errors,

next go to dvbloopback/src/module than make and copy the dvbloopback.ko modules to

   /lib/modules/`uname -r`/kernel/drivers/media/dvb/

add dvbloopback in the /etc/modules file than setup /etc/init.d/vdr to start sasc-ng before starting vdr


nite_man

Quote from: rafik24 on March 10, 2008, 02:20:31 PM
next go to dvbloopback/src/module than make and copy the dvbloopback.ko modules to

   /lib/modules/`uname -r`/kernel/drivers/media/dvb/

add dvbloopback in the /etc/modules file than setup /etc/init.d/vdr to start sasc-ng before starting vdr

Tried to do like that but modprob cannot find the module:

QuoteFATAL: Module dvbloopback not found.
Michael Stepanov,
My setup: [url="http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup"]http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup[/url]
Russian LinuxMCE community: [url="http://linuxmce.ru"]http://linuxmce.ru[/url]

Zaerc

Quote from: Michael on March 20, 2008, 10:03:02 AM
Quote from: rafik24 on March 10, 2008, 02:20:31 PM
next go to dvbloopback/src/module than make and copy the dvbloopback.ko modules to

   /lib/modules/`uname -r`/kernel/drivers/media/dvb/

add dvbloopback in the /etc/modules file than setup /etc/init.d/vdr to start sasc-ng before starting vdr

Tried to do like that but modprob cannot find the module:

QuoteFATAL: Module dvbloopback not found.

You probably have to run:depmod -a after copying the kernel module so the system knows about it.
"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]

nite_man

QuoteYou probably have to run:
Code:
depmod -a
after copying the kernel module so the system knows about it.

Excellent point, Zaerc. It works finally :)
Michael Stepanov,
My setup: [url="http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup"]http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup[/url]
Russian LinuxMCE community: [url="http://linuxmce.ru"]http://linuxmce.ru[/url]

cirion

I'm trying SASC-NG again...

But I am only getting errors... When I try to load the dvbloopback adapter I get this:
linuxmce@dcerouter:~/sasc-ng/trunk$ sudo modprobe dvbloopback
FATAL: Error inserting dvbloopback (/lib/modules/2.6.22-14-generic/kernel/drivers/media/dvb/dvbloopback.ko): Unknown symbol in module, or unknown parameter (see dmesg)

dmesg gives me this:
[ 2049.964000] dvbloopback: disagrees about version of symbol dvb_register_adapter
[ 2049.964000] dvbloopback: Unknown symbol dvb_register_adapter

Zaerc

Quote from: cirion on October 21, 2008, 02:57:58 PM
I'm trying SASC-NG again...

But I am only getting errors... When I try to load the dvbloopback adapter I get this:
linuxmce@dcerouter:~/sasc-ng/trunk$ sudo modprobe dvbloopback
FATAL: Error inserting dvbloopback (/lib/modules/2.6.22-14-generic/kernel/drivers/media/dvb/dvbloopback.ko): Unknown symbol in module, or unknown parameter (see dmesg)

dmesg gives me this:
[ 2049.964000] dvbloopback: disagrees about version of symbol dvb_register_adapter
[ 2049.964000] dvbloopback: Unknown symbol dvb_register_adapter


I reckon that kernel module was probably built for/against a different kernel version, or you're missing other modules/options.
"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]

cirion

Any tips on what I can do?

I have tried getting older versions of SASC-NG down to revision 167 and I am still getting the same message.
Revisions below 167 dont let me compile the dvbloopback adapter...

hari


May I kindly ask you to not discuss this topic in the forums?
I'm sure you can get some help on irc or some other designated site.

best regards,
Hari
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation