![](https://seccdn.libravatar.org/avatar/d630b6f0839531263edbe10257601743.jpg?s=120&d=mm&r=g)
Hallo, kann mir jemand helfen wie ich den Treiber installiert bekomme. Bitte eine Anleitung für einen Anfänger. Ich komme mit der Text Datei einfach nicht klar und weiß nicht wo und wie ich was eintragen ändern muss usw. *Textdatei:* Release Date: 2008-02-21, ver 0.0.2 RTL2831 Linux driver version 0.0.2 ver 0.0.2 a. for linux kernel version 2.6.21.4 b. support MXL5005s and MT2060 tuners (support tuner auto-detecting) c. support two IR types -- RC5 and NEC Q&A: 1. how to switch two IR types? modify "rtd2830u.c" in Line 11 and Line 12 ex1 : (support NEC) #define RTL2831U_NEC_PROTOCOL //#define RTL2831U_RC5_PROTOCOL ex2 : (support RC5) //#define RTL2831U_NEC_PROTOCOL #define RTL2831U_RC5_PROTOCOL 2. how to edit IR keymap? modify "rtd2830u.c" static struct dvb_usb_rc_key rtd2831u_nec_keys[] ==> NEC keymap static struct dvb_usb_rc_key rtd2831u_rc5_keys[] ==> RC5 keymap you should edit the IR reveived key codes and its mapping keyboard key(the last one) in the above two structure. ex: static struct dvb_usb_rc_key rtd2831u_nec_keys [] = { { 0x86, 0x79, KEY_A }, // " 0x4f, 0x50, 0x86, 0x79" IR code is mapped to keyboard key "A" { 0x93, 0x6c, KEY_B }, // " 0x4f, 0x50, 0x93, 0x6c" IR code is mapped to keyboard key "B" { 0x8f, 0x70, KEY_UP }, { 0x9d, 0x62, KEY_DOWN}, }; ****When receiving "0x4f, 0x50, 0x86, 0x79" IR codes, this driver ONLY checked the last two codes("0x86, 0x79") and mapped it to keyboard key "A". IR reference : http://www.cublog.cn/u/17564/showart_117278.html 3. how to change PID and VID? "rtd2831u.h" Line 19 and 20 4. how to complier this driver? Step a. copy all files to linux kernel 2.6.21.4 source code in drivers/media/dvb/dvb-usb Step b. add the following lines to Makefile in dvb-usb or you can refereence ex_Makefile. dvb-usb-rtl2831u-objs = math_mpi.o foundation.o demod_rtl2830.o tuner_demod_io.o tuner_mxl5005s.o mt_spuravoid.o \ mt_userdef.o mt2060_basic.o tuner.o MT2060Tuner.o rtd2830.o rtd2830u.o obj-$(CONFIG_DVB_USB_RTL2831U) += dvb-usb-rtl2831u.o Step c. add the following lines to Kconfig in dvb-usb or you can refereence ex_Kconfig. config DVB_USB_RTL2831U tristate "Realtek RTL2831U DVB-T USB2.0 support" depends on DVB_USB help Realtek RTL2831U DVB-T driver. Step d. 1. Choose the required modules, In KERNEL_DIR, % make menuconfig Device Drivers ---> Multimedia devices ---> Digital Video Broadcasting Devices ---> [*] DVB For Linux <M> DVB Core Support ................... <M> Support for various USB DVB devices-----> ................................. <M> Realtek RTL2831U DVB-T USB2.0 support % make modules % make modules_install 2. Installation % modprobe dvb-usb-rtl2831u 3. check %lsmod | grep dvb dvb_usb_rtl2831u dvb_usb dvb_core dvb_pll i2c_core 5. When you rebiuld dvb-usb-rtl2831u module, SHOULD clear all rtl2381 .o files --Otherwise you will load old modules. LG Ralf -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: opensuse-de+help@opensuse.org