Hi all, I've just tried #173 patch, but error appears.
I've HVR3000 and run ubuntu Linux version 2.6.38-8-generic (buildd@allspice) (gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu3) ) #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011
after type "sudo make menuconfig"
-> Multimedia Support -> DVB/ATSC adapters -> disable FireDTV and FloppyDTV
Here my output
----
htpc@HTPC:~/v4l-dvb/linux$ patch -p1 < frontend_dvb_init.patch
patching file drivers/media/dvb/dvb-core/dvb_frontend.c
Hunk #1 succeeded at 1981 (offset -8 lines).
htpc@HTPC:~/v4l-dvb/linux$ cd ..
htpc@HTPC:~/v4l-dvb$ cd ..
htpc@HTPC:~$ cd v4l-dvb
htpc@HTPC:~/v4l-dvb$ sudo make menuconfig
make -C /home/htpc/v4l-dvb/v4l menuconfig
make[1]: Entering directory `/home/htpc/v4l-dvb/v4l'
No version yet, using 2.6.38-8-generic
make[1]: Leaving directory `/home/htpc/v4l-dvb/v4l'
make[1]: Entering directory `/home/htpc/v4l-dvb/v4l'
./scripts/make_kconfig.pl /lib/modules/2.6.38-8-generic/build /lib/modules/2.6.38-8-generic/build
Preparing to compile for kernel version 2.6.38
***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.
WARNING: You're using an obsolete driver! You shouldn't be using it!
If you want anything new, you can use: http://git.linuxtv.org/media_build.git.
The tree is still here just to preserve the development history.
You've been warned.
Created default (all yes) .config file
/lib/modules/2.6.38-8-generic/build/scripts/kconfig/mconf ./Kconfig
#
# configuration written to .config
#
*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.
./scripts/fix_kconfig.pl
make[1]: Leaving directory `/home/htpc/v4l-dvb/v4l'
htpc@HTPC:~/v4l-dvb$ sudo make
make -C /home/htpc/v4l-dvb/v4l
make[1]: Entering directory `/home/htpc/v4l-dvb/v4l'
scripts/make_makefile.pl
./scripts/make_myconfig.pl
make[1]: Leaving directory `/home/htpc/v4l-dvb/v4l'
make[1]: Entering directory `/home/htpc/v4l-dvb/v4l'
perl scripts/make_config_compat.pl /lib/modules/2.6.38-8-generic/build ./.myconfig ./config-compat.h
creating symbolic links...
ln -sf . oss
make -C firmware prep
make[2]: Entering directory `/home/htpc/v4l-dvb/v4l/firmware'
make[2]: Leaving directory `/home/htpc/v4l-dvb/v4l/firmware'
make -C firmware
make[2]: Entering directory `/home/htpc/v4l-dvb/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 `/home/htpc/v4l-dvb/v4l/firmware'
Kernel build directory is /lib/modules/2.6.38-8-generic/build
make -C /lib/modules/2.6.38-8-generic/build SUBDIRS=/home/htpc/v4l-dvb/v4l modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic'
CC [M] /home/htpc/v4l-dvb/v4l/tuner-xc2028.o
CC [M] /home/htpc/v4l-dvb/v4l/tuner-simple.o
CC [M] /home/htpc/v4l-dvb/v4l/tuner-types.o
CC [M] /home/htpc/v4l-dvb/v4l/mt20xx.o
CC [M] /home/htpc/v4l-dvb/v4l/tda8290.o
CC [M] /home/htpc/v4l-dvb/v4l/tea5767.o
CC [M] /home/htpc/v4l-dvb/v4l/tea5761.o
CC [M] /home/htpc/v4l-dvb/v4l/tda9887.o
CC [M] /home/htpc/v4l-dvb/v4l/tda827x.o
CC [M] /home/htpc/v4l-dvb/v4l/au0828-core.o
CC [M] /home/htpc/v4l-dvb/v4l/au0828-i2c.o
CC [M] /home/htpc/v4l-dvb/v4l/au0828-cards.o
CC [M] /home/htpc/v4l-dvb/v4l/au0828-dvb.o
CC [M] /home/htpc/v4l-dvb/v4l/au0828-video.o
CC [M] /home/htpc/v4l-dvb/v4l/au0828-vbi.o
CC [M] /home/htpc/v4l-dvb/v4l/au8522_dig.o
CC [M] /home/htpc/v4l-dvb/v4l/au8522_decoder.o
CC [M] /home/htpc/v4l-dvb/v4l/flexcop-pci.o
CC [M] /home/htpc/v4l-dvb/v4l/flexcop-usb.o
CC [M] /home/htpc/v4l-dvb/v4l/flexcop.o
CC [M] /home/htpc/v4l-dvb/v4l/flexcop-fe-tuner.o
CC [M] /home/htpc/v4l-dvb/v4l/flexcop-i2c.o
/home/htpc/v4l-dvb/v4l/flexcop-i2c.c: In function 'flexcop_i2c_init':
/home/htpc/v4l-dvb/v4l/flexcop-i2c.c:253:39: error: 'I2C_CLASS_TV_DIGITAL' undeclared (first use in this function)
/home/htpc/v4l-dvb/v4l/flexcop-i2c.c:253:39: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [/home/htpc/v4l-dvb/v4l/flexcop-i2c.o] Error 1
make[2]: *** [_module_/home/htpc/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/htpc/v4l-dvb/v4l'
make: *** [all] Error 2
-----
Hi all, I've just tried #173 patch, but error appears.
I've HVR3000 and run ubuntu Linux version 2.6.38-8-generic (buildd@allspice) (gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu3) ) #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011
after type "sudo make menuconfig"
-> Multimedia Support -> DVB/ATSC adapters -> disable FireDTV and FloppyDTV
Here my output ~/v4l-dvb/ linux$ patch -p1 < frontend_ dvb_init. patch media/dvb/ dvb-core/ dvb_frontend. c ~/v4l-dvb/ linux$ cd .. ~/v4l-dvb$ cd .. ~/v4l-dvb$ sudo make menuconfig v4l-dvb/ v4l menuconfig htpc/v4l- dvb/v4l' htpc/v4l- dvb/v4l' htpc/v4l- dvb/v4l' make_kconfig. pl /lib/modules/ 2.6.38- 8-generic/ build /lib/modules/ 2.6.38- 8-generic/ build
----
htpc@HTPC:
patching file drivers/
Hunk #1 succeeded at 1981 (offset -8 lines).
htpc@HTPC:
htpc@HTPC:
htpc@HTPC:~$ cd v4l-dvb
htpc@HTPC:
make -C /home/htpc/
make[1]: Entering directory `/home/
No version yet, using 2.6.38-8-generic
make[1]: Leaving directory `/home/
make[1]: Entering directory `/home/
./scripts/
Preparing to compile for kernel version 2.6.38
***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.
WARNING: You're using an obsolete driver! You shouldn't be using it! git.linuxtv. org/media_ build.git. 2.6.38- 8-generic/ build/scripts/ kconfig/ mconf ./Kconfig
If you want anything new, you can use:
http://
The tree is still here just to preserve the development history.
You've been warned.
Created default (all yes) .config file
/lib/modules/
#
# configuration written to .config
#
*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.
./scripts/ fix_kconfig. pl htpc/v4l- dvb/v4l' ~/v4l-dvb$ sudo make v4l-dvb/ v4l htpc/v4l- dvb/v4l' make_makefile. pl make_myconfig. pl htpc/v4l- dvb/v4l' htpc/v4l- dvb/v4l' make_config_ compat. pl /lib/modules/ 2.6.38- 8-generic/ build ./.myconfig ./config-compat.h htpc/v4l- dvb/v4l/ firmware' htpc/v4l- dvb/v4l/ firmware' htpc/v4l- dvb/v4l/ firmware' bitstream. bin dspbootcode. bin vp4.bin htpc/v4l- dvb/v4l/ firmware' 2.6.38- 8-generic/ build 2.6.38- 8-generic/ build SUBDIRS= /home/htpc/ v4l-dvb/ v4l modules linux-headers- 2.6.38- 8-generic' v4l-dvb/ v4l/tuner- xc2028. o v4l-dvb/ v4l/tuner- simple. o v4l-dvb/ v4l/tuner- types.o v4l-dvb/ v4l/mt20xx. o v4l-dvb/ v4l/tda8290. o v4l-dvb/ v4l/tea5767. o v4l-dvb/ v4l/tea5761. o v4l-dvb/ v4l/tda9887. o v4l-dvb/ v4l/tda827x. o v4l-dvb/ v4l/au0828- core.o v4l-dvb/ v4l/au0828- i2c.o v4l-dvb/ v4l/au0828- cards.o v4l-dvb/ v4l/au0828- dvb.o v4l-dvb/ v4l/au0828- video.o v4l-dvb/ v4l/au0828- vbi.o v4l-dvb/ v4l/au8522_ dig.o v4l-dvb/ v4l/au8522_ decoder. o v4l-dvb/ v4l/flexcop- pci.o v4l-dvb/ v4l/flexcop- usb.o v4l-dvb/ v4l/flexcop. o v4l-dvb/ v4l/flexcop- fe-tuner. o v4l-dvb/ v4l/flexcop- i2c.o v4l-dvb/ v4l/flexcop- i2c.c: In function 'flexcop_i2c_init': v4l-dvb/ v4l/flexcop- i2c.c:253: 39: error: 'I2C_CLASS_ TV_DIGITAL' undeclared (first use in this function) v4l-dvb/ v4l/flexcop- i2c.c:253: 39: note: each undeclared identifier is reported only once for each function it appears in htpc/v4l- dvb/v4l/ flexcop- i2c.o] Error 1 /home/htpc/ v4l-dvb/ v4l] Error 2 linux-headers- 2.6.38- 8-generic' htpc/v4l- dvb/v4l'
make[1]: Leaving directory `/home/
htpc@HTPC:
make -C /home/htpc/
make[1]: Entering directory `/home/
scripts/
./scripts/
make[1]: Leaving directory `/home/
make[1]: Entering directory `/home/
perl scripts/
creating symbolic links...
ln -sf . oss
make -C firmware prep
make[2]: Entering directory `/home/
make[2]: Leaving directory `/home/
make -C firmware
make[2]: Entering directory `/home/
CC ihex2fw
Generating vicam/firmware.fw
Generating dabusb/firmware.fw
Generating dabusb/
Generating ttusb-budget/
Generating cpia2/stv0672_
Generating av7110/bootcode.bin
make[2]: Leaving directory `/home/
Kernel build directory is /lib/modules/
make -C /lib/modules/
make[2]: Entering directory `/usr/src/
CC [M] /home/htpc/
CC [M] /home/htpc/
CC [M] /home/htpc/
CC [M] /home/htpc/
CC [M] /home/htpc/
CC [M] /home/htpc/
CC [M] /home/htpc/
CC [M] /home/htpc/
CC [M] /home/htpc/
CC [M] /home/htpc/
CC [M] /home/htpc/
CC [M] /home/htpc/
CC [M] /home/htpc/
CC [M] /home/htpc/
CC [M] /home/htpc/
CC [M] /home/htpc/
CC [M] /home/htpc/
CC [M] /home/htpc/
CC [M] /home/htpc/
CC [M] /home/htpc/
CC [M] /home/htpc/
CC [M] /home/htpc/
/home/htpc/
/home/htpc/
/home/htpc/
make[3]: *** [/home/
make[2]: *** [_module_
make[2]: Leaving directory `/usr/src/
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/
make: *** [all] Error 2
-----
Any council?
Thanks,
Nicola