Bug 21312

Summary: yealink driver does not show in Kconfig, driver is not build
Product: Other Reporter: Bogdan Hlevca (bogdan.hlevca)
Component: ConfigurationAssignee: other_configuration (other_configuration)
Status: RESOLVED DOCUMENTED    
Severity: normal CC: randy.dunlap
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.36 Subsystem:
Regression: No Bisected commit-id:

Description Bogdan Hlevca 2010-10-27 20:46:17 UTC
Although the source code is there for the driver, the configuration file KConfig does not seem to be actualized with the source code in the directory:

drivers/input/misc

As a result the "yealink" driver for the Yealink USB phone is not built.
I did not try to match other entries in KConfig with the files available in the directory, but there may be other configuration options missing. 

I made the change myself in the config file and now it builds fine. However, I think that Kconfig should be fixed in the main tree.

Thanks.
Comment 1 Randy Dunlap 2010-10-27 20:51:28 UTC
This driver depends on "EXPERIMENTAL":
config INPUT_YEALINK
	tristate "Yealink usb-p1k voip phone"
	depends on EXPERIMENTAL

so if you enable that EXPERIMENTAL kconfig symbol, you should be able to
also enable the yealink driver.
Comment 2 Bogdan Hlevca 2010-10-27 21:18:42 UTC
Thanks, it works. I had no idea that the driver depends on experimental.
It would be nice if it will show grayed out so I know that it exists somehow.

I'll close the bug. Sorry for the inconvenience.
Comment 3 Randy Dunlap 2010-10-27 21:31:36 UTC
xconfig will show it grayed out if you have Option: Show all options
enabled/set/checked.

menuconfig and/or nconfig will show it if you search for "yealink" using
the / (slash) search command.  You can see there that it depends on
EXPERIMENTAL.