Method A](http://www.linuxtv.org/wiki/index.php/EzCap_DVB_T_Stick)
opensuse 12.2
kernel 3.4.6-2.10-pae
result : compile faild
1. Install ITEtech AF9035 Driver
2. Remove ITEtech AF9035 Driver
Please Input Your Choise:
1
Please wait a minute
cp: cannot stat ‘api/.*.o.cmd’: No such file or directory
make -C /lib/modules/3.4.6-2.10-pae/build SUBDIRS=/AF903x_SRC modules
make[1]: Entering directory `/usr/src/linux-3.4.6-2.10-obj/i386/pae'
CC [M] /AF903x_SRC/af903x-core.o
In file included from /AF903x_SRC/type.h:4:0,
from /AF903x_SRC/demodulator.h:5,
from /AF903x_SRC/af903x.h:16,
from /AF903x_SRC/af903x-core.c:1:
/AF903x_SRC/userdef.h:11:0: warning: "NULL" redefined [enabled by default]
In file included from /usr/src/linux-3.4.6-2.10/include/linux/posix_types.h:4:0,
from /usr/src/linux-3.4.6-2.10/include/linux/types.h:17,
from /usr/src/linux-3.4.6-2.10/include/linux/sysinfo.h:4,
from /usr/src/linux-3.4.6-2.10/include/linux/kernel.h:4,
from /AF903x_SRC/af903x.h:6,
from /AF903x_SRC/af903x-core.c:1:
/usr/src/linux-3.4.6-2.10/include/linux/stddef.h:9:0: note: this is the location of the previous definition
In file included from /AF903x_SRC/demodulator.h:5:0,
from /AF903x_SRC/af903x.h:16,
from /AF903x_SRC/af903x-core.c:1:
/AF903x_SRC/type.h:6:0: warning: "IN" redefined [enabled by default]
In file included from /AF903x_SRC/type.h:4:0,
from /AF903x_SRC/demodulator.h:5,
from /AF903x_SRC/af903x.h:16,
from /AF903x_SRC/af903x-core.c:1:
/AF903x_SRC/userdef.h:21:0: note: this is the location of the previous definition
In file included from /AF903x_SRC/demodulator.h:5:0,
from /AF903x_SRC/af903x.h:16,
from /AF903x_SRC/af903x-core.c:1:
/AF903x_SRC/type.h:7:0: warning: "OUT" redefined [enabled by default]
In file included from /AF903x_SRC/type.h:4:0,
from /AF903x_SRC/demodulator.h:5,
from /AF903x_SRC/af903x.h:16,
from /AF903x_SRC/af903x-core.c:1:
/AF903x_SRC/userdef.h:22:0: note: this is the location of the previous definition
/AF903x_SRC/af903x-core.c: In function ‘af903x_suspend’:
/AF903x_SRC/af903x-core.c:51:2: warning: passing argument 2 of ‘DL_CheckTunerInited’ from incompatible pointer type [enabled by default]
In file included from /AF903x_SRC/af903x-core.c:1:0:
/AF903x_SRC/af903x.h:217:14: note: expected ‘enum Bool *’ but argument is of type ‘bool *’
/AF903x_SRC/af903x-core.c:52:2: warning: passing argument 2 of ‘DL_CheckTunerInited’ from incompatible pointer type [enabled by default]
In file included from /AF903x_SRC/af903x-core.c:1:0:
/AF903x_SRC/af903x.h:217:14: note: expected ‘enum Bool *’ but argument is of type ‘bool *’
In file included from /AF903x_SRC/af903x.h:18:0,
from /AF903x_SRC/af903x-core.c:1:
/AF903x_SRC/af903x-core.c: At top level:
/AF903x_SRC/firmware.h:28:13: warning: ‘Firmware_codes’ defined but not used -Wunused-variable]
/AF903x_SRC/firmware.h:10571:16: warning: ‘Firmware_segments’ defined but not used -Wunused-variable]
/AF903x_SRC/firmware.h:10586:13: warning: ‘Firmware_new_partitions’ defined but not used -Wunused-variable]
/AF903x_SRC/firmware.h:10595:13: warning: ‘Firmware_scriptSets’ defined but not used -Wunused-variable]
/AF903x_SRC/firmware.h:10600:17: warning: ‘Firmware_scripts’ defined but not used -Wunused-variable]
/AF903x_SRC/af903x-core.c:41:12: warning: ‘af903x_suspend’ defined but not used -Wunused-function]
/AF903x_SRC/af903x-core.c:64:12: warning: ‘af903x_resume’ defined but not used -Wunused-function]
CC [M] /AF903x_SRC/af903x-devices.o
In file included from /AF903x_SRC/type.h:4:0,
from /AF903x_SRC/demodulator.h:5,
from /AF903x_SRC/af903x.h:16,
from /AF903x_SRC/af903x-devices.c:1:
/AF903x_SRC/userdef.h:11:0: warning: "NULL" redefined [enabled by default]
In file included from /usr/src/linux-3.4.6-2.10/include/linux/posix_types.h:4:0,
from /usr/src/linux-3.4.6-2.10/include/linux/types.h:17,
from /usr/src/linux-3.4.6-2.10/include/linux/sysinfo.h:4,
from /usr/src/linux-3.4.6-2.10/include/linux/kernel.h:4,
from /AF903x_SRC/af903x.h:6,
from /AF903x_SRC/af903x-devices.c:1:
/usr/src/linux-3.4.6-2.10/include/linux/stddef.h:9:0: note: this is the location of the previous definition
In file included from /AF903x_SRC/demodulator.h:5:0,
from /AF903x_SRC/af903x.h:16,
from /AF903x_SRC/af903x-devices.c:1:
/AF903x_SRC/type.h:6:0: warning: "IN" redefined [enabled by default]
In file included from /AF903x_SRC/type.h:4:0,
from /AF903x_SRC/demodulator.h:5,
from /AF903x_SRC/af903x.h:16,
from /AF903x_SRC/af903x-devices.c:1:
/AF903x_SRC/userdef.h:21:0: note: this is the location of the previous definition
In file included from /AF903x_SRC/demodulator.h:5:0,
from /AF903x_SRC/af903x.h:16,
from /AF903x_SRC/af903x-devices.c:1:
/AF903x_SRC/type.h:7:0: warning: "OUT" redefined [enabled by default]
In file included from /AF903x_SRC/type.h:4:0,
from /AF903x_SRC/demodulator.h:5,
from /AF903x_SRC/af903x.h:16,
from /AF903x_SRC/af903x-devices.c:1:
/AF903x_SRC/userdef.h:22:0: note: this is the location of the previous definition
/AF903x_SRC/af903x-devices.c: In function ‘af903x_frontend_attach’:
/AF903x_SRC/af903x-devices.c:93:6: error: ‘struct dvb_usb_adapter’ has no member named ‘fe’
/AF903x_SRC/af903x-devices.c:95:13: error: ‘struct dvb_usb_adapter’ has no member named ‘fe’
/AF903x_SRC/af903x-devices.c: In function ‘af903x_tuner_attach’:
/AF903x_SRC/af903x-devices.c:105:19: error: ‘struct dvb_usb_adapter’ has no member named ‘fe’
/AF903x_SRC/af903x-devices.c: At top level:
/AF903x_SRC/af903x-devices.c:162:5: error: unknown field ‘caps’ specified in initializer
/AF903x_SRC/af903x-devices.c:163:5: error: unknown field ‘pid_filter_count’ specified in initializer
/AF903x_SRC/af903x-devices.c:163:5: warning: initialization makes pointer from integer without a cast [enabled by default]
/AF903x_SRC/af903x-devices.c:163:5: warning: (near initialization for ‘af903x_properties[0].adapter[0].frontend_ctrl’) [enabled by default]
/AF903x_SRC/af903x-devices.c:164:5: error: unknown field ‘pid_filter’ specified in initializer
/AF903x_SRC/af903x-devices.c:164:5: warning: initialization from incompatible pointer type [enabled by default]
/AF903x_SRC/af903x-devices.c:164:5: warning: (near initialization for ‘af903x_properties[0].adapter[0].fe_ioctl_override’) [enabled by default]
/AF903x_SRC/af903x-devices.c:165:5: error: unknown field ‘pid_filter_ctrl’ specified in initializer
/AF903x_SRC/af903x-devices.c:165:5: warning: initialization makes integer from pointer without a cast [enabled by default]
/AF903x_SRC/af903x-devices.c:165:5: warning: (near initialization for ‘af903x_properties[0].adapter[0].num_frontends’) [enabled by default]
/AF903x_SRC/af903x-devices.c:166:5: error: unknown field ‘frontend_attach’ specified in initializer
/AF903x_SRC/af903x-devices.c:166:5: warning: missing braces around initializer -Wmissing-braces]
/AF903x_SRC/af903x-devices.c:166:5: warning: (near initialization for ‘af903x_properties[0].adapter[0].fe’) -Wmissing-braces]
/AF903x_SRC/af903x-devices.c:166:5: warning: initialization makes integer from pointer without a cast [enabled by default]
/AF903x_SRC/af903x-devices.c:166:5: warning: (near initialization for ‘af903x_properties[0].adapter[0].fe[0].caps’) [enabled by default]
/AF903x_SRC/af903x-devices.c:167:5: error: unknown field ‘tuner_attach’ specified in initializer
/AF903x_SRC/af903x-devices.c:167:5: warning: excess elements in struct initializer [enabled by default]
/AF903x_SRC/af903x-devices.c:167:5: warning: (near initialization for ‘af903x_properties[0].adapter[0]’) [enabled by default]
/AF903x_SRC/af903x-devices.c:168:5: error: unknown field ‘streaming_ctrl’ specified in initializer
/AF903x_SRC/af903x-devices.c:168:5: warning: excess elements in struct initializer [enabled by default]
/AF903x_SRC/af903x-devices.c:168:5: warning: (near initialization for ‘af903x_properties[0].adapter[0]’) [enabled by default]
/AF903x_SRC/af903x-devices.c:169:5: error: unknown field ‘stream’ specified in initializer
/AF903x_SRC/af903x-devices.c:169:5: error: extra brace group at end of initializer
/AF903x_SRC/af903x-devices.c:169:5: error: (near initialization for ‘af903x_properties[0].adapter[0]’)
/AF903x_SRC/af903x-devices.c:173:6: error: extra brace group at end of initializer
/AF903x_SRC/af903x-devices.c:173:6: error: (near initialization for ‘af903x_properties[0].adapter[0]’)
/AF903x_SRC/af903x-devices.c:174:7: error: extra brace group at end of initializer
/AF903x_SRC/af903x-devices.c:174:7: error: (near initialization for ‘af903x_properties[0].adapter[0]’)
/AF903x_SRC/af903x-devices.c:178:5: warning: excess elements in struct initializer [enabled by default]
/AF903x_SRC/af903x-devices.c:178:5: warning: (near initialization for ‘af903x_properties[0].adapter[0]’) [enabled by default]
/AF903x_SRC/af903x-devices.c:181:28: error: unknown field ‘caps’ specified in initializer
/AF903x_SRC/af903x-devices.c:182:28: error: unknown field ‘pid_filter_count’ specified in initializer
/AF903x_SRC/af903x-devices.c:182:28: warning: initialization makes pointer from integer without a cast [enabled by default]
/AF903x_SRC/af903x-devices.c:182:28: warning: (near initialization for ‘af903x_properties[0].adapter[1].frontend_ctrl’) [enabled by default]
/AF903x_SRC/af903x-devices.c:183:28: error: unknown field ‘pid_filter’ specified in initializer
/AF903x_SRC/af903x-devices.c:183:28: warning: initialization from incompatible pointer type [enabled by default]
/AF903x_SRC/af903x-devices.c:183:28: warning: (near initialization for ‘af903x_properties[0].adapter[1].fe_ioctl_override’) [enabled by default]
/AF903x_SRC/af903x-devices.c:184:28: error: unknown field ‘pid_filter_ctrl’ specified in initializer
/AF903x_SRC/af903x-devices.c:184:28: warning: initialization makes integer from pointer without a cast [enabled by default]
/AF903x_SRC/af903x-devices.c:184:28: warning: (near initialization for ‘af903x_properties[0].adapter[1].num_frontends’) [enabled by default]
/AF903x_SRC/af903x-devices.c:185:5: error: unknown field ‘frontend_attach’ specified in initializer
/AF903x_SRC/af903x-devices.c:185:5: warning: initialization makes integer from pointer without a cast [enabled by default]
/AF903x_SRC/af903x-devices.c:185:5: warning: (near initialization for ‘af903x_properties[0].adapter[1].fe[0].caps’) [enabled by default]
/AF903x_SRC/af903x-devices.c:186:5: error: unknown field ‘tuner_attach’ specified in initializer
/AF903x_SRC/af903x-devices.c:186:5: warning: excess elements in struct initializer [enabled by default]
/AF903x_SRC/af903x-devices.c:186:5: warning: (near initialization for ‘af903x_properties[0].adapter[1]’) [enabled by default]
/AF903x_SRC/af903x-devices.c:187:5: error: unknown field ‘streaming_ctrl’ specified in initializer
/AF903x_SRC/af903x-devices.c:187:5: warning: excess elements in struct initializer [enabled by default]
/AF903x_SRC/af903x-devices.c:187:5: warning: (near initialization for ‘af903x_properties[0].adapter[1]’) [enabled by default]
/AF903x_SRC/af903x-devices.c:188:5: error: unknown field ‘stream’ specified in initializer
/AF903x_SRC/af903x-devices.c:188:5: error: extra brace group at end of initializer
/AF903x_SRC/af903x-devices.c:188:5: error: (near initialization for ‘af903x_properties[0].adapter[1]’)
/AF903x_SRC/af903x-devices.c:192:6: error: extra brace group at end of initializer
/AF903x_SRC/af903x-devices.c:192:6: error: (near initialization for ‘af903x_properties[0].adapter[1]’)
/AF903x_SRC/af903x-devices.c:193:10: error: extra brace group at end of initializer
/AF903x_SRC/af903x-devices.c:193:10: error: (near initialization for ‘af903x_properties[0].adapter[1]’)
/AF903x_SRC/af903x-devices.c:197:5: warning: excess elements in struct initializer [enabled by default]
/AF903x_SRC/af903x-devices.c:197:5: warning: (near initialization for ‘af903x_properties[0].adapter[1]’) [enabled by default]
In file included from /AF903x_SRC/af903x.h:18:0,
from /AF903x_SRC/af903x-devices.c:1:
/AF903x_SRC/firmware.h:28:13: warning: ‘Firmware_codes’ defined but not used -Wunused-variable]
/AF903x_SRC/firmware.h:10571:16: warning: ‘Firmware_segments’ defined but not used -Wunused-variable]
/AF903x_SRC/firmware.h:10586:13: warning: ‘Firmware_new_partitions’ defined but not used -Wunused-variable]
/AF903x_SRC/firmware.h:10595:13: warning: ‘Firmware_scriptSets’ defined but not used -Wunused-variable]
/AF903x_SRC/firmware.h:10600:17: warning: ‘Firmware_scripts’ defined but not used -Wunused-variable]
/AF903x_SRC/af903x-devices.c: In function ‘af903x_frontend_attach’:
/AF903x_SRC/af903x-devices.c:96:1: warning: control reaches end of non-void function -Wreturn-type]
make[4]: *** [/AF903x_SRC/af903x-devices.o] Error 1
make[3]: *** [_module_/AF903x_SRC] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-3.4.6-2.10-obj/i386/pae'
make: *** [default] Error 2
make error
Method B
opensuse 12.2
kernel 3.4.6-2.10-pae
result : make install successful but tuning failed
#git clone git://linuxtv.org/media_build.git
#cd media_build
#./build
#make install
cat /var/log/messages | grep DVB
Nov 19 00:27:53 linux-an8c kernel: 13.977173] DVB: registering new adapter (Afatech AF9035 reference design)
Nov 19 00:27:53 linux-an8c kernel: 14.015108] usb 1-2: DVB: registering adapter 0 frontend 0 (Afatech AF9033 (DVB-T))…