Forums » Tutorial and setups »
ubuntu 12.4 (lts) tvheadend and TBS 6981 card
Added by mr monkey about 11 years ago
Hi there, i have searched, and i have tried many methods for installing / compiling the drive found through google.
but after 4 or 5 reinstalls i still cannot get the drive loaded or shown in tvheadend.
ive followed guides and even made a script but it just never shows.
ive got the card currently installed in a prolian microserver. (does it need the extra power cable in all machines? although i have tried with and without)
in the end i found this
http://wiki.linuxmce.org/index.php/TBS6981_DVB-S2_Dual_Tuner_PCIe_Card
using nano i created a script in tmp, using this
[code]
#!/bin/sh
cd ~
wget http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v130927.zip
apt-get install y gcc rar tar gzip`uname -r` build-essential cvs libncurses5-dev gcc rar tar gzip unzip
aptitude install -y linux-headers
cd /usr/local/src/
rm tbs* -r
mkdir tbs6981
cd tbs6981
unzip ~/tbs-linux-drivers_v130927.zip
tar xjvf linux-tbs-drivers.tar.bz2
find linux-tbs-drivers -type d -exec chmod u+wx '{}' \;
find linux-tbs-drivers -name "*.sh" -o -name "*.pl" -exec chmod u+x '{}' \;
cd linux-tbs-drivers
./v4l/tbs-x86.sh
make
make install
cd ..
cp v4l-cx23885-avcore-01.fw /lib/firmware/
echo ""
echo "please reboot..."
echo ""[/code]
as you can see ive edited it to reflect the latest drivers. it installs correctly with no visible errors, and i reboot
but still nothing, if i do
dmesq I grep frontend (excuse typo my keyboard wont allow me to put in the right character)
i get no output
tvheadend wont show the card under tc cards either.
please note i am simply fresh install of ubuntu 12.04, install tv head end, and then try to get the drivers installed / compiled.
can anyone help please?
thanks
Replies (3)
RE: ubuntu 12.4 (lts) tvheadend and TBS 6981 card - Added by dan jericho about 11 years ago
Yep,
Im having issues getting the V4L-dvb drivers to install on ubuntu 12.04 LTS
Ive followed the guide and copied the CX24117 firmware into the /lib/firmware folder.
When I do a modprobe, it throws some errors and there is nothing in my adapters list within TVheadend.
Ive had this working before with the new firmware, and it seems to work ok on ubuntu 13
RE: ubuntu 12.4 (lts) tvheadend and TBS 6981 card - Added by Baum K about 11 years ago
Hello world,
TBS698x looks to have a big history with TVH.
Did you read the Adam Sutton 's news here => https://tvheadend.org/news/57
and also https://github.com/ljalves/linux_media/wiki
and also pay a beer,
BaumK
RE: ubuntu 12.4 (lts) tvheadend and TBS 6981 card - Added by mr monkey about 11 years ago
ok, so ive managed it, and have some instructions here for yall.
you can make a script if you like or just do each command from terminal / ssh
these are working and are current, but in the future you may need to change the driver filename (goto tbs website see what latest driver is called and change the commands accordingly.
tested on ubuntu 12.4 and 12.10 64bit.
cd ~ wget http://www.tbsdtv.com/download/document/common/tbs-linux- drivers_v130927.zip apt-get install -y gcc rar tar gzip aptitude install -y linux-headers-`uname -r` build-essential cvs libncurses5-dev gcc rar tar gzip unzip cd /usr/local/src/ rm tbs* -r mkdir tbs6981 cd tbs6981 unzip ~/tbs-linux-drivers_v130927.zip tar xjvf linux-tbs-drivers.tar.bz2 find linux-tbs-drivers -type d -exec chmod u+wx '{}' \; find linux-tbs-drivers -name "*.sh" -o -name "*.pl" -exec chmod u+x '{}' \; cd linux-tbs-drivers ./v4l/tbs-x86_64.sh make make install cd .. cp v4l-cx23885-avcore-01.fw /lib/firmware/ echo "" echo "please reboot..." echo ""
if you wish to creat a script
nano /tmp/install.sh copy and paste the above code into it ctrl+x Y for yes enter then chown <username> /tmp/install.sh e.g. chown root /tmp/install.sh chmod 755 /tmp/install.sh /tmp/install.sh
this will run the script, once finished it will alert you to reboot.
at this point you can install tvheadend
nano /etc/apt/sources.list
"add this deb"
deb http://apt.tvheadend.org/stable wheezy main
curl http://apt.tvheadend.org/repo.gpg.key | sudo apt-key add -
apt-get update
apt-get install tvheadend
hope this helps, im no linux god, but the above definatley works 100%
once done reboot system then check with this command
dmesg | grep cx23885
but i will guarantee your card will now be recognized in tvheadend
thanks, though i would post here as it took me a while, i know my way round linux a little but am certainly no god!!!