usb 1-8: new high speed USB device using ehci_hcd and address 20
Afatech DVB-T 2: Fixing fullspeed to highspeed interval: 10 -> 7
input: Afatech DVB-T 2 as /devices/pci0000:00/0000:00:02.1/usb1/1-8/1-8:1.1/input/input9
generic-usb 0003:15A4:9016.0006: input,hidraw2: USB HID v1.01 Keyboard [Afatech DVB-T 2] on usb-0000:00:02.1-8/input1
af9015: tuner NXP TDA18218 not supported yet
usbcore: registered new interface driver dvb_usb_af9015
Da li bilo kakvih relevetnih poruka prilikom apliciranja patcha ? Takodjer bi bilo odlicno kada bi mogao sjetiti se koje si tocno korake poduzimao kako bi aplicirao ovaj patch, te da li je bilo kakvih releventnijih poruka prilikom svakog poduzetog koraka.
Dodatno, kako je prosao compile, da li je bilo kakvih relevantnih poruka tijekom istoga ?
Zadnja izmjena: drade, dana/u 25 kol 2010, 07:47, ukupno mijenjano 1 put.
When you're a kid and you wanna go "Weee !", but you ain't got drugs yet ... You hold out for your life, hold on to your little GONADS ... and STRIFE.
Inace, pripremio sam vec "step-by-step" proceduru za ovaj tuner. Drugim rijecima, malo sam procistio silinu nebitnih informacija s foruma koje si postao, isto mogu postati uz svoj sljedeci odgovor.
When you're a kid and you wanna go "Weee !", but you ain't got drugs yet ... You hold out for your life, hold on to your little GONADS ... and STRIFE.
patch -p1 < ../p.patch
patching file drivers/media/common/tuners/Kconfig
patching file drivers/media/common/tuners/Makefile
patching file drivers/media/common/tuners/tda18218.c
patching file drivers/media/common/tuners/tda18218.h
patching file drivers/media/common/tuners/tda18218_priv.h
patching file drivers/media/dvb/dvb-usb/af9015.c
Hunk #1 succeeded at 32 (offset 2 lines).
Hunk #2 succeeded at 1027 (offset 35 lines).
Hunk #3 succeeded at 1039 (offset 35 lines).
Hunk #4 succeeded at 1246 (offset 40 lines).
Hunk #5 succeeded at 1280 (offset 40 lines).
patching file drivers/media/dvb/frontends/af9013.c
Hunk #1 succeeded at 488 (offset 1 line).
Hunk #2 succeeded at 1404 (offset 1 line).
patching file drivers/media/dvb/frontends/af9013_priv.h
[root@sokcevic linux]# cd ..
[root@sokcevic af9015]# make
make -C /root/dvbt/af9015/v4l
/bin/sh: /sbin/lsmod: No such file or directory
make[1]: Entering directory `/root/dvbt/af9015/v4l'
No version yet, using 2.6.35-ARCH
make[1]: Leaving directory `/root/dvbt/af9015/v4l'
/bin/sh: /sbin/lsmod: No such file or directory
make[1]: Entering directory `/root/dvbt/af9015/v4l'
scripts/make_makefile.pl
Updating/Creating .config
Preparing to compile for kernel version 2.6.35
***WARNING:*** You do not have the full kernel sources installed.
This does not prevent you from building the v4l-dvb tree if you have the
kernel headers, but the full kernel source may be required in order to use
make menuconfig / xconfig / qconfig.
If you are experiencing problems building the v4l-dvb tree, please try
building against a vanilla kernel before reporting a bug.
Vanilla kernels are available at http://kernel.org.
On most distros, this will compile a newly downloaded kernel:
cp /boot/config-`uname -r` <your kernel dir>/.config
cd <your kernel dir>
make all modules_install install
Please see your distro's web site for instructions to build a new kernel.
Created default (all yes) .config file
./scripts/make_myconfig.pl
make[1]: Leaving directory `/root/dvbt/af9015/v4l'
/bin/sh: /sbin/lsmod: No such file or directory
make[1]: Entering directory `/root/dvbt/af9015/v4l'
perl scripts/make_config_compat.pl /lib/modules/2.6.35-ARCH/build ./.myconfig ./config-compat.h
creating symbolic links...
ln -sf . oss
make -C firmware prep
make[2]: Entering directory `/root/dvbt/af9015/v4l/firmware'
make[2]: Leaving directory `/root/dvbt/af9015/v4l/firmware'
make -C firmware
make[2]: Entering directory `/root/dvbt/af9015/v4l/firmware'
CC ihex2fw
Generating vicam/firmware.fw
Generating dabusb/firmware.fw
Generating dabusb/bitstream.bin
Generating ttusb-budget/dspbootcode.bin
Generating cpia2/stv0672_vp4.bin
Generating av7110/bootcode.bin
make[2]: Leaving directory `/root/dvbt/af9015/v4l/firmware'
Kernel build directory is /lib/modules/2.6.35-ARCH/build
make -C /lib/modules/2.6.35-ARCH/build SUBDIRS=/root/dvbt/af9015/v4l modules
make[2]: Entering directory `/usr/src/linux-2.6.35-ARCH'
/bin/sh: /sbin/lsmod: No such file or directory
CC [M] /root/dvbt/af9015/v4l/tuner-xc2028.o
/root/dvbt/af9015/v4l/tuner-xc2028.c: In function 'free_firmware':
/root/dvbt/af9015/v4l/tuner-xc2028.c:252:3: error: implicit declaration of function 'kfree'
/root/dvbt/af9015/v4l/tuner-xc2028.c: In function 'load_all_firmwares':
/root/dvbt/af9015/v4l/tuner-xc2028.c:314:2: error: implicit declaration of function 'kzalloc'
/root/dvbt/af9015/v4l/tuner-xc2028.c:314:13: warning: assignment makes pointer from integer without a cast
/root/dvbt/af9015/v4l/tuner-xc2028.c:365:21: warning: assignment makes pointer from integer without a cast
/root/dvbt/af9015/v4l/tuner-xc2028.c: In function 'xc2028_attach':
/root/dvbt/af9015/v4l/tuner-xc2028.c:1269:13: warning: assignment makes pointer from integer without a cast
make[3]: *** [/root/dvbt/af9015/v4l/tuner-xc2028.o] Error 1
make[2]: *** [_module_/root/dvbt/af9015/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.35-ARCH'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/dvbt/af9015/v4l'
make: *** [all] Error 2
[root@sokcevic af9015]# make install
make -C /root/dvbt/af9015/v4l install
/bin/sh: /sbin/lsmod: No such file or directory
make[1]: Entering directory `/root/dvbt/af9015/v4l'
Removing obsolete files from /lib/modules/2.6.35-ARCH/kernel/drivers/media/video:
Removing obsolete files from /lib/modules/2.6.35-ARCH/kernel/drivers/media/dvb/cinergyT2:
Removing obsolete files from /lib/modules/2.6.35-ARCH/kernel/drivers/media/common:
Removing obsolete files from /lib/modules/2.6.35-ARCH/kernel/drivers/media/dvb/frontends:
Installing kernel modules under /lib/modules/2.6.35-ARCH/kernel/drivers/media/:
/sbin/depmod -a 2.6.35-ARCH
make -C firmware install
make[2]: Entering directory `/root/dvbt/af9015/v4l/firmware'
Installing firmwares at /lib/firmware: vicam/firmware.fw dabusb/firmware.fw dabusb/bitstream.bin ttusb-budget/dspbootcode.bin cpia2/stv0672_vp4.bin av7110/bootcode.bin
make[2]: Leaving directory `/root/dvbt/af9015/v4l/firmware'
make[1]: Leaving directory `/root/dvbt/af9015/v4l'
[root@sokcevic af9015]# dmesg | tail
eth0: link down.
eth0: link up.
eth0: link down.
eth0: link up.
usb 1-8: new high speed USB device using ehci_hcd and address 4
Afatech DVB-T 2: Fixing fullspeed to highspeed interval: 10 -> 7
input: Afatech DVB-T 2 as /devices/pci0000:00/0000:00:02.1/usb1/1-8/1-8:1.1/input/input6
generic-usb 0003:15A4:9016.0003: input,hidraw2: USB HID v1.01 Keyboard [Afatech DVB-T 2] on usb-0000:00:02.1-8/input1
af9015: tuner NXP TDA18218 not supported yet
usbcore: registered new interface driver dvb_usb_af9015
[root@sokcevic af9015]
Ne bih znao što je točno problem, ovako kako kaže - sve je OK i ne bi trebao prikazivati poruku koju pokazuje...
CC [M] /usr/src/mercurial/af9015/v4l/tuner-xc2028.o
/usr/src/mercurial/af9015/v4l/tuner-xc2028.c: In function 'free_firmware':
/usr/src/mercurial/af9015/v4l/tuner-xc2028.c:252:3: error: implicit declaration of function 'kfree'
/usr/src/mercurial/af9015/v4l/tuner-xc2028.c: In function 'load_all_firmwares':
/usr/src/mercurial/af9015/v4l/tuner-xc2028.c:314:2: error: implicit declaration of function 'kzalloc'
[root@sokcevic af9015]# patch -p1 < file.patch
patching file linux/drivers/media/common/tuners/Kconfig
patching file linux/drivers/media/common/tuners/Makefile
patching file linux/drivers/media/common/tuners/tda18218.c
patching file linux/drivers/media/common/tuners/tda18218.h
patching file linux/drivers/media/common/tuners/tda18218_priv.h
patching file linux/drivers/media/dvb/dvb-usb/af9015.c
patching file linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
patching file linux/drivers/media/dvb/frontends/af9013.c
patching file linux/drivers/media/dvb/frontends/af9013.h
patching file linux/drivers/media/dvb/frontends/af9013_priv.h
[root@sokcevic af9015]# make
make -C /usr/src/mercurial/af9015/v4l
make[1]: Entering directory `/usr/src/mercurial/af9015/v4l'
No version yet, using 2.6.35-ARCH
make[1]: Leaving directory `/usr/src/mercurial/af9015/v4l'
make[1]: Entering directory `/usr/src/mercurial/af9015/v4l'
scripts/make_makefile.pl
Updating/Creating .config
Preparing to compile for kernel version 2.6.35
***WARNING:*** You do not have the full kernel sources installed.
This does not prevent you from building the v4l-dvb tree if you have the
kernel headers, but the full kernel source may be required in order to use
make menuconfig / xconfig / qconfig.
If you are experiencing problems building the v4l-dvb tree, please try
building against a vanilla kernel before reporting a bug.
Vanilla kernels are available at http://kernel.org.
On most distros, this will compile a newly downloaded kernel:
cp /boot/config-`uname -r` <your kernel dir>/.config
cd <your kernel dir>
make all modules_install install
Please see your distro's web site for instructions to build a new kernel.
Created default (all yes) .config file
./scripts/make_myconfig.pl
make[1]: Leaving directory `/usr/src/mercurial/af9015/v4l'
make[1]: Entering directory `/usr/src/mercurial/af9015/v4l'
perl scripts/make_config_compat.pl /lib/modules/2.6.35-ARCH/build ./.myconfig ./config-compat.h
creating symbolic links...
ln -sf . oss
make -C firmware prep
make[2]: Entering directory `/usr/src/mercurial/af9015/v4l/firmware'
make[2]: Leaving directory `/usr/src/mercurial/af9015/v4l/firmware'
make -C firmware
make[2]: Entering directory `/usr/src/mercurial/af9015/v4l/firmware'
CC ihex2fw
Generating vicam/firmware.fw
Generating dabusb/firmware.fw
Generating dabusb/bitstream.bin
Generating ttusb-budget/dspbootcode.bin
Generating cpia2/stv0672_vp4.bin
Generating av7110/bootcode.bin
make[2]: Leaving directory `/usr/src/mercurial/af9015/v4l/firmware'
Kernel build directory is /lib/modules/2.6.35-ARCH/build
make -C /lib/modules/2.6.35-ARCH/build SUBDIRS=/usr/src/mercurial/af9015/v4l modules
make[2]: Entering directory `/usr/src/linux-2.6.35-ARCH'
CC [M] /usr/src/mercurial/af9015/v4l/tuner-xc2028.o
/usr/src/mercurial/af9015/v4l/tuner-xc2028.c: In function 'free_firmware':
/usr/src/mercurial/af9015/v4l/tuner-xc2028.c:252:3: error: implicit declaration of function 'kfree'
/usr/src/mercurial/af9015/v4l/tuner-xc2028.c: In function 'load_all_firmwares':
/usr/src/mercurial/af9015/v4l/tuner-xc2028.c:314:2: error: implicit declaration of function 'kzalloc'
/usr/src/mercurial/af9015/v4l/tuner-xc2028.c:314:13: warning: assignment makes pointer from integer without a cast
/usr/src/mercurial/af9015/v4l/tuner-xc2028.c:365:21: warning: assignment makes pointer from integer without a cast
/usr/src/mercurial/af9015/v4l/tuner-xc2028.c: In function 'xc2028_attach':
/usr/src/mercurial/af9015/v4l/tuner-xc2028.c:1269:13: warning: assignment makes pointer from integer without a cast
make[3]: *** [/usr/src/mercurial/af9015/v4l/tuner-xc2028.o] Error 1
make[2]: *** [_module_/usr/src/mercurial/af9015/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.35-ARCH'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/usr/src/mercurial/af9015/v4l'
make: *** [all] Error 2
[root@sokcevic af9015]# make install
make -C /usr/src/mercurial/af9015/v4l install
make[1]: Entering directory `/usr/src/mercurial/af9015/v4l'
Removing obsolete files from /lib/modules/2.6.35-ARCH/kernel/drivers/media/video:
Removing obsolete files from /lib/modules/2.6.35-ARCH/kernel/drivers/media/dvb/cinergyT2:
Removing obsolete files from /lib/modules/2.6.35-ARCH/kernel/drivers/media/common:
Removing obsolete files from /lib/modules/2.6.35-ARCH/kernel/drivers/media/dvb/frontends:
Installing kernel modules under /lib/modules/2.6.35-ARCH/kernel/drivers/media/:
/sbin/depmod -a 2.6.35-ARCH
make -C firmware install
make[2]: Entering directory `/usr/src/mercurial/af9015/v4l/firmware'
Installing firmwares at /lib/firmware: vicam/firmware.fw dabusb/firmware.fw dabusb/bitstream.bin ttusb-budget/dspbootcode.bin cpia2/stv0672_vp4.bin av7110/bootcode.bin
make[2]: Leaving directory `/usr/src/mercurial/af9015/v4l/firmware'
make[1]: Leaving directory `/usr/src/mercurial/af9015/v4l'
[root@sokcevic af9015]# wget http://jusst.de/manu/fw/AFA/dvb-usb-af9015.fw_a-link
--2010-08-26 11:30:27-- http://jusst.de/manu/fw/AFA/dvb-usb-af9015.fw_a-link
Resolving jusst.de... 213.239.213.5
Connecting to jusst.de|213.239.213.5|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12700 (12K) [text/plain]
Saving to: “dvb-usb-af9015.fw_a-link”
100%[==============================================================>] 12,700 --.-K/s in 0.05s
2010-08-26 11:30:28 (246 KB/s) - “dvb-usb-af9015.fw_a-link” saved [12700/12700]
[root@sokcevic af9015]# mv dvb-usb-af9015.fw_a-link /lib/modules/dvb-usb-af9015.fw
[root@sokcevic af9015]# dmesg | tail
eth0: link up.
eth0: link down.
eth0: link up.
eth0: link down.
eth0: link up.
usb 1-8: new high speed USB device using ehci_hcd and address 5
af9015: tuner NXP TDA18218 not supported yet
Afatech DVB-T 2: Fixing fullspeed to highspeed interval: 10 -> 7
input: Afatech DVB-T 2 as /devices/pci0000:00/0000:00:02.1/usb1/1-8/1-8:1.1/input/input7
generic-usb 0003:15A4:9016.0004: input,hidraw2: USB HID v1.01 Keyboard [Afatech DVB-T 2] on usb-0000:00:02.1-8/input1
[root@sokcevic af9015]#