Skip to contentSkip to conversation

special HID & Kconfig: odd behavior in gconfig

DISCUSSION Richard Kennedy 2 participants 2 messages Sep 11, 2009 – Sep 13, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 9 lines · Richard Kennedy

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

Quoted 6 lines

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

===

Signature · 2 lines
Jiri Kosina
SUSE Labs, Novell Inc.