LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-05-2004, 11:32 AM   #31
linx win
Member
 
Registered: Jan 2004
Posts: 390

Rep: Reputation: 31

Here is an old document about this subject. It may help:

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 kerenl 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 kerenl 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 folloing 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

__________________
 
Old 09-27-2004, 01:34 AM   #32
kolchuga
Member
 
Registered: Feb 2004
Location: Belarus
Distribution: Mandrake 9.2+, Knoppix 3.4 Redhat 9
Posts: 53

Rep: Reputation: 15
HI jimdaworm,

I finally solved the drivers compiling error with these linux tv drivers, .. This is due to the fact that the SOURCE of the kernel must also be installed, because if not, the programs will never compile.

Suse was a big problem , where to find the original Suse 2.6 Kernel Source, Its not there... But in the store version (LInux in stores?) its included. BUt in My Mandrake 10 computer, is present, this kernel source, so after installing the RPM, i can run SZAP, DVB TUNE, DVBSCAN, and aDVB TRAFFIC, and see all the channels and PID from EUTELSAT W3.
SO this is very important, cos Ive seen all over the net, Many people have been unable to compile these drivers, and its Because NEED THE KERNEL SOURCE INSTALLED IN THE COMPUTER (needs to be the SAME KERNEL)
 
Old 09-27-2004, 03:28 AM   #33
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897

Rep: Reputation: 30
Hey kolchuga good to hear you got it going! . As far as I understand as a general rule if you donīt want problems compiling programs you need the kernel source installed and to be running a kernel made from that source.

So you can download any version you like. Configure and compile and kernel and install it and you shouldnīt have any problems.

Let me know when you get vdr working and decoding stuff! I am still working on that!
 
Old 10-15-2004, 03:35 AM   #34
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897

Rep: Reputation: 30
I have it all working now decoding and everything vdr 1.3.12 sc 0.3.17 and soft csa.
 
Old 10-16-2004, 12:24 AM   #35
kolchuga
Member
 
Registered: Feb 2004
Location: Belarus
Distribution: Mandrake 9.2+, Knoppix 3.4 Redhat 9
Posts: 53

Rep: Reputation: 15
Super!

Can you post a couple of examples of your config files how you did it?
 
Old 10-16-2004, 05:25 AM   #36
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897

Rep: Reputation: 30
Hey kolchuga ... its reasonably involved firstly you have to patch xine with the vdr plugin
(so they can work togeather) then you have to apply two patches to vdr soft csa and sc
then create a channels.conf put in a softcam.key file and a few others and your away.

This is the best forum I have found so far that has a linux section to help you out
http://dvbn.happysat.org/
 
Old 10-16-2004, 09:39 AM   #37
kolchuga
Member
 
Registered: Feb 2004
Location: Belarus
Distribution: Mandrake 9.2+, Knoppix 3.4 Redhat 9
Posts: 53

Rep: Reputation: 15
ok this is great, I have not see this forum before I will look, Thank you..
 
Old 10-16-2004, 11:00 AM   #38
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 897

Rep: Reputation: 30
No worries good luck and make sure you have a good read of the forum especially the linux section before posting questions... otherwise they might have a go at you.

 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel installation problem hk_michael Red Hat 1 04-06-2005 01:39 AM
Problem with SkyStar2 rev,2,6C dvb-apps and VDR dr_doom Linux - Hardware 1 06-21-2004 07:02 AM
SkyStar2 how-to?? manuelkuhs Linux - Hardware 0 06-18-2004 09:27 AM
installation problem with kernel halovivek Linux - Newbie 1 03-27-2004 12:52 PM
mandrake and skystar2 paradoxni Mandriva 1 01-31-2004 01:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration