Forums » Tutorial and setups »
TBS6281 on linux kernel 4.2
Added by Robert James about 9 years ago
I have a TBS6281 card which previously worked well on kernel 3.x but now I upgraded to ubuntu 15.10 I am having issues.
I tried both the open source and the closed source method from [[http://www.linuxtv.org/wiki/index.php/TBS6280]]
input
lspci -v | grep --after-context=10 7160
output
02:00.0 Multimedia controller: Philips Semiconductors SAA7160 (rev 03) Subsystem: Device 6281:0001
When I try the open source method, make fails because of a Perl version mismatch.
When I try the closed source method, the compile gives me WARNINGS for the specific things I am interested in:
WARNING: could not find /linux-tbs-drivers/v4l/.tbs62x0fe_driver.o.cmd for /linux-tbs-drivers/v4l/tbs62x0fe_driver.o WARNING: could not find /linux-tbs-drivers/v4l/.tbs62x1fe_driver.o.cmd for /linux-tbs-drivers/v4l/tbs62x1fe_driver.o
either way I'm stuck, could anyone offer some help?
input
uname -ar
output
Linux porcupine 4.2.0-16-generic #19-Ubuntu SMP Thu Oct 8 15:35:06 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Replies (2)
RE: TBS6281 on linux kernel 4.2 - Added by Alban Colley about 9 years ago
Hi Robert
Is this similar to the error you saw?
./scripts/rmmod.pl check Can't locate Proc/ProcessTable.pm in @INC (you may need to install the Proc::ProcessTable module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at ./scripts/rmmod.pl line 4. BEGIN failed--compilation aborted at ./scripts/rmmod.pl line 4. Makefile:51: recipe for target 'default' failed make[1]: *** [default] Error 2 make[1]: Leaving directory '/root/media_build/v4l' Makefile:26: recipe for target 'all' failed make: *** [all] Error 2
If so, the resolution to this error is described in the following link:
As described above, installing the libproc-processtable-perl module will resolve this.
sudo apt-get update sudo apt-get install libproc-processtable-perl
I managed to get this card working on Unbuntu 15.10 just last week using the opensource drivers. This is the procedure I followed:
sudo apt-get update sudo apt-get install build-essential git patchutils linux-headers-$(uname -r) libproc-processtable-perl git clone https://github.com/ljalves/media_build.git git clone --depth=1 https://github.com/ljalves/linux_media.git -b latest ./media cd media_build make dir DIR=../media make distclean make sudo make install sudo make rmmod sudo modprobe saa716x_budget int_type=1
RE: TBS6281 on linux kernel 4.2 - Added by Robert James about 9 years ago
Hi there,
Thank you for your input. I did have the extra perl module installed but it turns out the problem was perl. Something got broken in the ubuntu upgrade from 15.04 to 15.10.
sudo apt-get install --reinstall perl perl-modules perl-base
that did the trick.
Thank you for putting me on the right track.