Bug 12204

Summary: can't select appropriate tuner driver under certain configuration
Product: v4l-dvb Reporter: Daniel Drake (dsd)
Component: dvb-coreAssignee: dvb-core (v4l-dvb_dvb-core)
Status: CLOSED CODE_FIX    
Severity: normal CC: kernel
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.28-rc8 Subsystem:
Regression: --- Bisected commit-id:

Description Daniel Drake 2008-12-12 05:15:10 UTC
Testing under 2.6.27.8 and also reproduced by me on 2.6.28-rc8, Alexey at https://bugs.gentoo.org/show_bug.cgi?id=245106 has found a configuration which allows him to select CONFIG_DVB_DIB0700 but does *not* allow him to select his tuner driver (mt2060) which is not enabled in the config.

This is fully reproducible and you don't need the hardware to see the configuration complication. Here's how to do it:

1. make defconfig

2. make menuconfig
Navigate and enable the following (I'm doing them as modules, accepting all defaults for other options)
CONFIG_DVB_CORE
CONFIG_DVB_FE_CUSTOMISE
CONFIG_DVB_USB
CONFIG_DVB_USB_DIB0700
then save and exit

4. grep MT2060 .config
--> no results

5. Go back into menuconfig and observe that CONFIG_MEDIA_TUNER_MT2060 is not selectable until you enable CONFIG_MEDIA_TUNER_CUSTOMIZE which is recommended to be left off.

Without the tuner driver installed, tuning doesn't work correctly. And it seems to me that the intended behaviour for the MEDIA_TUNER_CUSTOMIZE=n case is for the tuner to be automatically enabled, which is not happening here.
Comment 1 Daniel Drake 2009-01-01 07:35:05 UTC
Fixed by 8b21c1e90e633aee3363e3d87e1a0b829bdb420e
Thanks!!