Re: special HID & Kconfig: odd behavior in gconfig

From: Jiri Kosina
Date: Sun Sep 13 2009 - 11:59:31 EST


On Fri, 11 Sep 2009, Richard Kennedy wrote:

> I use gconfig & and cannot turn off any of the special HID devices.
>
> the Kconfig for them all have the same pattern e.g.
>
> config HID_DRAGONRISE
> tristate "DragonRise Inc. support" if EMBEDDED
> depends on USB_HID
> default !EMBEDDED
>
> The 'if EMBEDDED' on the tristate line seems to confuse gconfig and it
> sets them all to m & does not let me set them to N. I'm building this on
> a standard desktop machine.
>
> Any idea what the intention of this was? or can we just remove the if
> embedded part?

Hi Richard,

actually this question has been raised by several people in the past
already. Copy/pasting the latest reply I have sent on this topic

===

mostly this is because we don't want to bother users with asking for every
single quirky device/vendor, as there are unfortunately a lot of them.
Usually compiling everything in doesn't waste runtime footprint (the
modules don't get loaded unless needed), and they don't cost too much disk
space either. And if you really want to disable them, CONFIG_EMBEDDED
allows you to do that.

Please see last paragraph on

http://lkml.org/lkml/2008/10/14/284

===

--
Jiri Kosina
SUSE Labs, Novell Inc.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/