Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 207874
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Television related Applications in Gentoo's Portage <media-tv@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Daan de Beer <mythdev@tiscali.nl>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ivtv-1.0.3-r2-fbcon-2_6_24.patch check for kernel ivtvfb and don't build the packaged fb on 2.6.24 patch Lucas S. Bickel 2008-04-26 18:43 0000 1.08 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 207874 depends on: Show dependency tree
Bug 207874 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-01-28 12:16 0000
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.

------- Comment #1 From Jakub Moc (RETIRED) 2008-01-28 12:24:19 0000 -------
(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

------- Comment #2 From Doug Goldstein 2008-01-28 14:56:02 0000 -------
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.

------- Comment #3 From Jiri Tyr 2008-01-28 21:47:00 0000 -------
(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.

------- Comment #4 From Doug Goldstein 2008-01-28 22:39:47 0000 -------
(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.

------- Comment #5 From Helmut Eberharter 2008-01-29 08:43:14 0000 -------
1.0.3-r2 compiles fine on 2.6.24, and during a quick check i could watch TV
without problems.

------- Comment #6 From Doug Goldstein 2008-01-29 14:55:23 0000 -------
(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

------- Comment #7 From Doug Goldstein 2008-02-18 22:47:04 0000 -------
*** Bug 210626 has been marked as a duplicate of this bug. ***

------- Comment #8 From Doug Goldstein 2008-02-18 22:47:43 0000 -------
per bug #210626, I'm re-opening and reverting the change requested by the
original poster.

------- Comment #9 From Jakub Moc (RETIRED) 2008-03-15 07:06:44 0000 -------
*** Bug 213459 has been marked as a duplicate of this bug. ***

------- Comment #10 From subs@j79zlr.com 2008-03-15 16:10:09 0000 -------
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

------- Comment #11 From Alan Hourihane 2008-03-24 20:45:45 0000 -------
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:

------- Comment #12 From Garth 2008-03-30 08:10:43 0000 -------
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.

------- Comment #13 From Jesse Adelman 2008-04-14 00:26:26 0000 -------
Same as #11 here, too.

------- Comment #14 From Lucas S. Bickel 2008-04-26 18:43:36 0000 -------
Created an attachment (id=151058) [details]
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

------- Comment #15 From Sander Sweers 2008-04-27 13:35:04 0000 -------
(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.

------- Comment #16 From Sander Sweers 2008-05-07 12:13:55 0000 -------
(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.

------- Comment #17 From Sander Sweers 2008-05-24 13:15:43 0000 -------
(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.

------- Comment #18 From subs@j79zlr.com 2008-06-21 05:28:44 0000 -------
Is there any update to this, we are going on a month since its release and no
updated ebuild.

------- Comment #19 From Sander Sweers 2008-06-22 21:56:49 0000 -------
ok what is happening with this. Kernel 2.6.24 is stable and without a properly
working ivtv ebuild.....?

------- Comment #20 From Doug Goldstein 2008-06-23 14:31:32 0000 -------
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.

------- Comment #21 From Doug Goldstein 2008-07-01 14:51:26 0000 -------
newer packages are in the tree

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug