<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>162239</bug_id>
          
          <creation_ts>2007-01-15 17:57 0000</creation_ts>
          <short_desc>Kernel patch for S-Video/Composite-Input of the Terratec Cinergy 1400 DVB-T</short_desc>
          <delta_ts>2007-01-29 18:18:02 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Core system</component>
          <version>2006.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://bugzilla.kernel.org/show_bug.cgi?id=7830</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>heiko@baums-on-web.de</reporter>
          <assigned_to>dsd@gentoo.org</assigned_to>
          <cc>kernel@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>heiko@baums-on-web.de</who>
            <bug_when>2007-01-15 17:57:47 0000</bug_when>
            <thetext>Please, apply the attached patch to the kernel, at least to gentoo-sources.

The file /usr/src/linux/drivers/media/video/cx88/cx88-cards.c needs to be patched to get the combined S-Video/Composite input of the Terratec Cinergy 1400 DVB-T working.

The patch I&apos;ve made is for gentoo-sources-2.6.19-r4.

It would be nice if this would also go into the other kernel sources.

Btw, &quot;.vmux = 2&quot; is in both cases correct because this DVB-T card has only one input which is a combined S-Video/Composite input. How the input source has to be interpreted has to be set by the parameters/options of the capturing software like tvtime or mplayer.

The picture quality for me is not the best but I don&apos;t know if and I don&apos;t think that this is kernel related. But maybe someone can have a look at this, too, if this can be tuned in the kernel.

I don&apos;t know the functions of the gpio values in some of the other card descriptions in this file. So I don&apos;t know if it&apos;s necessary to set such a gpio value and to which value it has to be set to. But I&apos;m getting a picture without it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>heiko@baums-on-web.de</who>
            <bug_when>2007-01-15 17:59:05 0000</bug_when>
            <thetext>Created an attachment (id=107079)
cx88-cards.c.diff

The kernel patch to get the combined S-Video/Composite input of the Terratec Cinergy 1400 DVB-T working.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-01-15 18:30:31 0000</bug_when>
            <thetext>This needs to be submitted upstream, not to Gentoo...

http://dev.gentoo.org/~dsd/genpatches/faq.htm</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dsd@gentoo.org</who>
            <bug_when>2007-01-15 18:46:39 0000</bug_when>
            <thetext>Are you the author of this patch?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>heiko@baums-on-web.de</who>
            <bug_when>2007-01-15 19:15:32 0000</bug_when>
            <thetext>Over a year ago I&apos;ve found a similar patch for an older kernel version somewhere in a forum in the internet. I don&apos;t know where anymore.

Because I haven&apos;t saved the patch and need this function again I just rewrote it from what I remembered. So principally I am the author of this patch but it depends on another possibly slightly different patch.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>heiko@baums-on-web.de</who>
            <bug_when>2007-01-15 21:35:42 0000</bug_when>
            <thetext>Filed a bug report upstream:
http://bugzilla.kernel.org/show_bug.cgi?id=7830</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>heiko@baums-on-web.de</who>
            <bug_when>2007-01-21 05:01:54 0000</bug_when>
            <thetext>Created an attachment (id=107627)
cx88-cards.c.patch

A slightly modified patch as asked by upstream&apos;s documentation for submitting patches.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dsd@gentoo.org</who>
            <bug_when>2007-01-21 18:04:00 0000</bug_when>
            <thetext>patch accepted upstream</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zzam@gentoo.org</who>
            <bug_when>2007-01-22 09:58:28 0000</bug_when>
            <thetext>You could use v4l-dvb-hg until patch makes it into an official kernel-version.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>heiko@baums-on-web.de</who>
            <bug_when>2007-01-22 10:17:22 0000</bug_when>
            <thetext>If you mean me, I know. Because I have written this patch it&apos;s already in my kernel. ;-)

For any other people of course you are right.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dsd@gentoo.org</who>
            <bug_when>2007-01-29 18:18:02 0000</bug_when>
            <thetext>Fixed in gentoo-sources-2.6.19-r5</thetext>
          </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>107079</attachid>
            <date>2007-01-15 17:59 0000</date>
            <desc>cx88-cards.c.diff</desc>
            <filename>cx88-cards.c.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGN4ODgtY2FyZHMuYy5vcmlnCTIwMDctMDEtMTUgMTg6MDY6MDIuMDAwMDAwMDAwICswMTAw
CisrKyBjeDg4LWNhcmRzLmMJMjAwNy0wMS0xNSAxNzo0NTo0NC4wMDAwMDAwMDAgKzAxMDAKQEAg
LTc1NCw2ICs3NTQsMTIgQEAKIAkJLmlucHV0ICAgICAgICAgID0ge3sKIAkJCS50eXBlICAgPSBD
WDg4X1ZNVVhfRFZCLAogCQkJLnZtdXggICA9IDAsCisgICAgICAgICAgICAgICAgfSx7CisgICAg
ICAgICAgICAgICAgICAgICAgICAudHlwZSAgID0gQ1g4OF9WTVVYX0NPTVBPU0lURTEsCisgICAg
ICAgICAgICAgICAgICAgICAgICAudm11eCAgID0gMiwKKyAgICAgICAgICAgICAgICB9LHsKKyAg
ICAgICAgICAgICAgICAgICAgICAgIC50eXBlICAgPSBDWDg4X1ZNVVhfU1ZJREVPLAorICAgICAg
ICAgICAgICAgICAgICAgICAgLnZtdXggICA9IDIsCiAJCX19LAogCQkubXBlZyAgICAgICAgICAg
PSBDWDg4X01QRUdfRFZCLAogCX0sCg==
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>107627</attachid>
            <date>2007-01-21 05:01 0000</date>
            <desc>cx88-cards.c.patch</desc>
            <filename>cx88-cards.c.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGxpbnV4LTIuNi4xOS4yL2RyaXZlcnMvbWVkaWEvdmlkZW8vY3g4OC9jeDg4LWNhcmRzLmMu
b3JpZwkyMDA3LTAxLTIxIDAzOjE5OjQzLjAwMDAwMDAwMCArMDEwMAorKysgbGludXgtMi42LjE5
LjIvZHJpdmVycy9tZWRpYS92aWRlby9jeDg4L2N4ODgtY2FyZHMuYwkyMDA3LTAxLTIxIDAzOjIy
OjQ2LjAwMDAwMDAwMCArMDEwMApAQCAtNzU0LDYgKzc1NCwxMiBAQCBzdHJ1Y3QgY3g4OF9ib2Fy
ZCBjeDg4X2JvYXJkc1tdID0gewogCQkuaW5wdXQgICAgICAgICAgPSB7ewogCQkJLnR5cGUgICA9
IENYODhfVk1VWF9EVkIsCiAJCQkudm11eCAgID0gMCwKKwkJfSx7CisJCQkudHlwZSAgID0gQ1g4
OF9WTVVYX0NPTVBPU0lURTEsCisJCQkudm11eCAgID0gMiwKKwkJfSx7CisJCQkudHlwZSAgID0g
Q1g4OF9WTVVYX1NWSURFTywKKwkJCS52bXV4ICAgPSAyLAogCQl9fSwKIAkJLm1wZWcgICAgICAg
ICAgID0gQ1g4OF9NUEVHX0RWQiwKIAl9LAo=
</data>        

          </attachment>
    </bug>

</bugzilla>