Mám Ubuntu 10.04 a DVB-T tuner do USB af9015, postupoval jsem podle návodu od pavel81, ale bohužel po pár minutách kompilování běh make skončí s chybami:
/home/krato/dvb-t/af9015/v4l/af9015.c: In function 'af9015_read_config':
/home/krato/dvb-t/af9015/v4l/af9015.c:749: error: 'af9015_rc_keys_a_link' undeclared (first use in this function)
/home/krato/dvb-t/af9015/v4l/af9015.c:749: error: (Each undeclared identifier is reported only once
/home/krato/dvb-t/af9015/v4l/af9015.c:749: error: for each function it appears in.)
/home/krato/dvb-t/af9015/v4l/af9015.c:751: warning: type defaults to 'int' in declaration of 'type name'
/home/krato/dvb-t/af9015/v4l/af9015.c:751: warning: type defaults to 'int' in declaration of 'type name'
/home/krato/dvb-t/af9015/v4l/af9015.c:751: error: negative width in bit-field '<anonymous>'
/home/krato/dvb-t/af9015/v4l/af9015.c:758: error: 'af9015_rc_keys_msi' undeclared (first use in this function)
/home/krato/dvb-t/af9015/v4l/af9015.c:760: warning: type defaults to 'int' in declaration of 'type name'
/home/krato/dvb-t/af9015/v4l/af9015.c:760: warning: type defaults to 'int' in declaration of 'type name'
/home/krato/dvb-t/af9015/v4l/af9015.c:760: error: negative width in bit-field '<anonymous>'
/home/krato/dvb-t/af9015/v4l/af9015.c:767: error: 'af9015_rc_keys_mygictv' undeclared (first use in this function)
/home/krato/dvb-t/af9015/v4l/af9015.c:769: warning: type defaults to 'int' in declaration of 'type name'
/home/krato/dvb-t/af9015/v4l/af9015.c:769: warning: type defaults to 'int' in declaration of 'type name'
/home/krato/dvb-t/af9015/v4l/af9015.c:769: error: negative width in bit-field '<anonymous>'
/home/krato/dvb-t/af9015/v4l/af9015.c:777: error: 'af9015_rc_keys_digittrade' undeclared (first use in this function)
/home/krato/dvb-t/af9015/v4l/af9015.c:779: warning: type defaults to 'int' in declaration of 'type name'
/home/krato/dvb-t/af9015/v4l/af9015.c:779: warning: type defaults to 'int' in declaration of 'type name'
/home/krato/dvb-t/af9015/v4l/af9015.c:779: error: negative width in bit-field '<anonymous>'
/home/krato/dvb-t/af9015/v4l/af9015.c:787: error: 'af9015_rc_keys_avermedia' undeclared (first use in this function)
/home/krato/dvb-t/af9015/v4l/af9015.c:789: warning: type defaults to 'int' in declaration of 'type name'
/home/krato/dvb-t/af9015/v4l/af9015.c:789: warning: type defaults to 'int' in declaration of 'type name'
/home/krato/dvb-t/af9015/v4l/af9015.c:789: error: negative width in bit-field '<anonymous>'
/home/krato/dvb-t/af9015/v4l/af9015.c:800: error: 'af9015_rc_keys_leadtek' undeclared (first use in this function)
/home/krato/dvb-t/af9015/v4l/af9015.c:802: warning: type defaults to 'int' in declaration of 'type name'
/home/krato/dvb-t/af9015/v4l/af9015.c:802: warning: type defaults to 'int' in declaration of 'type name'
/home/krato/dvb-t/af9015/v4l/af9015.c:802: error: negative width in bit-field '<anonymous>'
/home/krato/dvb-t/af9015/v4l/af9015.c:810: error: 'af9015_rc_keys_twinhan' undeclared (first use in this function)
/home/krato/dvb-t/af9015/v4l/af9015.c:812: warning: type defaults to 'int' in declaration of 'type name'
/home/krato/dvb-t/af9015/v4l/af9015.c:812: warning: type defaults to 'int' in declaration of 'type name'
/home/krato/dvb-t/af9015/v4l/af9015.c:812: error: negative width in bit-field '<anonymous>'
/home/krato/dvb-t/af9015/v4l/af9015.c:823: warning: type defaults to 'int' in declaration of 'type name'
/home/krato/dvb-t/af9015/v4l/af9015.c:823: warning: type defaults to 'int' in declaration of 'type name'
/home/krato/dvb-t/af9015/v4l/af9015.c:823: error: negative width in bit-field '<anonymous>'
/home/krato/dvb-t/af9015/v4l/af9015.c:841: warning: type defaults to 'int' in declaration of 'type name'
/home/krato/dvb-t/af9015/v4l/af9015.c:841: warning: type defaults to 'int' in declaration of 'type name'
/home/krato/dvb-t/af9015/v4l/af9015.c:841: error: negative width in bit-field '<anonymous>'
/home/krato/dvb-t/af9015/v4l/af9015.c:852: warning: type defaults to 'int' in declaration of 'type name'
/home/krato/dvb-t/af9015/v4l/af9015.c:852: warning: type defaults to 'int' in declaration of 'type name'
/home/krato/dvb-t/af9015/v4l/af9015.c:852: error: negative width in bit-field '<anonymous>'
/home/krato/dvb-t/af9015/v4l/af9015.c:860: error: 'af9015_rc_keys_trekstor' undeclared (first use in this function)
/home/krato/dvb-t/af9015/v4l/af9015.c:862: warning: type defaults to 'int' in declaration of 'type name'
/home/krato/dvb-t/af9015/v4l/af9015.c:862: warning: type defaults to 'int' in declaration of 'type name'
/home/krato/dvb-t/af9015/v4l/af9015.c:862: error: negative width in bit-field '<anonymous>'
/home/krato/dvb-t/af9015/v4l/af9015.c:873: warning: type defaults to 'int' in declaration of 'type name'
/home/krato/dvb-t/af9015/v4l/af9015.c:873: warning: type defaults to 'int' in declaration of 'type name'
/home/krato/dvb-t/af9015/v4l/af9015.c:873: error: negative width in bit-field '<anonymous>'
/home/krato/dvb-t/af9015/v4l/af9015.c:881: error: 'af9015_rc_keys_msi_digivox_iii' undeclared (first use in this function)
/home/krato/dvb-t/af9015/v4l/af9015.c:883: warning: type defaults to 'int' in declaration of 'type name'
/home/krato/dvb-t/af9015/v4l/af9015.c:883: warning: type defaults to 'int' in declaration of 'type name'
/home/krato/dvb-t/af9015/v4l/af9015.c:883: error: negative width in bit-field '<anonymous>'
make[3]: *** [/home/krato/dvb-t/af9015/v4l/af9015.o] Error 1
make[2]: *** [_module_/home/krato/dvb-t/af9015/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.32-24-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/krato/dvb-t/af9015/v4l'
make: *** [all] Error 2
Na které už asi někdo také narazil, protože jsem je našel na pastebin:
http://pastebin.com/51KDFJS5Zkusil jsem make spustit s -i pro ignorování chyb, jak navrhuje ufaak, ale po připojení DVB-T tuneru do USB se mi žádný adresář /dev/dvb nevytvoří, v syslogu se objeví toto:
Aug 10 00:40:09 krato-nb kernel: [ 464.460110] usb 2-2: new high speed USB device using ehci_hcd and address 5
Aug 10 00:40:09 krato-nb kernel: [ 464.615096] usb 2-2: configuration #1 chosen from 1 choice
Aug 10 00:40:09 krato-nb kernel: [ 464.619506] Afatech DVB-T 2: Fixing fullspeed to highspeed interval: 10 -> 7
Aug 10 00:40:09 krato-nb kernel: [ 464.619929] input: Afatech DVB-T 2 as /devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.1/input/input13
Aug 10 00:40:09 krato-nb kernel: [ 464.620132] generic-usb 0003:15A4:9016.0004: input,hidraw2: USB HID v1.01 Keyboard [Afatech DVB-T 2] on usb-0000:00:1d.7-2/input1
Aug 10 00:40:09 krato-nb kernel: [ 464.636599] dvb_usb_af9015: disagrees about version of symbol dvb_usb_device_init
Aug 10 00:40:09 krato-nb kernel: [ 464.636604] dvb_usb_af9015: Unknown symbol dvb_usb_device_init
Prosím, co s tím? Neexistuje příp. už nějaké jednodušší řešení (např. doinstalování nějakého balíčku)?