platform/x86/intel/hid: Add module-params for 5 button array + SW_TABLET_MODE reporting
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): Y3djFvrET/4meoq/@smile.fi.intel.com
Hi,
Quoted 11 lines · Andy Shevchenko
Quoted 8 lines · Hans de Goede
The driver has DMI-quirk tables for force-enabling 5 button array support and for 2 different ways of enabling
SW_TABLET_MODEreporting.Add module parameters to allow user to enable the driver behavior currently only available through DMI quirks.
This is useful for users to test this in bug-reports and for users to use as a workaround while new DMI quirks find their way upstream.
Lately you have been adding tons of module parameters here and there.
I'm not sure I would call it "tons of" I've added a few parameters to allow users to test behavior which before then was only available through DMI quirk tables.
This is useful for users to easily check if their model needs to be added to a DMI quirk table.
Quoted 7 lines
Taking into account that we discourage to do that, but at the same time understanding your point, wouldn't be better before doing that, provide a new type of the module parameters "for debug purposes only". One way is to provide necessary macros
MODULE_PARAM_DEBUG()
Quoted 7 lines
And always have the parameters suffixed with
_debug. OR introduce an additional option that user may put before "open" debugging module / kernel command line parameters?In this case we delimit the old/existing parameters with the parameters for debugging. Moreover, it may be excluded by introducing
Kconfigoption at compile time.
Adding special infrastructure for just these 5-6 module parameters which I have added recently seems a bit too much to me.
Regards,
Hans
p.s.
I notice that I have forgotten to Cc the list when submitting that patch, I've added the list to the Cc now and I'll resend the patch with the list in the Cc.