Page 1 of 1

Installing Driver in CentOS 6.3

PostPosted: Sun Jan 20, 2013 3:46 pm
by wannabe
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

Re: Installing Driver in CentOS 6.3

PostPosted: Sun Jan 20, 2013 10:28 pm
by SergioDanielG
Hi wannabe
Can you try running "make clean" and "make distclean" (or "make dist-clean") before any installation step?

Best regards.

Re: Installing Driver in CentOS 6.3

PostPosted: Mon Jan 21, 2013 12:54 am
by updatelee
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

Re: Installing Driver in CentOS 6.3

PostPosted: Mon Jan 21, 2013 2:35 am
by wannabe
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

Re: Installing Driver in CentOS 6.3

PostPosted: Mon Jan 21, 2013 8:13 am
by SergioDanielG
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

Re: Installing Driver in CentOS 6.3

PostPosted: Mon Jan 21, 2013 8:26 am
by wannabe
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

Re: Installing Driver in CentOS 6.3

PostPosted: Mon Jan 21, 2013 12:55 pm
by updatelee
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

Re: Installing Driver in CentOS 6.3

PostPosted: Mon Jan 21, 2013 12:59 pm
by wannabe
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

Re: Installing Driver in CentOS 6.3

PostPosted: Tue Jan 22, 2013 3:17 am
by updatelee
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

Re: Installing Driver in CentOS 6.3

PostPosted: Tue Jan 22, 2013 8:44 am
by SergioDanielG
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