LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   cannot install technisat skystar 2 driver (https://www.linuxquestions.org/questions/linux-hardware-18/cannot-install-technisat-skystar-2-driver-813742/)

kallquk 06-12-2010 12:07 PM

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.

Simon Bridge 06-13-2010 02:08 AM

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.

kallquk 06-15-2010 07:04 PM

Quote:

Originally Posted by Simon Bridge (Post 4001810)
# 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.


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