جدیدا یه صفحه پیدا کردم که گفته مشکلو حل می کنه . اینم متنش
First up, you'll need a working build environment, the kernel-headers and the kernel-source.
If you don't know which kernel you're running, you can find out with
uname -r
For instance, I've installed
sudo apt-get install build-essential linux-headers-2.6.31-17-generic linux-source-2.6.31 kernel-package
Continue with downloading the needed driver-file from Terratec.
wget
http://linux.terratec.de/files/Linux-Driver-for-T-Stick.rarIn order to unpack the archives, you'll need rar and rpm. (Actually, I'm not sure about rpm. You'll at least need the rpm2cpio which I think comes with the rpm package).
sudo apt-get install rar rpm
then
rar x Linux-Driver-for-T-Stick.rar
cd Linux_PC_AF9035_Afatech_2008.12.17/Linux-32bit_AF9035_20081217
rpm2cpio AF903x-32bit-2.0-1.src.rpm | cpio -idmv
tar -xzf AF903x_SRC.tar.gz
There! Now we got a folder called AF903x_SRC containing the source for the driver.
If you're running a kernel version between 2.6.16 and 2.6.27, all you should have to do is to compile and install the driver, although I haven't actually tested this.
I'm running 2.6.31, so I had to manually copy a few files.
Enter AF903x_SRC and copy the following files there. (I've unpacked my kernel source into /usr/src/linux-source-2.6.31)
cd AF903x_SRC
cp /usr/src/linux-source-2.6.31/drivers/media/dvb/dvb-core/demux.h ./
cp /usr/src/linux-source-2.6.31/drivers/media/dvb/dvb-core/dmxdev.h ./
cp /usr/src/linux-source-2.6.31/drivers/media/dvb/dvb-core/dvb_demux.h ./
cp /usr/src/linux-source-2.6.31/drivers/media/dvb/dvb-core/dvb_frontend.h ./
cp /usr/src/linux-source-2.6.31/drivers/media/dvb/dvb-core/dvb_net.h ./
cp /usr/src/linux-source-2.6.31/drivers/media/dvb/dvb-core/dvb_ringbuffer.h ./
cp /usr/src/linux-source-2.6.31/drivers/media/dvb/dvb-core/dvbdev.h ./
cp /usr/src/linux-source-2.6.31/drivers/media/dvb/dvb-usb/dvb-usb.h ./
cp /usr/src/linux-source-2.6.31/drivers/media/dvb/dvb-usb/dvb-usb-ids.h ./
cp /usr/src/linux-source-2.6.31/drivers/media/dvb/frontends/dvb-pll.h ./
ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ---
تا اینجاشو مشکلی نداشتم
Now we're ready to make and install...
make
sudo make install
depmod -a
reboot or do a
modprobe dvb_af903x
If you run
cat /var/log/messages | grep DVB
you should see
dvb-usb: found a 'Afatech USB2.0 DVB-T Recevier' in warm state.
DVB: registering new adapter (Afatech USB2.0 DVB-T Recevier)
DVB: registering adapter 0 frontend 0 (AF903X USB DVB-T)...
dvb-usb: Afatech USB2.0 DVB-T Recevier successfully initialized and connected.
Your Afatech USB card is now ready to be used. Happyhappyjoyjoy! =)
ولی از مرحله make به بعد رو نمی تونم انجام بدم ممکنه یه نفر برام توضیح بده