LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-12-2010, 12:07 PM   #1
kallquk
LQ Newbie
 
Registered: Nov 2009
Posts: 13

Rep: Reputation: 0
cannot install technisat skystar 2 driver


Hello,


I have fedora 12 32 bit installed in my pc with skystar 2 revision 2.6
I hope this to be a common problem, more related to operating system that in device particularly. It hapened not only on fedora but on debian 5.03 too. In both systems, installed gcc later, not with OS.
I followed all instructions described in a readme, applied the patch successfully and the problem is with line: make menuconfig, neccessary to select type of adapter I have:

======================================
[root@PCiMATH v4l-dvb-0276304b76b9]# make menuconfig
make -C /root/v4l-dvb-0276304b76b9/v4l menuconfig
make[1]: Entering directory `/root/v4l-dvb-0276304b76b9/v4l'
make -C /lib/modules/2.6.31.5-127.fc12.i686.PAE/build -f /root/v4l-dvb-0276304b76b9/v4l/Makefile.kernel config-targets=1 mixed-targets=0 dot-conf
ig=0 SRCDIR=/lib/modules/2.6.31.5-127.fc12.i686.PAE/build v4l-mconf
make: Entering an unknown directory
make: *** /lib/modules/2.6.31.5-127.fc12.i686.PAE/build: No such file or directory. Stop.
make: Leaving an unknown directory
make[1]: *** [/lib/modules/2.6.31.5-127.fc12.i686.PAE/build/scripts/kconfig/mconf] Error 2
make[1]: Leaving directory `/root/v4l-dvb-0276304b76b9/v4l'
make: *** [menuconfig] Error 2
[root@PCiMATH v4l-dvb-0276304b76b9]#

==============================================

It was a broken symlink in the folder /lib/modules/2.6.31.5-127.fc12.i686.PAE, but I searched for a build file, and found it in another directory something like /usr/bin/externalsource... and I created a symlink to first folder with build in second folder and tried again:

=======================================
[root@PCiMATH v4l-dvb-0276304b76b9]# make menuconfig
make -C /root/v4l-dvb-0276304b76b9/v4l menuconfig
make[1]: Entering directory `/root/v4l-dvb-0276304b76b9/v4l'
make -C /lib/modules/2.6.31.5-127.fc12.i686.PAE/build -f /root/v4l-dvb-0276304b76b9/v4l/Makefile.kernel config-targets=1 mixed-targets=0 dot-conf
ig=0 SRCDIR=/lib/modules/2.6.31.5-127.fc12.i686.PAE/build v4l-mconf
make: Entering an unknown directory
make: *** /lib/modules/2.6.31.5-127.fc12.i686.PAE/build: Not a directory. Stop.
make: Leaving an unknown directory
make[1]: *** [/lib/modules/2.6.31.5-127.fc12.i686.PAE/build/scripts/kconfig/mconf] Error 2
make[1]: Leaving directory `/root/v4l-dvb-0276304b76b9/v4l'
make: *** [menuconfig] Error 2
[root@PCiMATH v4l-dvb-0276304b76b9]#

=============================================
it is slightly different than before. It tries to create a folder with name build in the folder /lib/modules/2.6.31.5-127.fc12.i686.PAE], what is not possible by the system, because there is a file with this name and system does not permit this kind of duplicate, and then other steps fail with errors reported.
Is something wrong with source code ? how can it go ? I am a newbie in linux, and I have several days with this problem, in this forum none talked for this problem, it is overcame for members of this forum. please help!

thanks id advance

PS:

README that I followed is:

How to install SkyStar 2 revision 2.8 using the binary-driver for the CX24113?

0) Have linux-installation which allows to build external kernel modules.

Further help can be found here: http://linuxtv.org/wiki/index.php/Ho...device_drivers

1) Get the complete v4l-dvb driver tree from 2008-07-07 (*) and extract it

# wget http://linuxtv.org/hg/v4l-dvb/archiv...4b76b9.tar.bz2
# tar xfj 0276304b76b9.tar.bz2
# cd v4l-dvb-0276304b76b9

