Re: [PATCH] eeepc-laptop: Skip unknown key messages 0x50 0x51

From: Andy Shevchenko
Date: Tue Feb 21 2017 - 10:39:16 EST


On Tue, Feb 21, 2017 at 3:39 PM, Pau Espin Pedrol <pespin.shar@xxxxxxxxx> wrote:

> If we have user space tools supporting and using this type of event,
> then what about adding them properly with a define + entry in the
> structure array so that it can be standardized and on top get rid of
> those kernel message every time I (un)plug the charger? Would that be
> welcomed? I could send a new patch as specified above, adding the
> KEY_CHARING_ON/OFF defines + add entries to eeepc_keymap.

Please, do not top posting.

Dmitry, do we have special events for AC (un)plug? What is the best
approach in your opinion?

>> On Feb 18, 2017 17:16, "Andy Shevchenko" <andy.shevchenko@xxxxxxxxx> wrote:
>>
>> On Fri, Feb 10, 2017 at 7:48 PM, Pau Espin Pedrol <pespin.shar@xxxxxxxxx>
>> wrote:
>>> Otherwise those are printed several times when (un)plugging the AC
>>> connector.
>>
>> If we have a user space tool that supports them better not to ignore.

--
With Best Regards,
Andy Shevchenko