2009-09-11 14:57:07

by Richard Kennedy

[permalink] [raw]
Subject: special HID & Kconfig: odd behavior in gconfig

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?

thanks

Richard


2009-09-13 15:59:19

by Jiri Kosina

[permalink] [raw]
Subject: Re: special HID & Kconfig: odd behavior in gconfig

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.