Moderator Control Panel ]

Linux Driver for Kernel 3.x Released

Re: Linux Driver for Kernel 3.x Released

Postby tricky720101 » Wed Feb 15, 2012 6:57 am

When will the TBS 6981 work with ArchLinux 3.2.2-1-ARCH #1 SMP PREEMPT Thu Jan 26 08:40:20 CET 2012 x86_64 distribution.

Currently tried tbs drivers V111118 but they will not build, following are my steps...


[root@tv-server media_build]# uname -a
Linux tv-server 3.2.2-1-ARCH #1 SMP PREEMPT Thu Jan 26 08:40:20 CET 2012 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz GenuineIntel GNU/Linux
[root@tv-server media_build]# uname -r
3.2.2-1-ARCH
[root@tv-server media_build]# ./v4l/tbs-x86_64.sh
TBS drivers configured for x86_64 platform.
[root@tv-server media_build]# make

this is when it goes wrong on build...

/usr/src/media_build/v4l/cpia2_usb.c:70:1: warning: data definition has no type or storage class [enabled by default]
/usr/src/media_build/v4l/cpia2_usb.c:70:1: warning: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE' [-Wimplicit-int]
/usr/src/media_build/v4l/cpia2_usb.c:70:1: warning: parameter names (without types) in function declaration [enabled by default]
/usr/src/media_build/v4l/cpia2_usb.c: In function 'cpia2_usb_init':
/usr/src/media_build/v4l/cpia2_usb.c:902:9: error: 'THIS_MODULE' undeclared (first use in this function)
/usr/src/media_build/v4l/cpia2_usb.c:902:9: note: each undeclared identifier is reported only once for each function it appears in
/usr/src/media_build/v4l/cpia2_usb.c:903:1: warning: control reaches end of non-void function [-Wreturn-type]
make[3]: *** [/usr/src/media_build/v4l/cpia2_usb.o] Error 1
make[2]: *** [_module_/usr/src/media_build/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-3.2.2-1-ARCH'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/usr/src/media_build/v4l'
make: *** [all] Error 2

I have tried on ubuntu 10.04, 11.04 & 11.10 32-bit all OK just does not work on Archlinux???
cheers
Rick
tricky720101
 
Posts: 2
Joined: Sun Nov 27, 2011 8:46 am

Re: Linux Driver for Kernel 3.x Released

Postby SergioDanielG » Wed Feb 15, 2012 9:39 am

I don't know exactly, but the problen is with kernel 3.2.x
TBS published a new version yesterday, download and try it: http://www.tbsdtv.com/download/document ... 120212.zip
I'm using this driver with kernel 3.2.0-1-amd64 in Debian.

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

Re: Linux Driver for Kernel 3.x Released

Postby Niels » Mon Jun 25, 2012 5:45 pm

Tried to upgrade to the latest kernel 3.5, but latest driver won't compile. It can't find a function called 'err'.
I had to revert to the old kernel 3.2.
Niels
 
Posts: 8
Joined: Mon Jun 18, 2012 9:13 pm

Re: Linux Driver for Kernel 3.x Released

Postby updatelee » Wed Jul 25, 2012 12:12 pm

Im sure youve figured this out already but here goes

sudo make clean
sudo v4l/tbs-x86_64.sh
sudo make
sudo make install

compiles fine on 3.5 for me w/ubuntu 12.04
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: Linux Driver for Kernel 3.x Released

Postby hda » Tue Oct 16, 2012 12:01 am

I'm having problems compiling the driver for kernel 3.6.2 x86_64 Arch Linux.

Everything is going fine until i get to this

Code: Select All Code
  CC [M]  /home/hda/tmp/tbs-linux-drivers_v120827/linux-tbs-drivers/v4l/ivtv-routing.o
  CC [M]  /home/hda/tmp/tbs-linux-drivers_v120827/linux-tbs-drivers/v4l/ivtv-cards.o
  CC [M]  /home/hda/tmp/tbs-linux-drivers_v120827/linux-tbs-drivers/v4l/ivtv-controls.o
  CC [M]  /home/hda/tmp/tbs-linux-drivers_v120827/linux-tbs-drivers/v4l/ivtv-driver.o
  CC [M]  /home/hda/tmp/tbs-linux-drivers_v120827/linux-tbs-drivers/v4l/ivtv-fileops.o
  CC [M]  /home/hda/tmp/tbs-linux-drivers_v120827/linux-tbs-drivers/v4l/ivtv-firmware.o
  CC [M]  /home/hda/tmp/tbs-linux-drivers_v120827/linux-tbs-drivers/v4l/ivtv-gpio.o
  CC [M]  /home/hda/tmp/tbs-linux-drivers_v120827/linux-tbs-drivers/v4l/ivtv-i2c.o
  CC [M]  /home/hda/tmp/tbs-linux-drivers_v120827/linux-tbs-drivers/v4l/ivtv-ioctl.o
  CC [M]  /home/hda/tmp/tbs-linux-drivers_v120827/linux-tbs-drivers/v4l/ivtv-irq.o
  CC [M]  /home/hda/tmp/tbs-linux-drivers_v120827/linux-tbs-drivers/v4l/ivtv-mailbox.o
  CC [M]  /home/hda/tmp/tbs-linux-drivers_v120827/linux-tbs-drivers/v4l/ivtv-queue.o
  CC [M]  /home/hda/tmp/tbs-linux-drivers_v120827/linux-tbs-drivers/v4l/ivtv-streams.o
  CC [M]  /home/hda/tmp/tbs-linux-drivers_v120827/linux-tbs-drivers/v4l/ivtv-udma.o
/home/hda/tmp/tbs-linux-drivers_v120827/linux-tbs-drivers/v4l/ivtv-udma.c: In function 'ivtv_udma_fill_sg_list':
/home/hda/tmp/tbs-linux-drivers_v120827/linux-tbs-drivers/v4l/ivtv-udma.c:60:44: error: 'KM_BOUNCE_READ' undeclared (first use in this function)
/home/hda/tmp/tbs-linux-drivers_v120827/linux-tbs-drivers/v4l/ivtv-udma.c:60:44: note: each undeclared identifier is reported only once for each function it appears in
/home/hda/tmp/tbs-linux-drivers_v120827/linux-tbs-drivers/v4l/ivtv-udma.c:60:4: error: too many arguments to function 'kmap_atomic'
In file included from include/linux/pagemap.h:10:0,
                 from /home/hda/tmp/tbs-linux-drivers_v120827/linux-tbs-drivers/v4l/ivtv-driver.h:51,
                 from /home/hda/tmp/tbs-linux-drivers_v120827/linux-tbs-drivers/v4l/ivtv-udma.c:23:
include/linux/highmem.h:66:21: note: declared here
/home/hda/tmp/tbs-linux-drivers_v120827/linux-tbs-drivers/v4l/ivtv-udma.c:62:37: error: macro "kunmap_atomic" passed 2 arguments, but takes just 1
/home/hda/tmp/tbs-linux-drivers_v120827/linux-tbs-drivers/v4l/ivtv-udma.c:62:4: error: 'kunmap_atomic' undeclared (first use in this function)
make[3]: *** [/home/hda/tmp/tbs-linux-drivers_v120827/linux-tbs-drivers/v4l/ivtv-udma.o] Error 1
make[2]: *** [_module_/home/hda/tmp/tbs-linux-drivers_v120827/linux-tbs-drivers/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-3.6.2-1-ARCH'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/hda/tmp/tbs-linux-drivers_v120827/linux-tbs-drivers/v4l'
make: *** [all] Error 2


Anyone have any ideas?
hda
 
Posts: 42
Joined: Thu Dec 09, 2010 2:21 am

Re: Linux Driver for Kernel 3.x Released

Postby SergioDanielG » Tue Oct 16, 2012 10:59 am

Hi hda.
Can you try sending an email to euro_support@tbsdtv.com and including this error?
I think this is a problem between the driver and new kernel, but in euro_support can confirm it (or not) and solve it.
Best regards.
SergioDanielG
 
Posts: 356
Joined: Tue May 31, 2011 3:53 am
Location: Tostado (SF) Argentina

Re: Linux Driver for Kernel 3.x Released

Postby updatelee » Tue Oct 16, 2012 9:39 pm

Kmap functions have changed in recent kernels, you can either patch it your self, Google it took find lots of threads, or just don't compile that module.

make menuconfig
Or
nano .config
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: Linux Driver for Kernel 3.x Released

Postby hda » Wed Oct 17, 2012 1:35 am

Thanks for the input but I have no idea which .config things to change.

I'll just have to wait for an updated package from tbs.

ARGH. I forgot how annoying these drivers can be as it's been a year since any problems.
hda
 
Posts: 42
Joined: Thu Dec 09, 2010 2:21 am

Re: Linux Driver for Kernel 3.x Released

Postby updatelee » Wed Oct 17, 2012 3:35 am

I'm not a huge fan of the fact is a separate tree either, if much rather a set of patches.

I've thought about supporting the tbs stuff and making my own patch set but they didn't make it easy with precompiled .o files that do trivial things, shame they couldn't just do the entire thing opensrc.
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: Linux Driver for Kernel 3.x Released

Postby hda » Wed Oct 17, 2012 4:26 am

Yes it's a shame.

The hardware seems really good but this is the first and last time I will be buying any pc parts without a driver in mainline kernel.
hda
 
Posts: 42
Joined: Thu Dec 09, 2010 2:21 am

PreviousNext

Return to Linux

Who is online

Users browsing this forum: No registered users and 3 guests