my way of makeing it work
Clean install of mythbuntu 12.04 (64bit)
Update mythbuntu after installation
Download TBS driver of your need from TBS web page
Unzip it and untar it
sudo apt-get install unzip
sudo -s
cd /Downloads
unzip linux-tbs-driver.......version downloaded
tar xjvf linux-tbs-driver......version downloaded
I have copyed linux-tbs-drivers dir to /usr/local/src for building
cp linux-tbs-drivers /usr/local/src
cd linux-tbs-drivers
Download mutex patch
wget
http://www.vanbest.org/drupal6/sites/ww ... utex.patchTry to patch
patch -p1 < linux-2.6.38-dvb-mutex.patch
If you have error (I did) patch it manually. Here is how I didi it. First install gedit
sudo apt-get install gedit
gedit linux-2.6.38-dvb-mutex.patch
in new window
gedit linux-2.6.38/drivers/media/dvb/dvb-core/dvbdev.c
look for difference from line 83
these is part of pach file
@@ -83,8 +83,11 @@ static int dvb_device_open(struct inode *inode, struct file $
file->f_op = old_fops;
goto fail;
}
- if(file->f_op->open)
+ if(file->f_op->open) {
+ mutex_unlock(&dvbdev_mutex);
err = file->f_op->open(inode,file);
+ mutex_lock(&dvbdev_mutex);
These is part of dvbdev.c file
static int dvb_device_open(struct inode *inode, struct file $
file->f_op = old_fops;
goto fail;
}
if(file->f_op->open)
err = file->f_op->open(inode,file);
Add missing lines to look like pach file. double check save & exit
Now make your module
./v4l/tbs-x86_64.sh (for 64bit system)
make && make install
reboot
lsmod | grep dvb
see if your module is loaded. my is saa716x
Now sasc-ng. Pasted from dolot page with some changes
sudo -s
apt-get install linux-headers-`uname -r` build-essential subversion mercurial openssl gettext libssl-dev screen libv4l-dev
cd /usr/local/src
hg clone
http://85.17.209.13:6100/sccd /usr/local/src/sc
chmod +x contrib/sasc-ng/configure
chmod +x contrib/sasc-ng/dvbloopback/module/config_dvb.pl
cd /usr/local/src/sc/contrib/sasc-ng/
./configure --dvb-dir=/usr/local/src/linux-tbs-drivers
make
make module
rm /lib/modules/`uname -r`/misc/dvbloopback.ko
cd /usr/local/src/sc/contrib/sasc-ng/
cp sasc-ng /usr/bin
cp ./sc/PLUGINS/lib/* /usr/lib/
mkdir /lib/modules/`uname -r`/misc
/usr/bin/install dvbloopback.ko /lib/modules/`uname -r`/misc/
depmod
modprobe dvbloopback
lsmod | grep dvb
see if your dvbloopback module is loaded
Add your cardclient.conf
mkdir sc_files
cd sc_files
nano cardclient.conf
Add your lines, save & close
Stop backend of mythtv
service mythtv-backend stop
Now start sasc-ng
LD_LIBRARY_PATH=/usr/local/src/sc/contrib/sasc-ng/sc/PLUGINS/lib/ ./sasc-ng -j 0:1
Open new terminal window
start mythbackend
sudo service mythtv-backend start
go to Mythbackend application
add your new created card (in my case /adapter0/frontend1)
use it in input connection
scan or import channels
enjoy your hard labor.