Page 1 of 1

Linux Driver for Kernel 3.x Released

PostPosted: Thu Oct 13, 2011 1:54 pm
by warumnix
Hi All :D

Great news! TBS Linux driver for kernel 3.x is ready the same day as Ubuntu 11.10 official release!
Please check the download section:
http://www.tbsdtv.com/english/Download.html

Re: Linux Driver for Kernel 3.x Released

PostPosted: Sat Oct 15, 2011 7:42 pm
by smv1210
I think, You have nothing to be proud about - the driver does not work on Ubuntu 11.10 (i386):

http://pastebin.com/mE2JR3vV

Re: Linux Driver for Kernel 3.x Released

PostPosted: Thu Oct 20, 2011 12:04 pm
by steven
smv1210 Wrote:I think, You have nothing to be proud about - the driver does not work on Ubuntu 11.10 (i386):

http://pastebin.com/mE2JR3vV

Hi

We are working on this problem now,Please just wait for our good news.

Thanks

Re: Linux Driver for Kernel 3.x Released

PostPosted: Tue Jan 31, 2012 3:09 pm
by ferni
Should this be working?

I'm running ubuntu 11.10 x64 with kernel 3.2.0-12 and getting an error on the make


root@uhtpc:/home/andrew/Downloads/linux-tbs-drivers# make
make -C /home/andrew/Downloads/linux-tbs-drivers/v4l
make[1]: Entering directory `/home/andrew/Downloads/linux-tbs-drivers/v4l'
No version yet, using 3.2.0-12-generic
make[1]: Leaving directory `/home/andrew/Downloads/linux-tbs-drivers/v4l'
make[1]: Entering directory `/home/andrew/Downloads/linux-tbs-drivers/v4l'
scripts/make_makefile.pl
Updating/Creating .config
Preparing to compile for kernel version 3.2.0

***WARNING:*** You do not have the full kernel sources installed.
This does not prevent you from building the v4l-dvb tree if you have the
kernel headers, but the full kernel source may be required in order to use
make menuconfig / xconfig / qconfig.

If you are experiencing problems building the v4l-dvb tree, please try
building against a vanilla kernel before reporting a bug.

Vanilla kernels are available at http://kernel.org.
On most distros, this will compile a newly downloaded kernel:

cp /boot/config-`uname -r` <your kernel dir>/.config
cd <your kernel dir>
make all modules_install install

Please see your distro's web site for instructions to build a new kernel.

Created default (all yes) .config file
./scripts/make_myconfig.pl
make[1]: Leaving directory `/home/andrew/Downloads/linux-tbs-drivers/v4l'
make[1]: Entering directory `/home/andrew/Downloads/linux-tbs-drivers/v4l'
perl scripts/make_config_compat.pl /lib/modules/3.2.0-12-generic/build ./.myconfig ./config-compat.h
creating symbolic links...
make -C firmware prep
make[2]: Entering directory `/home/andrew/Downloads/linux-tbs-drivers/v4l/firmware'
make[2]: Leaving directory `/home/andrew/Downloads/linux-tbs-drivers/v4l/firmware'
make -C firmware
make[2]: Entering directory `/home/andrew/Downloads/linux-tbs-drivers/v4l/firmware'
CC ihex2fw
Generating vicam/firmware.fw
Generating dabusb/firmware.fw
Generating dabusb/bitstream.bin
Generating ttusb-budget/dspbootcode.bin
Generating cpia2/stv0672_vp4.bin
Generating av7110/bootcode.bin
make[2]: Leaving directory `/home/andrew/Downloads/linux-tbs-drivers/v4l/firmware'
Kernel build directory is /lib/modules/3.2.0-12-generic/build
make -C /lib/modules/3.2.0-12-generic/build SUBDIRS=/home/andrew/Downloads/linux-tbs-drivers/v4l modules
make[2]: Entering directory `/usr/src/linux-headers-3.2.0-12-generic'
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/au0828-core.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/au0828-i2c.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/au0828-cards.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/au0828-dvb.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/au0828-video.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/au0828-vbi.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/au8522_dig.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/au8522_decoder.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/flexcop-pci.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/flexcop-usb.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/flexcop.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/flexcop-fe-tuner.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/flexcop-i2c.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/flexcop-sram.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/flexcop-eeprom.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/flexcop-misc.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/flexcop-hw-filter.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/flexcop-dma.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/bttv-driver.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/bttv-cards.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/bttv-if.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/bttv-risc.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/bttv-vbi.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/bttv-i2c.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/bttv-gpio.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/bttv-input.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/bttv-audio-hook.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/cafe-driver.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/mcam-core.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/cpia2_v4l.o
CC [M] /home/andrew/Downloads/linux-tbs-drivers/v4l/cpia2_usb.o
/home/andrew/Downloads/linux-tbs-drivers/v4l/cpia2_usb.c:70:1: warning: data definition has no type or storage class [enabled by default]
/home/andrew/Downloads/linux-tbs-drivers/v4l/cpia2_usb.c:70:1: warning: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE' [-Wimplicit-int]
/home/andrew/Downloads/linux-tbs-drivers/v4l/cpia2_usb.c:70:1: warning: parameter names (without types) in function declaration [enabled by default]
/home/andrew/Downloads/linux-tbs-drivers/v4l/cpia2_usb.c: In function 'cpia2_usb_init':
/home/andrew/Downloads/linux-tbs-drivers/v4l/cpia2_usb.c:902:9: error: 'THIS_MODULE' undeclared (first use in this function)
/home/andrew/Downloads/linux-tbs-drivers/v4l/cpia2_usb.c:902:9: note: each undeclared identifier is reported only once for each function it appears in
/home/andrew/Downloads/linux-tbs-drivers/v4l/cpia2_usb.c:903:1: warning: control reaches end of non-void function [-Wreturn-type]
make[3]: *** [/home/andrew/Downloads/linux-tbs-drivers/v4l/cpia2_usb.o] Error 1
make[2]: *** [_module_/home/andrew/Downloads/linux-tbs-drivers/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-3.2.0-12-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/andrew/Downloads/linux-tbs-drivers/v4l'
make: *** [all] Error 2
root@uhtpc:/home/andrew/Downloads/linux-tbs-drivers#

Re: Linux Driver for Kernel 3.x Released

PostPosted: Tue Jan 31, 2012 7:00 pm
by SergioDanielG
ferni Wrote:...
/home/andrew/Downloads/linux-tbs-drivers/v4l/cpia2_usb.c: In function 'cpia2_usb_init':
/home/andrew/Downloads/linux-tbs-drivers/v4l/cpia2_usb.c:902:9: error: 'THIS_MODULE' undeclared (first use in this function)
/home/andrew/Downloads/linux-tbs-drivers/v4l/cpia2_usb.c:902:9: note: each undeclared identifier is reported only once for each function it appears in
/home/andrew/Downloads/linux-tbs-drivers/v4l/cpia2_usb.c:903:1: warning: control reaches end of non-void function [-Wreturn-type]
make[3]: *** [/home/andrew/Downloads/linux-tbs-drivers/v4l/cpia2_usb.o] Error 1
make[2]: *** [_module_/home/andrew/Downloads/linux-tbs-drivers/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-3.2.0-12-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/andrew/Downloads/linux-tbs-drivers/v4l'
make: *** [all] Error 2
root@uhtpc:/home/andrew/Downloads/linux-tbs-drivers#


Hi ferni. I sent a email to support@tbsdtv.com two days ago with the same error. They say me they are working to update drivers, but it's not simple.
We can only hope.

Best regards.

Re: Linux Driver for Kernel 3.x Released

PostPosted: Wed Feb 01, 2012 10:02 am
by ferni
SergioDanielG Wrote:Hi ferni. I sent a email to support@tbsdtv.com two days ago with the same error. They say me they are working to update drivers, but it's not simple.
We can only hope.

Best regards.


Thanks. Do you (or anyone else) know what is causing problems? Is it the new 3.2 kernel? If i go back to an old kernel will it work? Or is it an x64 problem?

Re: Linux Driver for Kernel 3.x Released

PostPosted: Wed Feb 01, 2012 7:04 pm
by SergioDanielG
ferni Wrote:Thanks. Do you (or anyone else) know what is causing problems? Is it the new 3.2 kernel? If i go back to an old kernel will it work? Or is it an x64 problem?


It's the new 3.2 kernel. I don't know why. I'm actually using driever 20111118 with kernel 3.1.0-1 without problems..

Best regards.

Re: Linux Driver for Kernel 3.x Released

PostPosted: Thu Feb 02, 2012 5:20 am
by ferni
SergioDanielG Wrote:
It's the new 3.2 kernel. I don't know why. I'm actually using driever 20111118 with kernel 3.1.0-1 without problems..

Best regards.


Thanks - I found out the same thing last night - Installed ubuntu 11.10 x64 fresh and used the out of the box kernel and it compiled fine.