I have stopped the development in the second archive for splitting off the tuner code. I succeeded in understanding the code, and where to put the callbacks. However, actually splitting the driver is more work than I expected. Furthermore, nobody reacted with a card with a mxl500x tuner. Putting any code back into the archive without testing for both main configurations does not seem a good idea. I have just synchronized the archive with linuxtv.org/hg/v4l-dvb http://linuxtv.org/hg/~jhoogenraad/rtl2831-r2 I suggest we call it a day, and let that branch persist for a while. Jan Hoogenraad wrote: > There are new drivers posted for the Freecom / Conceptronic / Realtek > cards on: > http://linuxtv.org/hg/~jhoogenraad/rtl2831-r2 > > PLEASE FETCH AND TEST THIS VERSION > > The code as gotten from Realtek, and found on the old link, does not > compile with other current v4l sources anymore. Please stiop using: > http://linuxtv.org/hg/~mchehab/rtl2831 > > This code is recently synchronised with the mail v4l line, and needs > testing. Compared to the original code, a switch for the IR type is > added. It can now be selected using modprobe. For example if you need > type 2: unload the automatically loaded driver, and reloca the good codes. > > sudo modprobe -r dvb_usb_rtl2831u > sudo modprobe dvb_usb_rtl2831u ir_protocol=2 > > ----------------- > The following devices are supported (numbers and names do NOT correspond): > grep rtl2831 /lib/modules/2.6.24-16-generic/modules.usbmap | sed -e > 's/0x0000.*$//' -e 's/^.*0x0003//' > 0x0bda 0x2831 > 0x2304 0x022b > 0x13d3 0x3216 > 0x13d3 0x3220 > 0x13d3 0x3236 > 0x13d3 0x3238 > 0x13d3 0x3244 > 0x08dd 0x2103 > 0x185b 0x0100 > 0x1a46 0x1601 > 0x14aa 0x0160 > > .name = "RTL2831U DVB-T USB2.0 DEVICE", > .name = "RTL2831U DVB-T USB2.0 DEVICE", > .name = "DVB-T TV-Tuner Card-R", > .name = "VideoMate TV U100", > .name = "Vestel DVB-T TV Card", > .name = "Freecom USB 2.0 DVB-T Device", > .name = "DTV-DVB UDTT 7047-USB 2.0 DVB-T Driver", > .name = "DTV-DVB UDTT 7047M-USB 2.0 DVB-T Driver", > .name = "DTV-DVB UDTT 7047A-USB 2.0 DVB-T Driver", > .name = "DTV-DVB UDTT 704L-USB 2.0 DVB-T Driver", > .name = "DTV-DVB UDTT 7047Z-USB 2.0 DVB-T Driver", > > ------------- > I have started a second archive for splitting off the tuner code. > For the mxl5005s tuner, this should be straightforward, as the code > found its way into the mainstream v4l already. > > However, I ran into problems with the mt2060 (which is the tuner I own). > In the function MT2060_LocateIF1 is making this hard. > This function doe some sort of calibration, and there is both internal > data from the tuner required, and input from the demodulator. > > I don't see yet how we can put this into the framework of the current > struct dvb_tuner_ops from dev_frontend.h. > > I'd appreciate some help from somebody more proficient in splitting > drivers. > > > > -- Jan Hoogenraad Hoogenraad Interface Services Postbus 2717 3500 GS Utrecht _______________________________________________ linux-dvb mailing list linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb