Difference between revisions of "User:Rigolo"

From MythTV Official Wiki
Jump to: navigation, search
m (remove hish cases)
(Add sasc-ng compilation notes)
Line 15: Line 15:
 
* [http://www.lifeview.com.tw/html/products/internal_tv/flytv_express_x1_mst_sta2.htm FlyTV Express X1 MST-STA ]
 
* [http://www.lifeview.com.tw/html/products/internal_tv/flytv_express_x1_mst_sta2.htm FlyTV Express X1 MST-STA ]
 
* [http://www.lifeview.com.tw/html/products/internal_tv/flytv_express_x1_mst_t2a2.htm FlyTV Express X1 MST T A]
 
* [http://www.lifeview.com.tw/html/products/internal_tv/flytv_express_x1_mst_t2a2.htm FlyTV Express X1 MST T A]
 +
 +
== MythBuntu 7.10 with DVB-C and sasc-ng ==
 +
 +
Install MythBuntu as describe in the mythbuntu installation manual but do not run myth-setup yet (suggested in the last step when installing). Reboot the PC and when MythTV is started just hit ESC and terminate mythtv-frontend. Mythbackend is also not running because it it is not setup correctly.
 +
 +
Than download and compile the latest dvb-c kernel drivers as described here:
 +
[[http://linuxtv.org/wiki/index.php/How_to_install_DVB_device_drivers#The_LinuxTV_drivers|LinuxTV dvb drivers]]
 +
 +
The packages that I installed during this step are
 +
 +
* sudo apt-get install mercurial linux-headers-$(uname -r) build-essential
 +
 +
I just downloaded the drivers to my home directory and compiled from there.
 +
 +
* hg clone http://linuxtv.org/hg/v4l-dvb
 +
* cd v4l-dvb
 +
* make
 +
* sudo make install
 +
 +
Now reboot the PC to make sure the latest drivers are used. Hit ESC again when mythtv frontend is started to exit it.
 +
 +
Next step is to get the sasc-ng source. You need to have subversion installed to get the source code:
 +
 +
* cd (to go back to your home directory)
 +
* sudo apt-get install subversion
 +
* svn co https://opensvn.csie.org/sascng sasc-ng
 +
 +
This downloaded revision 114/170 of sasc-ng (114 is the revision of the dvbloopback kernel driver, 170 is the version of sasc-ng)
 +
 +
first run the configure command and point this to the v4l-dvb source code
 +
 +
* cd sasc-ng/trunk/
 +
* ./configure --dvb-dir=/home/<user>/v4l-dvb
 +
* make module
 +
 +
before we can compile sasc-ng we need to install some additional packages:
 +
 +
* sudo apt-get install libssl-dev
 +
* sudo apt-get install gettext
 +
 +
in order to prevent a error while compiling create an empty compiler.h file in the v4l-dvb source code
 +
 +
* touch /home/<user>/v4l-dvb/linux/include/linux/compiler.h
 +
 +
now you can compile sasc-ng
 +
 +
* make
 +
 +
now you have a dvbloopback.ko kernel module and the sasc-ng executable in the sasc-ng/trunk directory
 +
 +
to test if they are working you can insert the dvbloopback module using the following command:
 +
 +
* sudo insmod /home/<user>/sasc-ng/trunk/dvbloopback.ko num_adapters=<number of dvb cards>
 +
 +
and than you can run sasc-ng using the following command:
 +
 +
sudo ./sasc-ng -j 0:1
 +
 +
now you can work on setting up the sc_files directory to decrypt the channels you want to watch. I use a NewCS server on my local lan as a cardserver so I need to setup a cardclient.conf file with a newcamd line in there:
 +
 +
* newcamd:hostname:port:emm/caid/mask:username:password:cfgKey
 +
 +
have a look at the example file you can find at:
 +
/home/<user>/sasc-ng/trunk/sc/PLUGINS/src/sc-src/examples/cardclient.conf.example
 +
 +
Now continue to setup mythtv using the new virtual card. I prefer to import a channels.conf in mythtv instead of doing a scan.

Revision as of 21:43, 11 November 2007

(There is currently some info on this page)

RGB Scart

My TV

KV-32FD1E

PCI-e TV Tuner cards

(not checked if they are supported, just list them when I find them)

MythBuntu 7.10 with DVB-C and sasc-ng

Install MythBuntu as describe in the mythbuntu installation manual but do not run myth-setup yet (suggested in the last step when installing). Reboot the PC and when MythTV is started just hit ESC and terminate mythtv-frontend. Mythbackend is also not running because it it is not setup correctly.

Than download and compile the latest dvb-c kernel drivers as described here: [dvb drivers]

The packages that I installed during this step are

  • sudo apt-get install mercurial linux-headers-$(uname -r) build-essential

I just downloaded the drivers to my home directory and compiled from there.

Now reboot the PC to make sure the latest drivers are used. Hit ESC again when mythtv frontend is started to exit it.

Next step is to get the sasc-ng source. You need to have subversion installed to get the source code:

This downloaded revision 114/170 of sasc-ng (114 is the revision of the dvbloopback kernel driver, 170 is the version of sasc-ng)

first run the configure command and point this to the v4l-dvb source code

  • cd sasc-ng/trunk/
  • ./configure --dvb-dir=/home/<user>/v4l-dvb
  • make module

before we can compile sasc-ng we need to install some additional packages:

  • sudo apt-get install libssl-dev
  • sudo apt-get install gettext

in order to prevent a error while compiling create an empty compiler.h file in the v4l-dvb source code

  • touch /home/<user>/v4l-dvb/linux/include/linux/compiler.h

now you can compile sasc-ng

  • make

now you have a dvbloopback.ko kernel module and the sasc-ng executable in the sasc-ng/trunk directory

to test if they are working you can insert the dvbloopback module using the following command:

  • sudo insmod /home/<user>/sasc-ng/trunk/dvbloopback.ko num_adapters=<number of dvb cards>

and than you can run sasc-ng using the following command:

sudo ./sasc-ng -j 0:1

now you can work on setting up the sc_files directory to decrypt the channels you want to watch. I use a NewCS server on my local lan as a cardserver so I need to setup a cardclient.conf file with a newcamd line in there:

  • newcamd:hostname:port:emm/caid/mask:username:password:cfgKey

have a look at the example file you can find at: /home/<user>/sasc-ng/trunk/sc/PLUGINS/src/sc-src/examples/cardclient.conf.example

Now continue to setup mythtv using the new virtual card. I prefer to import a channels.conf in mythtv instead of doing a scan.