# HG changeset patch # User Tomas Zeman # Date 1288164389 -7200 # Node ID 7546f67b14aa553fd50b79bd8015461ca5bddcfa # Parent 63202339228306af54127157b60f670e10ded033 Added README + recipe content diff -r 632023392283 -r 7546f67b14aa README --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README Wed Oct 27 09:26:29 2010 +0200 @@ -0,0 +1,12 @@ +This repository hosts Mercurial Queue patches against +http://linuxtv.org/hg/v4l-dvb to make realtek 2832u dvb-t receiver work under +linux. + +Sources and recipes are taken from following sites: + +https://bugs.launchpad.net/ubuntu/+source/me-tv/+bug/478379 +http://media.ubuntuusers.de/forum/attachments/2103272/090730_RTL2832U_LINUX_Ver1.1.rar + +Check the original authors/sources for license terms. + +Any changes made be me are in public domain. diff -r 632023392283 -r 7546f67b14aa recipe-478379.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/recipe-478379.txt Wed Oct 27 09:26:29 2010 +0200 @@ -0,0 +1,66 @@ +Contents of recipe made by user criticalmess +(https://launchpad.net/~criticalmess) taken from +https://bugs.launchpad.net/ubuntu/+source/me-tv/+bug/478379 : +----------------------------------------------------------------------- + +me-tv does not work with rtl2832u-dvb-t-chip Bug #478379 + +How did i installed it: + +sudo apt-get install unrar build-essential mercurial +mkdir digivox; cd digivox +hg clone http://linuxtv.org/hg/v4l-dvb +wget http://media.ubuntuusers.de/forum/attachments/2103272/090730_RTL2832U_LINUX_Ver1.1.rar +unrar x -ep 090730_RTL2832U_LINUX_Ver1.1.rar ./v4l-dvb/linux/drivers/media/dvb/dvb-usb +cd v4l-dvb +for i in ind . -name *.pl do chmod +x $i ; done +gedit ./linux/drivers/media/dvb/dvb-usb/Makefile + +(Insertion nearly to the end of file:) +dvb-usb-rtl2832u-objs = demod_rtl2832.o dvbt_demod_base.o dvbt_nim_base.o foundation.o math_mpi.o nim_rtl2832_mxl5007t.o nim_rtl2832_fc2580.o nim_rtl2832_mt2266.o rtl2832u.o rtl2832u_fe.o rtl2832u_io.o tuner_mxl5007t.o tuner_fc2580.o tuner_mt2266.o tuner_tua9001.o nim_rtl2832_tua9001.o +obj-$(CONFIG_DVB_USB_RTL2832U) += dvb-usb-rtl2832u.o + +gedit ./linux/drivers/media/dvb/dvb-usb/Kconfig + +(Insertion to the end of file:) +config DVB_USB_RTL2832U + tristate "Realtek RTL2832U DVB-T USB2.0 support" + depends on DVB_USB + help + Realtek RTL2832U DVB-T driver + +gedit ./linux/drivers/media/dvb/dvb-usb/rtl2832u.c + +(1. Remove // of line 12:) +//DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr); + +(2. replace line 61-63 by:) + if ( ( 0== dvb_usb_device_init(intf,&rtl2832u_1st_properties,THIS_MODULE,NULL,adapter_nr) )|| + ( 0== dvb_usb_device_init(intf,&rtl2832u_2nd_properties,THIS_MODULE,NULL,adapter_nr) ) || + ( 0== dvb_usb_device_init(intf,&rtl2832u_3th_properties,THIS_MODULE,NULL,adapter_nr) )) + +gedit ./linux/drivers/media/dvb/dvb-usb/tuner_tua9001.c + +(search for 19.2 AND 20.48 and replace it by 19_2 AND 20_48:) +#elif defined(CRYSTAL_19.2_MHZ) /* Frequency 19.2 MHz */ +#elif defined(CRYSTAL_19_2_MHZ) /* Frequency 19.2 MHz */ +#elif defined(CRYSTAL_20.48_MHZ) /* Frequency 20,48 MHz */ +#elif defined(CRYSTAL_20_48_MHZ) /* Frequency 20,48 MHz */ + +make + +STRG^C after some secs. + +gedit ./v4l/.config + +(replace FIREDTV=m by FIREDTV=n:) +CONFIG_DVB_FIREDTV=m +CONFIG_DVB_FIREDTV=n + +make clean +make +sudo make install + +After that the stick is properly found, registered and is working with kaffeine. But me-tv claims bad signal. + +