Moderator Control Panel ]

Installing Driver in CentOS 6.3

Installing Driver in CentOS 6.3

Postby wannabe » Sun Jan 20, 2013 3:46 pm

Hello

Anyone can help me please, i want to install driver for tbs 6984 quad tuner but i can't.
i have been following the install manual but dont work for me:

I.1 extract linux-tbs-drivers.tar.bz2 archive:

# tar xjvf linux-tbs-drivers.tar.bz2

I.2 go to driver package directory:

# cd linux-tbs-drivers

I.3 depending on your kernel version and if the kernel is x86 or
x86_64 (check output of 'uname -a') do:

- for x86 kernel 3.x (x86 32 bit installations of kernel 3.x):

# ./v4l/tbs-x86_r3.sh

- for x86 kernel 2.6.x (x86 32 bit installations of kernel 2.6.x):

# ./v4l/tbs-x86.sh

- for any x86_64 kernel (x86 64 bit installations of Linux):

# ./v4l/tbs-x86_64.sh

I.3 build and install the driver:

# make && make install

I.4 reboot in order to load the newly installed driver:

# shutdown -r now


I use kernel 2.6.32-279, and my Os is x86_64

when type make & make install then show me the next error:

[root@fedeer linux-tbs-drivers]# ./v4l/tbs-x86_64.sh
TBS drivers configured for x86_64 platform.
[root@fedeer linux-tbs-drivers]# make && make install
make -C /linux-tbs-drivers/v4l
make[1]: se ingresa al directorio `/linux-tbs-drivers/v4l'
Updating/Creating .config
Preparing to compile for kernel version 2.6.32
File not found: /lib/modules/2.6.32-279.el6.x86_64/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
make[1]: *** No hay ninguna regla para construir el objetivo `.myconfig', necesario para `config-compat.h'. Alto.
make[1]: se sale del directorio `/linux-tbs-drivers/v4l'
make: *** [all] Error 2



Thanks
wannabe
 
Posts: 21
Joined: Mon Nov 12, 2012 6:44 am

Re: Installing Driver in CentOS 6.3

Postby SergioDanielG » Sun Jan 20, 2013 10:28 pm

Hi wannabe
Can you try running "make clean" and "make distclean" (or "make dist-clean") before any installation step?

Best regards.
SergioDanielG
 
Posts: 356
Joined: Tue May 31, 2011 3:53 am
Location: Tostado (SF) Argentina

Re: Installing Driver in CentOS 6.3

Postby updatelee » Mon Jan 21, 2013 12:54 am

I believe the problem is if I understand correctly there are only three possible setups with TBS

2.6 32bit
3.x 32bit
3.x 64bit

your attempting todo 2.6 64bit there is no precompiled lib for that

updatelee@antec:~/src/stv090x-scan$ file ../tbs/tbs-drivers-v121119/linux-tbs-drivers/v4l/tbs6925ctrl_driver.o.x86
../tbs/tbs-drivers-v121119/linux-tbs-drivers/v4l/tbs6925ctrl_driver.o.x86: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped
updatelee@antec:~/src/stv090x-scan$ file ../tbs/tbs-drivers-v121119/linux-tbs-drivers/v4l/tbs6925ctrl_driver.o.x86_64
../tbs/tbs-drivers-v121119/linux-tbs-drivers/v4l/tbs6925ctrl_driver.o.x86_64: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
updatelee@antec:~/src/stv090x-scan$ file ../tbs/tbs-drivers-v121119/linux-tbs-drivers/v4l/tbs6925ctrl_driver.o.x86_r3
../tbs/tbs-drivers-v121119/linux-tbs-drivers/v4l/tbs6925ctrl_driver.o.x86_r3: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped

the 6984 is the same, just look in the TBS folder /v4l

UDL
TBS6925/5980, Prof 7301/7500/8000, Genpix Skywalker-1, Skystar 2 Express HD
Hauppauge 950Q, Kworld 330U/435v3/445v3
Dreambox 800

I use Linux and support open source projects.
User avatar
updatelee
 
Posts: 374
Joined: Wed Jul 25, 2012 11:48 am
Location: CFB Edmonton

Re: Installing Driver in CentOS 6.3

Postby wannabe » Mon Jan 21, 2013 2:35 am

Hello

using the command make dist-clean show me the next error:

[root@fedeer linux-tbs-drivers]# make dist-clean
make -C /linux-tbs-drivers/v4l dist-clean
make[1]: se ingresa al directorio `/linux-tbs-drivers/v4l'
Updating/Creating .config
Preparing to compile for kernel version 2.6.32
File not found: /lib/modules/2.6.32-279.el6.x86_64/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
make[1]: *** No hay ninguna regla para construir el objetivo `dist-clean'. Alto.
make[1]: se sale del directorio `/linux-tbs-drivers/v4l'
make: *** [dist-clean] Error 2
[root@fedeer linux-tbs-drivers]#



Thanks
wannabe
 
Posts: 21
Joined: Mon Nov 12, 2012 6:44 am

Re: Installing Driver in CentOS 6.3

Postby SergioDanielG » Mon Jan 21, 2013 8:13 am

wannabe Wrote:Hello

using the command make dist-clean show me the next error:

