The current ivtv ebuild does not compile on 2.6.24 kernels, due to the fact the kernel check does not validate that kernel. if ! ( kernel_is 2 6 22 || kernel_is 2 6 23 ); then should be changed to if ! ( kernel_is 2 6 22 || kernel_is 2 6 23 || kernel_is 2 6 24 ); then Reproducible: Always Steps to Reproduce: 1. Emerge 2.6.24 2. Try to emerge ivtv 3.
(In reply to comment #0) > should be changed to > if ! ( kernel_is 2 6 22 || kernel_is 2 6 23 || kernel_is 2 6 24 ); then No, this version isn't intended for 2.6.24 and there's no newer one available ATM. http://www.ivtvdriver.org/index.php/Download
Have you actually successfully made that change and had it compile? As far as I remember, some kernel headers are being changed and a few v4l ioctls are being changed which requires a newer version of the ivtv userspace bits. I believe there's going to be a 1.1.x for this purpose.
(In reply to comment #2) > Have you actually successfully made that change and had it compile? As far as I > remember, some kernel headers are being changed and a few v4l ioctls are being > changed which requires a newer version of the ivtv userspace bits. I believe > there's going to be a 1.1.x for this purpose. Doesn't matter, but the above hack works well for me. Maybe something have been changed but TV, radio, IR works well. It's better to have some limitation (not working some ioctls) than don't have working whole ivtv. I propose to publish ebuild with the hack for kernel 2.6.24.
(In reply to comment #3) > (In reply to comment #2) > > Have you actually successfully made that change and had it compile? As far as I > > remember, some kernel headers are being changed and a few v4l ioctls are being > > changed which requires a newer version of the ivtv userspace bits. I believe > > there's going to be a 1.1.x for this purpose. > > Doesn't matter, It matters 100% since that's the scope of the question. Does the change above ACTUALLY work for you on a 2.6.24 kernel. That's the question. The ivtv package is not required to use ivtv. It's merely for the userspace utils. cat /dev/video0 > file.mpg is all that's necessary to use this driver. The driver exists purely in the kernel.
1.0.3-r2 compiles fine on 2.6.24, and during a quick check i could watch TV without problems.
(In reply to comment #5) > 1.0.3-r2 compiles fine on 2.6.24, and during a quick check i could watch TV > without problems. > Thank you. That's the info I was looking for. Fixed in 1.0.3-r2
*** Bug 210626 has been marked as a duplicate of this bug. ***
per bug #210626, I'm re-opening and reverting the change requested by the original poster.
*** Bug 213459 has been marked as a duplicate of this bug. ***
Since you marked my bug as a dup, can you add these to the stablereq dev-perl/Video-Frequencies-0.03 dev-perl/Video-ivtv-0.13 because they are required for ivtv-1.0.3-r2
ivtvfb doesn't compile on 2.6.24..... created ivtv-svnversion.h make -C /usr/src/linux M=/var/tmp/portage/media-tv/ivtv-1.0.3-r2/work/ivtv-1.0.3/driver modules make[1]: Entering directory `/usr/src/linux-2.6.24-gentoo-r3' CC [M] /var/tmp/portage/media-tv/ivtv-1.0.3-r2/work/ivtv-1.0.3/driver/ivtvfb.o In file included from /var/tmp/portage/media-tv/ivtv-1.0.3-r2/work/ivtv-1.0.3/driver/ivtvfb.c:50: /var/tmp/portage/media-tv/ivtv-1.0.3-r2/work/ivtv-1.0.3/driver/ivtv-driver.h:68:24: error: media/ivtv.h: No such file or directory make[2]: *** [/var/tmp/portage/media-tv/ivtv-1.0.3-r2/work/ivtv-1.0.3/driver/ivtvfb.o] Error 1 make[1]: *** [_module_/var/tmp/portage/media-tv/ivtv-1.0.3-r2/work/ivtv-1.0.3/driver] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.24-gentoo-r3' make: *** [all] Error 2 * * ERROR: media-tv/ivtv-1.0.3-r2 failed. * Call stack:
I got the same prob as #11. Having USE="-fbcon" solved this. From what I understand, fbcon only made the ivtv ebuild build the ivtvfb driver, which is now located inside the kernel. Dunno if ivtvfb output work with -fbcon and the kernel's ivtvfb (just recently switched to an other output mode). But if it does work, I'd suggest that the ebuild do as if -fbcon was used for kernel >=2.6.24.
Same as #11 here, too.
Created attachment 151058 [details, diff] check for kernel ivtvfb and don't build the packaged fb on 2.6.24 everything here seems to work like it should with this patch. the ivtvfb from the kernel loads and works. i haven't looked into checking if ivtvfbctl works as of yet
(In reply to comment #14) > i haven't looked into checking if ivtvfbctl works as of yet It should work but I am not the expert ;-) I will ping Hans if he can release ivtv 1.1 for kernel 2.6.24 and up.
(In reply to comment #15) > I will ping Hans if he can release ivtv 1.1 for kernel 2.6.24 and up. There should be a release as soon as Hans has some time. All tools from 1.0.3 will keep working for kernel 2.6.24 and 2.6.25. So the proposed change in the ebuild will "fix" the compilation problems. But then make it include any future kernel versions or at least 2.6.25.
(In reply to comment #16) > There should be a release as soon as Hans has some time. 2 new versions have just been released. ivtv-1.1 for kernel 2.6.24 and ivtv-1.2 for kernel 2.6.25.
Is there any update to this, we are going on a month since its release and no updated ebuild.
ok what is happening with this. Kernel 2.6.24 is stable and without a properly working ivtv ebuild.....?
chill out. if things arent getting fixed fast enough for your taste, sign up and help out. or just wait patiently and quietly. None of the media-tv devs use kernels this new. If we can't test it, we can't commit it.
newer packages are in the tree