Linux 5.11 Adding An "Inhibited" Feature To Temporarily Disregard Select Input Devices

Written by Michael Larabel in Hardware on 4 December 2020 at 12:06 AM EST. 9 Comments
HARDWARE
The Linux kernel's input subsystem is gaining a new "inhibited" property feature as a policy to temporarily block input from given devices, including not using any event from them as a possible wake-up source.

This input inhibited property is being led by Google ChromeOS engineers in conjunction with Collabora and the initial use-case for inhibiting input from select devices is a 2-in-1/laptop use-case where the keyboard may be folded under the screen for creating a tablet-like experience. This new property allows for such a property to be created in user-space so that when such a keyboard folding event occurs it could inhibit the input from that given device. Other use-cases will also surely materialize.

Queued into the input-next code ahead of the Linux 5.11 kernel is this functionality, which is exposed to user-space via a sysfs interface.

The new documentation lays out more details on this means of inhibiting for ignoring input events from selected devices.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week