Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141232 - ivtv-0.7.0 ebuild requires removed config flag from kernel 2.6.17
Summary: ivtv-0.7.0 ebuild requires removed config flag from kernel 2.6.17
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
: 142239 143374 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-20 20:45 UTC by Alexander Hsia
Modified: 2006-08-11 08:31 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Hsia 2006-07-20 20:45:17 UTC
Emerging ivtv-0.7 gives an error saying compatible flag in kernel is not set.

VIDEO_SAA711X

This flag doesn't exist in gentoo-2.6.17-r3
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-21 00:15:29 UTC
# zgrep VIDEO_SAA711X /proc/config.gz 
# CONFIG_VIDEO_SAA711X is not set

# uname -a
Linux testbox 2.6.17-gentoo-r3 #1 Sun Jul 16 01:07:58 CEST 2006 i686 AMD Athlon(tm) XP 1600+ AuthenticAMD GNU/Linux
Comment 2 Alexander Hsia 2006-07-21 10:38:09 UTC
On my box:
# zgrep VIDEO_SAA711X /proc/config.gz 
returns nothing

# zgrep VIDEO_SAA7127 /proc/config.gz 
CONFIG_VIDEO_SAA7127=m

# uname -a 
Linux gringotts 2.6.17-gentoo-r3 #1 SMP The Jul 20 21:17:50 MDT 2006 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux
Comment 3 Alexandre Sanches 2006-07-21 17:16:17 UTC
Smells like a
# cp /usr/src/linux-2.6.16.*/.config /usr/src/linux && cd /usr/src/linux && make && make modules install
... no ?
I myself do not have this flag either, same as Alexander, except that my machine is an AMD64 one.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-07-21 19:00:44 UTC
CONFIG_VIDEO_SAA711X:                                                                                                                   
Old support for the Philips SAA7113/4 video decoders.                                                                                   

To compile this driver as a module, choose M here: the                                                                          module will be called saa7115.                                                                                   

Symbol: VIDEO_SAA711X [=n]                                                                                                              
Prompt: Philips SAA7113/4/5 video decoders (OBSOLETED)                                                                                  
  Defined at drivers/media/video/Kconfig:382                                                                                             
  Depends on: VIDEO_DEV && VIDEO_V4L1 && I2C && EXPERIMENTAL                                                                            
  Location:                                                                                                                             
      -> Device Drivers                                                                                                                   
       -> Multimedia devices                                                                                                             
         -> Video Capture Adapters                                                                                                       
           -> Encoders and Decoders                                                                                                        

Selected by: VIDEO_EM28XX && VIDEO_DEV && VIDEO_V4L1 && USB && I2C                   
Comment 5 Matthew Kennedy (RETIRED) gentoo-dev 2006-07-22 13:07:54 UTC
The real problem here is you need to:

  Enable Video For Linux API 1 (DEPRECATED)
    VIDEO_V4L1

In order for the

  Phillips SAA7113/4/5 video decoders (OBSOLETED) (NEW)
    VIDEO_SAA711X

to appear in the Device Drivers -> Multimedia Devices -> Video Capture Adapters ->  Encoders and Decoders menu.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-07-22 13:43:27 UTC
(In reply to comment #5)

So enable it - what's the problem? Still don't get it.
Comment 7 Doug Goldstein (RETIRED) gentoo-dev 2006-07-22 15:15:31 UTC
Added a check since obviously the linux-mod.eclass doesn't enforce dependancies.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-08-09 12:12:41 UTC
*** Bug 143374 has been marked as a duplicate of this bug. ***
Comment 9 Sybren Harmsma 2006-08-09 13:19:10 UTC
Thank you Jakub for the quick response, and sorry for reporting the duplicate bug. Could you explain to me then why V4L1 is required for ivtv-0.7.0? I compiled it with V4L2 (and without V4L1 compatibility) and it works just fine.

V4L1 is deprecated and ivtv-0.7.0 is for 2.6.17 (i.e. modern) kernels anyways. I'm having a Hauppauge PVR500, maybe some other hardware models need the V4L1 somehow? Or is there another reason?
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-08-09 13:23:34 UTC
(In reply to comment #9)
> Thank you Jakub for the quick response, and sorry for reporting the duplicate
> bug. Could you explain to me then why V4L1 is required for ivtv-0.7.0? I
> compiled it with V4L2 (and without V4L1 compatibility) and it works just fine.

I already did - Bug 143374, Comment #2. Also, read Comment #5 in this bug.
Comment 11 Sybren Harmsma 2006-08-09 14:21:40 UTC
OK, then let me rephrase: why not do away with both VIDEO_V4L1 (DEPRECATED) and VIDEO_SAA711X (OBSOLETED). What about letting people try out the ebuild I submitted in bug 143374 ?
Comment 12 Doug Goldstein (RETIRED) gentoo-dev 2006-08-09 16:13:28 UTC
Because the ebuild submitted in that bug is wrong. It is required for certain cards. Not all cards. Some cards used the older chip. The driver for that chip is not ported over yet. It is required. Read the ivtv documentation.
Comment 13 Robert Lippmann 2006-08-11 08:31:53 UTC
*** Bug 142239 has been marked as a duplicate of this bug. ***