Re: [PATCH v2] platform/x86: ideapad-laptop: Squelch ACPI event 1

2017-05-23 Thread Andy Shevchenko
On Mon, May 22, 2017 at 1:38 PM, Hao Wei Tee wrote: > Don't simply throw this to userspace via the sparse_keymap (which does not > have a mapping for scancode 1), as this causes KEY_UNKNOWN to be emitted, > which is a nuisance and of no use at all (it is not the right way to

Re: [PATCH v2] platform/x86: ideapad-laptop: Squelch ACPI event 1

2017-05-23 Thread Andy Shevchenko
On Mon, May 22, 2017 at 1:38 PM, Hao Wei Tee wrote: > Don't simply throw this to userspace via the sparse_keymap (which does not > have a mapping for scancode 1), as this causes KEY_UNKNOWN to be emitted, > which is a nuisance and of no use at all (it is not the right way to expose > this ACPI

[PATCH v2] platform/x86: ideapad-laptop: Squelch ACPI event 1

2017-05-22 Thread Hao Wei Tee
Don't simply throw this to userspace via the sparse_keymap (which does not have a mapping for scancode 1), as this causes KEY_UNKNOWN to be emitted, which is a nuisance and of no use at all (it is not the right way to expose this ACPI event to userspace, anyway, and the original intention of the

[PATCH v2] platform/x86: ideapad-laptop: Squelch ACPI event 1

2017-05-22 Thread Hao Wei Tee
Don't simply throw this to userspace via the sparse_keymap (which does not have a mapping for scancode 1), as this causes KEY_UNKNOWN to be emitted, which is a nuisance and of no use at all (it is not the right way to expose this ACPI event to userspace, anyway, and the original intention of the