It's good there are sources... :) I made a progress in compiling the driver. I had to make a linux folder under /usr/src and then set V4LDIR=/usr/src. This made compiling go ahead. Now I hit some compiling problems I cannot solve (I have not found the strings like i.e. TDA10048_IF_3300 it looks for neither in driver nor in kernel sources) I get it they are defined in the v4l-dvb segment:
/share/dmz/hardware/Hauppauge/pvrusb2-mci-20090616/driver$ make make INSTALL_MOD_DIR=pvrusb2 -C /lib/modules/2.6.30-custom/build M=/share/dmz/hardware/Hauppauge/pvrusb2-mci-20090616/driver CONFIG_VIDEO_PVRUSB2=m CONFIG_VIDEO_PVRUSB2_24XXX=y CONFIG_VIDEO_PVRUSB2_SYSFS=y CONFIG_VIDEO_PVRUSB2_DVB=y CONFIG_VIDEO_PVRUSB2_DEBUGIFC=y CONFIG_VIDEO_ADV_DEBUG=y modules make[1]: Entering directory `/share/dmz/software/Linux/kernel/linux-2.6.30' CC [M] /share/dmz/hardware/Hauppauge/pvrusb2-mci-20090616/driver/pvrusb2-devattr.o /share/dmz/hardware/Hauppauge/pvrusb2-mci-20090616/driver/pvrusb2-devattr.c:326: error: unknown field ‘dtv6_if_freq_khz’ specified in initializer /share/dmz/hardware/Hauppauge/pvrusb2-mci-20090616/driver/pvrusb2-devattr.c:326: error: ‘TDA10048_IF_3300’ undeclared here (not in a function) /share/dmz/hardware/Hauppauge/pvrusb2-mci-20090616/driver/pvrusb2-devattr.c:326: warning: excess elements in struct initializer /share/dmz/hardware/Hauppauge/pvrusb2-mci-20090616/driver/pvrusb2-devattr.c:326: warning: (near initialization for ‘hauppauge_tda10048_config’) /share/dmz/hardware/Hauppauge/pvrusb2-mci-20090616/driver/pvrusb2-devattr.c:327: error: unknown field ‘dtv7_if_freq_khz’ specified in initializer /share/dmz/hardware/Hauppauge/pvrusb2-mci-20090616/driver/pvrusb2-devattr.c:327: error: ‘TDA10048_IF_3800’ undeclared here (not in a function) /share/dmz/hardware/Hauppauge/pvrusb2-mci-20090616/driver/pvrusb2-devattr.c:327: warning: excess elements in struct initializer /share/dmz/hardware/Hauppauge/pvrusb2-mci-20090616/driver/pvrusb2-devattr.c:327: warning: (near initialization for ‘hauppauge_tda10048_config’) /share/dmz/hardware/Hauppauge/pvrusb2-mci-20090616/driver/pvrusb2-devattr.c:328: error: unknown field ‘dtv8_if_freq_khz’ specified in initializer /share/dmz/hardware/Hauppauge/pvrusb2-mci-20090616/driver/pvrusb2-devattr.c:328: error: ‘TDA10048_IF_4300’ undeclared here (not in a function) /share/dmz/hardware/Hauppauge/pvrusb2-mci-20090616/driver/pvrusb2-devattr.c:328: warning: excess elements in struct initializer /share/dmz/hardware/Hauppauge/pvrusb2-mci-20090616/driver/pvrusb2-devattr.c:328: warning: (near initialization for ‘hauppauge_tda10048_config’) /share/dmz/hardware/Hauppauge/pvrusb2-mci-20090616/driver/pvrusb2-devattr.c:329: error: unknown field ‘clk_freq_khz’ specified in initializer /share/dmz/hardware/Hauppauge/pvrusb2-mci-20090616/driver/pvrusb2-devattr.c:329: error: ‘TDA10048_CLK_16000’ undeclared here (not in a function) /share/dmz/hardware/Hauppauge/pvrusb2-mci-20090616/driver/pvrusb2-devattr.c:329: warning: excess elements in struct initializer /share/dmz/hardware/Hauppauge/pvrusb2-mci-20090616/driver/pvrusb2-devattr.c:329: warning: (near initialization for ‘hauppauge_tda10048_config’) /share/dmz/hardware/Hauppauge/pvrusb2-mci-20090616/driver/pvrusb2-devattr.c:330: error: unknown field ‘disable_gate_access’ specified in initializer /share/dmz/hardware/Hauppauge/pvrusb2-mci-20090616/driver/pvrusb2-devattr.c:330: warning: excess elements in struct initializer /share/dmz/hardware/Hauppauge/pvrusb2-mci-20090616/driver/pvrusb2-devattr.c:330: warning: (near initialization for ‘hauppauge_tda10048_config’) make[2]: *** [/share/dmz/hardware/Hauppauge/pvrusb2-mci-20090616/driver/pvrusb2-devattr.o] Error 1 make[1]: *** [_module_/share/dmz/hardware/Hauppauge/pvrusb2-mci-20090616/driver] Error 2 make[1]: Leaving directory `/share/dmz/software/Linux/kernel/linux-2.6.30' make: *** [modules] Error 2 I found those definitions in a merge not long ago in linux/drivers/media/dvb/frontends/tda10048.h (http://www.mail-archive.com/[email protected]/msg04202.html) which aren't included in current stable 2.6.30 release. I should probably take out dvb and compile it? Aljaz _______________________________________________ pvrusb2 mailing list [email protected] http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2
