linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* special HID & Kconfig: odd behavior in gconfig
@ 2009-09-11 14:57 Richard Kennedy
  2009-09-13 15:59 ` Jiri Kosina
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Kennedy @ 2009-09-11 14:57 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: lkml, linux-kbuild, linux-input

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: special HID & Kconfig: odd behavior in gconfig
  2009-09-11 14:57 special HID & Kconfig: odd behavior in gconfig Richard Kennedy
@ 2009-09-13 15:59 ` Jiri Kosina
  0 siblings, 0 replies; 2+ messages in thread
From: Jiri Kosina @ 2009-09-13 15:59 UTC (permalink / raw)
  To: Richard Kennedy; +Cc: lkml, linux-kbuild, linux-input

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-13 15:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-11 14:57 special HID & Kconfig: odd behavior in gconfig Richard Kennedy
2009-09-13 15:59 ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).