Telstar

Forum o satelitski, kabelski, zemeljski in IP TV
Danes je So Apr 20, 2024 1:36

Vsi časi so UTC+02:00 Evropa/Ljubljana




Napiši novo temo  Odgovori na temo  [ 1 prispevek ] 
Avtor Sporočilo
 Naslov prispevka: Skystar 2 pod Linuxom
OdgovorObjavljeno: Sr Apr 20, 2005 9:42 
tukaj imate za zacetek en how-to, ker me nekateri sprasujete kako instalirat skystar 2 pod Linuxom, za zacetek bo ( men se ne da prevajat, ce pa kdo zeli pa kar ).

How to install a sky star 2 DVB card

Her is my first draft of the Howto install Sky Star drivers and enjoy vdr. Although, I do not think I have every thing in it, I would like to get comments to improve it. Here we start:

How to install a sky star 2 DVB card

First of all I would like to mention that I am new in Linux and all the
information I am providing are based on trial and errors and help from Linux
experts at different forums. I will cover the following:
1- Installing the DVB drivers in kernel 2.4.x and 2.6.x
2- Install the dvb-applications
3- Installing xine
4- Installing vdr
5- Installing vdr-xine plugin
6- Editting the disque.conf
7- Scanning channels and editing channels.conf

1-a Installing the DVB drivers for kernel 2.4.x only:

I succeeded in installing the sky star 2 drivers in both Red Hat 9 (and Fedora)
and Mandrake 9.2, both kernel 2.4.xx. First let us obtain the drivers from linuxtv.org:
http://linuxtv.org/news/holger/dvbrelease-1.1.0.xml
I was able to install this driver in Redhat 9 (and Fedora) but in Mandrake
I could not. So I installed driver 1.01 on this link:
http://linuxtv.org/news/holger/dvbrelease-1.0.1.xml
Untar the driver package. Before we install the driver we need to recompile the
kernel. if you have kernel 2.6.x skip this step. I really do not know why but this is a must. You need to ensure the
following are enabled in your .config file in the kernel source folder before
recompiling:

CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y

and the follwing are enabled as modules:

CONFIG_INPUT=m
CONFIG_INPUT_EVDEV=m
CONFIG_I2C=m
CONFIG_VIDEO_DEV=m

You can follow the following procedure:

cd /usr/src/linux-2.4.xx
make mrproper
make oldconfig
After this you need to check your .config file for the items need to be
enabled as I explained above. If they are, proceed.
make dep
make bzImage
make modules
make modules_install
make install

Then check your /boot folder to ensure you got the following new files:
initrd-2.4.xx
vmlinuz-2.4.xx
System.map-2.4.xx

In addition to the files you had befor the compile. The system usually will call the new files as xxcustom means costomize. If you want to assgin another name to your new system you can go to the Makefile of the source and edit the following before doing the compile:

VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = xx
EXTRAVERSION = -x

restart your PC.

Now it is time to install the dvb drivers. Open the drivers folder and do make.
Then change to build-2.4 folder and do ./insmod.sh load to load the dvb drivers.
Do lsmod with root. You should be able to see your drivers modules. If ok, do
make install. Now your card is fully functional. To check that they are installed
, open /dev/dvb if you see one or more folders named adapterx (where x is the
number of the adapter), it means you are ok, if not go back and see where you had
a mistake.

1-b Installing the DVB drivers for kernel 2.6.x only:

Actually, in kerenl 2.6.x you do not have to install any drivers. You just need to recompile
the kernel with the following enabled:

CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y
CONFIG_INPUT=y
CONFIG_DVB=y

and the follwing are enabled as modules:

CONFIG_INPUT_EVDEV=m
CONFIG_I2C=m
CONFIG_VIDEO_DEV=m
CONFIG_DVB_CORE=m
CONFIG_DVB_STV0299=m
CONFIG_DVB_CX24110=m
CONFIG_DVB_GRUNDIG_29504_491=m
CONFIG_DVB_GRUNDIG_29504_401=m
CONFIG_DVB_MT312=m
CONFIG_DVB_VES1X93=m
CONFIG_DVB_B2C2_SKYSTAR=m

As you can see, I enabled all frontends because I do not know which one is for
SkyStar 2. The system will bickup the right one.

After restarting the system, do the following:

modprobe skystar2
cd ../linuxtv-dvb-1.1.0
./MAKEDEV-DVB.sh

If the drivers are built in the kernel, we just need to do

cd ../linuxtv-dvb-1.1.0
./MAKEDEV-DVB.s

Now your card is fully functional. To check that they are installed, open
/dev/dvb if you see one or more folders named adapterx (where x is the number
of the adapter), it means you are ok, if not go back and see where you had
a mistake.

2- Installing the dvb-applications

These is a set of applications that help in testing the card and I will explain some important features that we will need to set up the disque.conf and channels. For the time being let's download them from the following link, untar and make. Try testing your system after the readme file in each folder.

http://linuxtv.org/download/dvb/lin...s-1.1.0.tar.bz2

3- Installing xine:

Obtain a CVS copy of the xine-lib and xine-ui as follows
1. Make sure you do not have xine-lib installed on your distro...if so, remove it.
2. Download the latest CVS of xine-lib and xine-ui from:
http://sourceforge.net/cvs/?group_id=9655 [using the 2 CVS commands given]

