From: Jean Delvare <jdelvare@suse.de>
To: Jiri Kosina <jkosina@suse.cz>
Cc: linux-input@vger.kernel.org
Subject: Re: [RFC PATCH] HID: Stop hiding options with !EXPERT
Date: Sat, 29 Mar 2014 15:06:44 +0100 [thread overview]
Message-ID: <20140329150644.39f9d84c@endymion.delvare> (raw)
In-Reply-To: <alpine.LNX.2.00.1403281511120.16202@pobox.suse.cz>
Hi Jiri,
On Fri, 28 Mar 2014 15:13:39 -0700 (PDT), Jiri Kosina wrote:
> On Fri, 21 Mar 2014, Jean Delvare wrote:
>
> > Many HID driver options are hidden unless EXPERT is set. While I
> > understand the idea of simplifying the kernel configuration for most
> > users, in practice I believe it adds more confusion than it helps.
>
> 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.
The problem is that the hidden options may end up built-in, not
modular, in which case they are actually wasting runtime footprint, and
polluting /sys/bus/hid/drivers.
> And if you really want to disable them, CONFIG_EMBEDDED allows you to do
> that.
True, but CONFIG_EMBEDDED / CONFIG_EXPERT are tree-wide settings.
Enabling them un-hides a lot more options than just these HID drivers.
Not everyone wants that.
Other subsystems have solved the problem with specific options, which
give the user more flexibility over which areas he/she wants to
fine-tune. See for example CONFIG_I2C_HELPER_AUTO and
CONFIG_MEDIA_SUBDRV_AUTOSELECT. That might be an alternative if you
really think that these drivers entries should be hidden by default (I
don't.)
> Please see last paragraph on
>
> https://lkml.org/lkml/2008/10/14/266
>
> ===
>
> i.e. it was explicitly requested by Linus.
>
> That's the history.
Well, I see that Linus was mostly unhappy because the of the new
warnings introduced by the change. Plus...
> Now, admittedly, it was quite some time ago, and HID world has matured a
> lot since then, so the 'quirks' turned out into proper drivers. So maybe
> there indeed might be a good time to try it again.
... these were boolean quirks, and IIRC everything ended up being built
in the same module. So the discussion was relevant back then.
Now we have separate drivers, controlled by tristate options. This is a
completely different situation.
Also, many drivers were added since then. I doubt that hiding 11
drivers, while about 50 are always presented to the user, really helps
easing the configuration, if that was the actual goal.
In fact, looking at the git history, I can see that more drivers used
to depend on CONFIG_EMBEDDED / CONFIG_EXPERT, and these dependencies
were removed over time:
commit 4b186f72033611c2b526c7341534e71ee4afd222
Author: Jiri Kosina <jkosina@suse.cz>
Date: Wed Dec 23 13:12:32 2009 +0100
HID: make 3M PCT touchscreen driver standalone config option
commit 92688c0c3c1c9e2daf705d307e8fda1b5a180d26
Author: Jiri Kosina <jkosina@suse.cz>
Date: Mon Jan 4 12:04:59 2010 +0100
HID: make Stantum driver standalone config option
commit 2dbf209d7a7ab94266b936bd2da6a4026c279992
Author: Jiri Kosina <jkosina@suse.cz>
Date: Wed Feb 3 16:11:12 2010 +0100
HID: make full-fledged hid-bus drivers properly selectable
commit 23d386d85a9144612c4a13733aa1ca6e5a21f4a2
Author: Jiri Kosina <jkosina@suse.cz>
Date: Mon Mar 22 16:33:15 2010 +0100
HID: fixup Kconfig entry for Roccat Kone
commit 95736de984dec5b80ea9d6640d4d55ca8ff98db4
Author: Jiri Kosina <jkosina@suse.cz>
Date: Wed May 12 15:27:00 2010 +0200
HID: make Prodikeys driver standalone config option
commit 73d5e8f77e88a4d3a154dfdbb4ed2cf461b7bf21
Author: Jiri Kosina <jkosina@suse.cz>
Date: Fri May 21 13:15:17 2010 +0200
HID: fix up 'EMBEDDED' mess in Kconfig
commit f36ee074d5d563a832fbfc378207739db3a0a205
Author: Jiri Kosina <jkosina@suse.cz>
Date: Mon Aug 9 19:56:01 2010 +0200
HID: uclogic: fix up Kconfig entry
commit dfe9a31211c0a3a0252af6c87935d7ac718aadf9
Author: Jiri Kosina <jkosina@suse.cz>
Date: Mon Oct 17 17:04:58 2011 +0200
HID: primax: remove spurious dependency
commit 22ca20b250f5c9672a53b34f032f43dd2c4a4aaf
Author: Nikolai Kondrashov <spbnick@gmail.com>
Date: Tue Feb 28 13:01:46 2012 +0200
HID: kye: Add support for 3 tablets
And I may have missed some. So all I am really asking here, is that we
finish a cleanup that already started over 4 years ago.
If this is really only a question of which devices are more likely to
be used by a large number of users, then that's what defaults are for.
Thanks,
--
Jean Delvare
SUSE L3 Support
prev parent reply other threads:[~2014-03-29 14:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-21 8:46 [RFC PATCH] HID: Stop hiding options with !EXPERT Jean Delvare
2014-03-28 22:13 ` Jiri Kosina
2014-03-29 14:06 ` Jean Delvare [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140329150644.39f9d84c@endymion.delvare \
--to=jdelvare@suse.de \
--cc=jkosina@suse.cz \
--cc=linux-input@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).