Building your own DVB box

At last I managed to build up my mythTV box using Azureware AD-SP200 "Twinhan 1027" for some reason this card driver still not in V4L yet, and I hope it will be included soon, so you will need to patch you 2.6.24.4 kernel , compile and at last configure mythTV backend, frontend and ubuntu so let us start.

Download kernel

wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.24.4.tar.bz2

Extract Kernel

tar zxvf linux-2.6.24.4.tar.bz2

copy you current configurations and enable the configurations

cp /boot/config-your-current-kernel-version-name /path/to/your/2.6.24.4/kernel/.config
make oldconfig

and accept the configurations Get the patch from the attachment here. patch your kernel

cd linux-2.6.24.4
patch -p1 < /path/to/patch/kernel-2.6.24.4-twinhan.patch

build the debian package for the kernel

fakeroot make-kpkg --initrd --append-to-version=dvb kernel-image kernel-headers

I'll call the new kernel dvb after this command finished you will have you kernel packages and to install we do

dpkg -i linux-headers-2.6.24.4dvb_2.6.24.4dvb-10.00.Custom_i386.deb
dpkg -i linux-image-2.6.24.4dvb_2.6.24.4dvb-10.00.Custom_i386.deb

reboot to the 2.6.24.4 kernel and everything should be working. now let us configure mythTV for NileSat installing mythtv

apt-get install mythtv-backend mythtv-frontend

it will ask for your mysql root password.

Configuring MythTV Backend:-

Go to Capture Cards ----> New Capture Card under card type chose DVB DTV capture card (v3.x) device number 0 then in Diseqc chose LNB and then LNB present " Universal (Europe) or custom and add the power of your LNB then click finish and finish in the capture card now go to video source Add new video source I choose source name: antenna listing grabber: Transmitted guide only (EIT) Channel Frequency table try-all then finish Input connections video source will be antenna then scan channels now we have 2 options

1-adding the transports manual, go to Channel editor then Transport editor, add all the frequency from lyngsat. Go to http://www.lyngsat.com/nile.html and write the transports you need into the transport editor. then Channel scanner and chose scan from all transports list.

2- adding the transports via channels.conf file, the file is attached, in channel scanner chose import from channels.conf and then write down your channels.conf path. and now are are done.

Configuring the frontend:-

open your frontend add the mysql connection if it is not there by default " the mysql connection info at /etc/mythtv/mysql.txt then click watch tv and you should be happy. The only messing thing is to get the Remote control working, but seems it will not work with LIRC. So you can buy any generic remote and use lirc and enjoy remote + mythtv. so now the setup allowes me to watch any channel I want anywhere I want as long as i have my WI-FI covrage on my house .... PC connected to the LNB via the DVB card and running mythtv-backend, my Laptop connected to the PC via WI-FI and running mythtv-frontend.

more info always at http://www.linuxtv.org

AttachmentSize
kernel-2.6.24.4-twinhan.patch676.61 KB
channels.conf23.25 KB

thanks

thanks Sherif for confirming me that this card works with Linux, btw I met u many times b4 since 5 years, u won't remember me

:-)

Glad to help, you can remind me and i'll do my best to remember you, may be at least giving me your name and where we met and what we were talking about ?
Regards,

I did the same with kernel 2.6.27.10 but!!

Thank you indeed for the great instructions.. After following all the steps and my DVB card responded extremely well. I got a problem which is; that I lost my eth0 driver
Atheros atl2.ko module and still can't install it..( deb files and install from the source)..hope you have got an answer for me..
Have a great day

Error messsage

seems you did not compile your NIC driver into the kernel, what error message happens when try to modprobe the driver?

I'm still trying..

Thank you..First I tried ifconfig, I didn't see the eth0, tried modprobe atl1e which is supposed to be the module it found no module, I checked in lib/modules/'the kernel 2.6.27.10/drivers/net/atl1e... I found the module there atl1e.ko ..from command insmod install atl1e.ko (No module found) I checked modprobe list in etc..no eth0 was found
I tried to install it through source src/make install..it didn't work..So how to compile the NIC driver? I appreciate your help

the drivers included with

the drivers included with the kernel or it was external packages / sources u compiled ?

I tried both

I tried the external and compiling from source
_I tried patching and compiling from within Debian lenny with the drivers included as packed deb modules.
Then I tried Kubuntu 8.04.2 which already has no drivers for atheros eth0, and from within kubuntu
I tried compiling without a success. Today I changed my ethernet card with easily recognised one
I will try tonight to patch and compile again..
Wish me luck..and thank you :)