4- Installing vdr

Obtain a copy of vdr 1.3.1 from here:

ftp://ftp.cadsoft.de/vdr/Developer/vdr-1.3.1.tar.bz2

5- Installing the vdr-xine plugin:

Get a copy of this from:

http://home.vr-web.de/~rnissl/

I intentionally did not talk about howto install xine and vdr, because all of that is well explained in the install file provided in the vdr-xine plugin package. Just follow the steps outlined in that file. It is one of the best install file I have ever read in Linux.

6- Editting the diseqc.conf

When you install vdr, it will creat a new folder called /video. If it does not, you need to creat it and copy all conf files from the vdr folder . You can do the following:
[root@localhost VDR]# cp *.conf /video

If you dont have a diseqc, you can skip the following. If you have a two way diseqc, you nee to cahnge the sat number in the diseqc.conf as follows:

S7.0W 11700 V 9750 t v W15 [E0 10 38 F0] W15 A W15 t
S7.0W 99999 V 10600 T v W15 [E0 10 38 F1] W15 A W15 T
S7.0W 11700 H 9750 t V W15 [E0 10 38 F2] W15 A W15 t
S7.0W 99999 H 10600 T V W15 [E0 10 38 F3] W15 A W15 T

S26.0E 11700 V 9750 t v W15 [E0 10 38 F4] W15 B W15 t
S26.0E 99999 V 10600 T v W15 [E0 10 38 F5] W15 B W15 T
S26.0E 11700 H 9750 t V W15 [E0 10 38 F6] W15 B W15 t
S26.0E 99999 H 10600 T V W15 [E0 10 38 F7] W15 B W15 T

The above example is for Nile sat (S7.0W) and Arabsat (S26.0E).

If yo have a 4-way diseqc, then you need to add the data for the other two sats. You can obtain that by running the ./diseqc tool provided in the test folder of the dvb-apps. My 4-way diseqc.conf file looks like this:

S13.0E 11700 V 9750 t v W15 [E0 10 38 F0] W15 A W15 t
S13.0E 99999 V 10600 T v W15 [E0 10 38 F1] W15 A W15 T
S13.0E 11700 H 9750 t V W15 [E0 10 38 F2] W15 A W15 t
S13.0E 99999 H 10600 T V W15 [E0 10 38 F3] W15 A W15 T

S26.0E 11700 V 9750 t v W15 [E0 10 38 F4] W15 B W15 t
S26.0E 99999 V 10600 T v W15 [E0 10 38 F5] W15 B W15 T
S26.0E 11700 H 9750 t V W15 [E0 10 38 F6] W15 B W15 t
S26.0E 99999 H 10600 T V W15 [E0 10 38 F7] W15 B W15 T

S7E 11700 V 9750 t v W15 [E0 10 38 F8] W15 A W15 t
S7E 99999 V 10600 T v W15 [E0 10 38 F9] W15 A W15 T
S7E 11700 H 9750 t V W15 [E0 10 38 FA] W15 A W15 t
S7E 99999 H 10600 T V W15 [E0 10 38 FB] W15 A W15 T

S7.0W 11700 V 9750 t v W15 [E0 10 38 FC] W15 B W15 t
S7.0W 99999 V 10600 T v W15 [E0 10 38 FD] W15 B W15 T
S7.0W 11700 H 9750 t V W15 [E0 10 38 FE] W15 B W15 t
S7.0W 99999 H 10600 T V W15 [E0 10 38 FF] W15 B W15 T

7- Scanning channels and editing channels.conf

Now we need to scan for channels becaused vdr does not have it. Some people like to get them from the net on the following link:

But I would rather scan them using the scan utility provided with the dvb-apps. I did the following:

[root@localhost scan]# ./scan -s 2 dvb-s/Arabsat-26E | tee mychannels.conf

But before you do the scan you need to create a file for Arabsat or whatever sat you choose in the ../dvb-apps/util/scan/dvb-sdbs folder and you provide details of the initial transponder of that sat as follows:

# Arabsat-26E
# freq pol sr fec
S 11746000 V 27500000 Ă‚¾

Then copy the channels data in the mychannels.conf to another file and do the same for the other sats until you have all the channels for the sats you have. Then rename it channels.conf and copy it to /video.

Now you are ready to start to enjoy the sat tv reception. You need to follow the following procedure:

Change to the drivers folder and do: cd ../build-2.4
then do make insmod load
cd .../vdr and do: ./vdr -Pxine
Open a terminal and do: xine -V xshm vdr://tmp/vdr-xine/stream#demux:mpeg_pes

and enjoy


Na vrh
   
Prikaži prispevke prejšnjih:  Razvrsti po  
Napiši novo temo  Odgovori na temo  [ 1 prispevek ] 

Vsi časi so UTC+02:00 Evropa/Ljubljana


Kdo je na strani

Po forumu brska: 0 registriranih uporabnikov in 3 gostov


Ne morete pisati prispevkov v temi
Ne morete odgovarjati na teme v forumu
Ne morete urejati prispevkov v temi
Ne morete brisati vaših prispevkov forumu
Ne morete dodati priponk prispevkom

Pojdi na:  
cron
Teče na phpBB® Forum Software © phpBB Limited