public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: mkrufky@linuxtv.org
To: bcjenkins@tvwhere.com
Cc: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] cx18 or tveeprom - Missing dependency? [PATCH]
Date: Tue, 17 Jun 2008 12:17:08 -0400	[thread overview]
Message-ID: <4857E384.1000200@linuxtv.org> (raw)
In-Reply-To: <6CF9A586-AF45-4900-8BA4-3F537C1CB562@tvwhere.com>

Brandon Jenkins wrote:
>
> On Jun 17, 2008, at 11:24 AM, mkrufky@linuxtv.org wrote:
>
>> Brandon Jenkins wrote:
>>>
>>> On Jun 17, 2008, at 10:52 AM, mkrufky@linuxtv.org wrote:
>>>
>>>> Brandon Jenkins wrote:
>>>> Brandon,
>>>>
>>>> VIDEO_CX18 selects VIDEO_TUNER , but you chose the option,
>>>> "MEDIA_TUNER_CUSTOMIZE" , which turns off the automatic tuner 
>>>> dependency
>>>> selections.  Please note the description of this option:
>>>>
>>>> menuconfig MEDIA_TUNER_CUSTOMIZE
>>>>       bool "Customize analog and hybrid tuner modules to build"
>>>>       depends on MEDIA_TUNER
>>>>       help
>>>>         This allows the user to deselect tuner drivers unnecessary
>>>>         for their hardware from the build. Use this option with care
>>>>         as deselecting tuner drivers which are in fact necessary will
>>>>         result in V4L/DVB devices which cannot be tuned due to lack of
>>>>         driver support
>>>>
>>>>         If unsure say N.
>>>>
>>>>
>>>> We allow users to disable certain modules if they think they know
>>>> better, and choose to compile out drivers that they don't need.  You
>>>> should not have disabled tuner-simple -- to play it safe, don't enable
>>>> MEDIA_TUNER_CUSTOMIZE
>>>>
>>>> Regards,
>>>>
>>>> Mike
>>>>
>>>>
>>> Mike,
>>>
>>> Thank you. I understand the impact my choice makes in that matter.
>>> However, all of the other modules required for cx18 to function are
>>> marked in the lists as -M- indicating it is a required module/module
>>> dependency. I apologize for my ignorance of terminology, etc., but it
>>> would seem to me that "Simple tuner support" should automatically have
>>> the -M- as a required resource for the tuner to function correctly.
>>>
>>> Thank you for your time in responding.
>>>
>>> Brandon
>> No -- You are misunderstanding -- The selection of the tuner.ko i2c
>> client module is forced as -M- , since it is selected as a dependency.
>> You then proceeded into a deeper layer of customization, and enabled
>> "MEDIA_TUNER_CUSTOMIZE" -- this option allows you to disable tuner
>> modules that should have otherwise been autoselected for your hardware.
>> I repeat -- this is an advanced customization option, and you have been
>> so warned by its Kconfig description.
>>
>> I am pushing up a patch now that disables MEDIA_TUNER_CUSTOMIZE by 
>> default.
>>
>> -Mike
> Mike,
>
> That doesn't solve the problem. I believe the patch below, will.
>
> Brandon
>
> diff -r 50be11af3fdb linux/drivers/media/video/cx18/Kconfig
> --- a/linux/drivers/media/video/cx18/Kconfig    Mon Jun 16 18:04:06 
> 2008 -0300
> +++ b/linux/drivers/media/video/cx18/Kconfig    Tue Jun 17 12:02:03 
> 2008 -0400
> @@ -12,6 +12,7 @@ config VIDEO_CX18
>      select VIDEO_CS5345
>      select DVB_S5H1409
>      select MEDIA_TUNER_MXL5005S
> +    select MEDIA_TUNER_SIMPLE
>      ---help---
>        This is a video4linux driver for Conexant cx23418 based
>        PCI combo video recorder devices.
>
Brandon,

Thank you for this, but this patch will not be merged.  I explained in 
the quoted email, above, that you have invoked a deeper layer of 
customization that allows us to disable tuner modules, regardless of 
your actual hardware.

This option was designed for the sake of larger drivers, such as cx88 or 
saa7134, who may use many different tuners depending on the actual board 
present.  In the future, there may eventually be a cx18 board that does 
not use tuner-simple.  This option allows users to disable tuner-simple 
from building.  The default behavior is to automatically select the 
tuner driver needed for your hardware, but when you enable 
MEDIA_TUNER_CUSTOMIZE, this autoselection is turned off.  This is the 
correct behavior.

I repeat again that this Kconfig option provides a warning to the user 
that this should be enabled at your own risk, only.

"Use this option with care as deselecting tuner drivers which are in 
fact necessary will result in V4L/DVB devices which cannot be tuned due 
to lack of driver support."

Do not enable MEDIA_TUNER_CUSTOMIZE unless you know what you're doing.

End of story.

-Mike



_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

  reply	other threads:[~2008-06-17 16:17 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-17 13:31 [linux-dvb] cx18 or tveeprom - Missing dependency? Brandon Jenkins
2008-06-17 13:38 ` Michael Krufky
2008-06-17 13:41   ` Brandon Jenkins
2008-06-17 14:52     ` mkrufky
2008-06-17 15:19       ` Brandon Jenkins
2008-06-17 15:24         ` mkrufky
2008-06-17 16:06           ` [linux-dvb] cx18 or tveeprom - Missing dependency? [PATCH] Brandon Jenkins
2008-06-17 16:17             ` mkrufky [this message]
2008-06-17 16:31               ` Brandon Jenkins
2008-06-17 17:39                 ` mkrufky
2008-06-17 18:33                   ` Brandon Jenkins
2008-06-17 18:42                     ` mkrufky
2008-06-17 19:15                       ` [linux-dvb] cx18 or tveeprom - Missing dependency? [SOLVED?] Brandon Jenkins
2008-06-17 19:23                         ` mkrufky
2008-06-17 19:51                           ` Brandon Jenkins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4857E384.1000200@linuxtv.org \
    --to=mkrufky@linuxtv.org \
    --cc=bcjenkins@tvwhere.com \
    --cc=linux-dvb@linuxtv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox