Re: [PATCH] dell-wmi: add module param to control Dell Instant Launch hotkey processing
From: Darren Hart
Date: Mon Nov 30 2015 - 16:15:51 EST
On Thu, Nov 26, 2015 at 03:18:32PM +0100, MichaÅ KÄpieÅ wrote:
> On some laptop models (e.g. Dell Vostro V131), pressing the Dell Instant
> Launch hotkey does not raise an i8042 interrupt - only WMI event 0xe025
> is generated. As there is no flawless way to determine whether a given
> machine is capable of simulating a keypress when this hotkey is pressed,
> a new module parameter is added so that the user can decide whether the
> WMI event should be processed or ignored.
>
> Signed-off-by: MichaÅ KÄpieÅ <kernel@xxxxxxxxxx>
Module parameters are to be avoided wherever possible, especially for things
like this which set precedent and don't scale well. If we cannot detect which
machines use the EC and which only use WMI, then we can fall back to checking
DMI for specific models.
Per the above, and Pali's feedback. I'll be dropping this one in anticipation of
a V2.
Thanks,
--
Darren Hart
Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/