W dniu 20.03.2011 20:32, Wojciech Myrda pisze: > Hi all, > > I have purchased Prof_Revolution_DVB-S2_8000_PCI-E which is listed on > the wiki > http://linuxtv.org/wiki/index.php/Prof_Revolution_DVB-S2_8000_PCI-E as > not yet suppoorted, however I found out there is some work ongoing on > the driver for that card as the producer make the folowing patch > http://www.proftuners.com/sites/default/files/prof8000_0.patch available > on their website http://www.prof-tuners.pl/download8000.html This patch > would not apply agaist the recent Linux Kernel 2.6.38-rc8-next-20110314 > so I did a few quick fixes that moved few lines (patch in the > attachment). Now that it all applies like it should it fails with the > following error > > > CC [M] kernel/configs.o > CC [M] drivers/media/video/cx23885/cx23885-cards.o > CC [M] drivers/media/video/cx23885/cx23885-video.o > CC [M] drivers/media/video/cx23885/cx23885-vbi.o > CC [M] drivers/media/video/cx23885/cx23885-core.o > drivers/media/video/cx23885/altera-ci.h:71:12: warning: > âaltera_ci_tuner_resetâ defined but not used [-Wunused-function] > CC [M] drivers/media/video/cx23885/cx23885-i2c.o > CC [M] drivers/media/video/cx23885/cx23885-dvb.o > drivers/media/video/cx23885/cx23885-dvb.c:505:15: error: variable > âprof_8000_stb6100_configâ has initializer but incomplete type > drivers/media/video/cx23885/cx23885-dvb.c:506:2: error: unknown field > âtuner_addressâ specified in initializer > drivers/media/video/cx23885/cx23885-dvb.c:506:2: warning: excess > elements in struct initializer [enabled by default] > drivers/media/video/cx23885/cx23885-dvb.c:506:2: warning: (near > initialization for âprof_8000_stb6100_configâ) [enabled by default] > drivers/media/video/cx23885/cx23885-dvb.c:507:2: error: unknown field > ârefclockâ specified in initializer > drivers/media/video/cx23885/cx23885-dvb.c:507:2: warning: excess > elements in struct initializer [enabled by default] > drivers/media/video/cx23885/cx23885-dvb.c:507:2: warning: (near > initialization for âprof_8000_stb6100_configâ) [enabled by default] > drivers/media/video/cx23885/cx23885-dvb.c: In function âdvb_registerâ: > drivers/media/video/cx23885/cx23885-dvb.c:1134:8: error: > âstb6100_attachâ undeclared (first use in this function) > drivers/media/video/cx23885/cx23885-dvb.c:1134:8: note: each undeclared > identifier is reported only once for each function it appears in > drivers/media/video/cx23885/cx23885-dvb.c:1134:8: error: called object > â__aâ is not a function > drivers/media/video/cx23885/cx23885-dvb.c:1138:32: error: > âstb6100_set_freqâ undeclared (first use in this function) > drivers/media/video/cx23885/cx23885-dvb.c:1139:32: error: > âstb6100_get_freqâ undeclared (first use in this function) > drivers/media/video/cx23885/cx23885-dvb.c:1140:32: error: > âstb6100_set_bandwâ undeclared (first use in this function) > drivers/media/video/cx23885/cx23885-dvb.c:1141:32: error: > âstb6100_get_bandwâ undeclared (first use in this function) > drivers/media/video/cx23885/cx23885-dvb.c: At top level: > drivers/media/video/cx23885/altera-ci.h:71:12: warning: > âaltera_ci_tuner_resetâ defined but not used [-Wunused-function] > make[4]: *** [drivers/media/video/cx23885/cx23885-dvb.o] Error 1 > make[3]: *** [drivers/media/video/cx23885] Error 2 > make[2]: *** [drivers/media/video] Error 2 > make[1]: *** [drivers/media] Error 2 > make: *** [drivers] Error 2 > > Please help in making it work as my Kung Fu ends here > > Regards, > Wojciech > It turns ot that revised patch not only applies cleanly but compiles as well agaist Linux Kernel 2.6.38-rc8-next-20110321. Looking at dmesg everything is recognized properly as well. Do you guys think if it is possible to include it into the tree? mediapc linux-2.6.38 # cat ../dvb/prof8000_1.patch |patch -E -p2 (Stripping trailing CRs from patch.) patching file drivers/media/video/cx23885/cx23885-cards.c Hunk #1 succeeded at 183 (offset 14 lines). Hunk #2 succeeded at 445 (offset 53 lines). Hunk #3 succeeded at 932 (offset 111 lines). Hunk #4 succeeded at 1297 (offset 245 lines). (Stripping trailing CRs from patch.) patching file drivers/media/video/cx23885/cx23885-dvb.c Hunk #1 succeeded at 46 (offset -1 lines). (Stripping trailing CRs from patch.) patching file drivers/media/video/cx23885/cx23885.h mediapc linux-2.6.38 # make CHK include/linux/version.h CHK include/generated/utsrelease.h CALL scripts/checksyscalls.sh CHK include/generated/compile.h CC [M] drivers/media/video/cx23885/cx23885-cards.o CC [M] drivers/media/video/cx23885/cx23885-video.o CC [M] drivers/media/video/cx23885/cx23885-vbi.o CC [M] drivers/media/video/cx23885/cx23885-core.o drivers/media/video/cx23885/altera-ci.h:71:12: warning: âaltera_ci_tuner_resetâ defined but not used [-Wunused-function] CC [M] drivers/media/video/cx23885/cx23885-i2c.o CC [M] drivers/media/video/cx23885/cx23885-dvb.o drivers/media/video/cx23885/altera-ci.h:71:12: warning: âaltera_ci_tuner_resetâ defined but not used [-Wunused-function] CC [M] drivers/media/video/cx23885/cx23885-417.o CC [M] drivers/media/video/cx23885/cx23885-ioctl.o CC [M] drivers/media/video/cx23885/cx23885-ir.o CC [M] drivers/media/video/cx23885/cx23885-av.o CC [M] drivers/media/video/cx23885/cx23885-input.o CC [M] drivers/media/video/cx23885/cx23888-ir.o drivers/media/video/cx23885/cx23888-ir.c: In function âpulse_clocks_to_clock_dividerâ: drivers/media/video/cx23885/cx23888-ir.c:334:6: warning: variable âremâ set but not used [-Wunused-but-set-variable] CC [M] drivers/media/video/cx23885/netup-init.o CC [M] drivers/media/video/cx23885/cimax2.o CC [M] drivers/media/video/cx23885/netup-eeprom.o CC [M] drivers/media/video/cx23885/cx23885-f300.o LD [M] drivers/media/video/cx23885/cx23885.o Kernel: arch/x86/boot/bzImage is ready (#1) Building modules, stage 2. MODPOST 697 modules WARNING: modpost: Found 3 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' LD [M] drivers/media/video/cx23885/cx23885.ko Regards, Wojciech -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html