[root@fedeer linux-tbs-drivers]# make dist-clean
make -C /linux-tbs-drivers/v4l dist-clean
make[1]: se ingresa al directorio `/linux-tbs-drivers/v4l'
Updating/Creating .config
Preparing to compile for kernel version 2.6.32
File not found: /lib/modules/2.6.32-279.el6.x86_64/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
make[1]: *** No hay ninguna regla para construir el objetivo `dist-clean'. Alto.
make[1]: se sale del directorio `/linux-tbs-drivers/v4l'
make: *** [dist-clean] Error 2
[root@fedeer linux-tbs-drivers]#



Thanks


Hi wannabe
Don't worry for that. I doesn't remember if the command was distclean or dist-clean.
Now I confirm, the command is "distclean"
Well, did you try running "make clean" and "make distclean" before all TBS installation steps?

Best regards
SergioDanielG
 
Posts: 356
Joined: Tue May 31, 2011 3:53 am
Location: Tostado (SF) Argentina

Re: Installing Driver in CentOS 6.3

Postby wannabe » Mon Jan 21, 2013 8:26 am

SergioDanielG Wrote:
wannabe Wrote:Hello

using the command make dist-clean show me the next error:

[root@fedeer linux-tbs-drivers]# make dist-clean
make -C /linux-tbs-drivers/v4l dist-clean
make[1]: se ingresa al directorio `/linux-tbs-drivers/v4l'
Updating/Creating .config
Preparing to compile for kernel version 2.6.32
File not found: /lib/modules/2.6.32-279.el6.x86_64/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
make[1]: *** No hay ninguna regla para construir el objetivo `dist-clean'. Alto.
make[1]: se sale del directorio `/linux-tbs-drivers/v4l'
make: *** [dist-clean] Error 2
[root@fedeer linux-tbs-drivers]#



Thanks


Hi wannabe
Don't worry for that. I doesn't remember if the command was distclean or dist-clean.
Now I confirm, the command is "distclean"
Well, did you try running "make clean" and "make distclean" before all TBS installation steps?

Best regards


:( use the commad but still the same error :(

[root@fedeer linux-tbs-drivers]# ./v4l/tbs-x86_64.sh
TBS drivers configured for x86_64 platform.
[root@fedeer linux-tbs-drivers]# make && make install
make -C /linux-tbs-drivers/v4l
make[1]: se ingresa al directorio `/linux-tbs-drivers/v4l'
No version yet, using 2.6.32-279.el6.x86_64
make[1]: se sale del directorio `/linux-tbs-drivers/v4l'
make[1]: se ingresa al directorio `/linux-tbs-drivers/v4l'
scripts/make_makefile.pl
Updating/Creating .config
Preparing to compile for kernel version 2.6.32
File not found: /lib/modules/2.6.32-279.el6.x86_64/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
make[1]: se sale del directorio `/linux-tbs-drivers/v4l'
make[1]: se ingresa al directorio `/linux-tbs-drivers/v4l'
Updating/Creating .config
Preparing to compile for kernel version 2.6.32
File not found: /lib/modules/2.6.32-279.el6.x86_64/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
make[1]: *** No hay ninguna regla para construir el objetivo `.myconfig', necesario para `config-compat.h'. Alto.
make[1]: se sale del directorio `/linux-tbs-drivers/v4l'
make: *** [all] Error 2



Thanks
wannabe
 
Posts: 21
Joined: Mon Nov 12, 2012 6:44 am

Re: Installing Driver in CentOS 6.3

Postby updatelee » Mon Jan 21, 2013 12:55 pm

well you havent done a make menuconfig thats why there is no .config

still dont think it'll work though, upgrade your kernel and it should work fine

UDL
TBS6925/5980, Prof 7301/7500/8000, Genpix Skywalker-1, Skystar 2 Express HD
Hauppauge 950Q, Kworld 330U/435v3/445v3
Dreambox 800

I use Linux and support open source projects.
User avatar
updatelee
 
Posts: 374
Joined: Wed Jul 25, 2012 11:48 am
Location: CFB Edmonton

Re: Installing Driver in CentOS 6.3

Postby wannabe » Mon Jan 21, 2013 12:59 pm

updatelee Wrote:well you havent done a make menuconfig thats why there is no .config

still dont think it'll work though, upgrade your kernel and it should work fine

UDL


Hello updatelee

can you tell me how upgrade the kernel?

Thanks
wannabe
 
Posts: 21
Joined: Mon Nov 12, 2012 6:44 am

Re: Installing Driver in CentOS 6.3

Postby updatelee » Tue Jan 22, 2013 3:17 am

in Ubuntu its as simple as opening software manager and clicking 'check for updates'. I have no idea in CentOS Im sure they have a forum or something though.

UDL
TBS6925/5980, Prof 7301/7500/8000, Genpix Skywalker-1, Skystar 2 Express HD
Hauppauge 950Q, Kworld 330U/435v3/445v3
Dreambox 800

I use Linux and support open source projects.
User avatar
updatelee
 
Posts: 374
Joined: Wed Jul 25, 2012 11:48 am
Location: CFB Edmonton

Re: Installing Driver in CentOS 6.3

Postby SergioDanielG » Tue Jan 22, 2013 8:44 am

Hi wannabe
In CentOS, update kernel it's not so easy as in Ubuntu, but there are a lot of documentation.
Refer to chapter 39 of "
Red Hat Enterprise Linux Deployment Guide" http://www.centos.org/docs/5/html/Deplo ... ation.html

But, if is not a problem for you, update your kernel and centos distribution with "yum update"

Best regards
SergioDanielG
 
Posts: 356
Joined: Tue May 31, 2011 3:53 am
Location: Tostado (SF) Argentina


Return to Linux

Who is online

Users browsing this forum: No registered users and 5 guests