2) Apply the patch and copy the appropriate driver-binary

# patch -p1 < <path-to-patch-file>/skystar2-rev2.8-v4l-dvb.patch
# cp <path-to-binary-file>/cx24113_blob.o.x86-64 v4l/cx24113_blob.o_shipped # for 64-bit installations
or
# cp <path-to-binary-file>/cx24113_blob.o.i386 v4l/cx24113_blob.o_shipped # for 32-bit installations

3) (optional) select the device/card-drivers to compile and install

# make menuconfig

follow the menus and enable at least

<M> Technisat/B2C2 FlexCopII(b) and FlexCopIII adapters
<M> Technisat/B2C2 Air/Sky/Cable2PC PCI
<M> Technisat/B2C2 Air/Sky/Cable2PC USB

4) compile all/selected modules and install them

# make
# make install

the last command will replace the modules which were delivered by the install kernel by the ones you just compiled.

5) Loading the modules. The command 'make install' installed the new driver into the right place and replaced old ones.
The next reboot will load these modules automatically. To force a reload of the new modules without rebooting run:

# make reload

(*) it is important that the version from this day is used, because the binary module "cx24113.ko" requires binary comp
atibility with the DVB-API provided by the v4l-dvb-tree. If the internal binary API has changed, which can happen witho
ut notice, the module will not work. This only applied for types and function provided by the v4l-dvb-tree, i2c and mod
ule related things can be found in cx24113_i2c.c and are compiled on this platform.

Last edited by kallquk; 06-12-2010 at 12:09 PM.
 
Old 06-13-2010, 02:08 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
# make menuconfig
# make gconfig (xconfig, qconfig) usually is easier to parse.

Quote:
Get the complete v4l-dvb driver tree from 2008-07-07
...that's quite old. The readme says this is because it wants the old firmware.

iirc; skystar2 dvb modules have been in the kernel for years.
I suspect you trying a method which is no longer supported.

All the skystar2 stuff is really really old - such as:
http://www.linuxquestions.org/linux/...tar_2_in_Linux
... for FC3 (kver 2.6.10) which does not require patching, but this is 2005, and the readme says it is the firmware after 2007 may not be right. (The diagnostic steps in that thread are good, but the solution is not. Links are informative.)

Anyway, it looks like these things should just work in the newer fedoras.
 
Old 06-15-2010, 07:04 PM   #3
kallquk
LQ Newbie
 
Registered: Nov 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Simon Bridge View Post
# make gconfig (xconfig, qconfig) usually is easier to parse.


...that's quite old. The readme says this is because it wants the old firmware.

iirc; skystar2 dvb modules have been in the kernel for years.
I suspect you trying a method which is no longer supported.

All the skystar2 stuff is really really old - such as:
http://www.linuxquestions.org/linux/...tar_2_in_Linux
... for FC3 (kver 2.6.10) which does not require patching, but this is 2005, and the readme says it is the firmware after 2007 may not be right. (The diagnostic steps in that thread are good, but the solution is not. Links are informative.)

Anyway, it looks like these things should just work in the newer fedoras.
thanks for the answer!


But is any possibility to use this device with fedora 13 ? There are periodically driver updates for windows, why those difficulties with linux?

I take this method beginnning from the producer webpage.
 
  


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
cannot install technisat skystar 2 driver kallquk Linux - Newbie 15 06-05-2010 02:43 PM
Problem with 2nd DVB-S PCI card (Technisat Skystar 2) nattydread Linux - Hardware 2 04-05-2010 03:21 PM
TechniSat Skystar 2 Serial IR Remote Issues. mercera_13 Linux - Newbie 0 05-22-2008 07:47 PM
how to install driver for SKYstar USB Reciver oradev Linux - Hardware 0 02-14-2005 02:04 AM
looking for a technisat skystar2 driver freelinuxcpp Linux - Hardware 2 09-14-2003 03:33 PM

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

All times are GMT -5. The time now is 03:45 AM.

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