Linux 5.14 Ready With Light Sensor + Human Presence Detection For Newer AMD Laptops
Written by Michael Larabel in Hardware on 30 June 2021 at 11:12 AM EDT. 4 Comments
HARDWARE --
The HID subsystem updates for Linux 5.14 continue improving consumer device support from newer AMD Ryzen laptops to multi-touch improvements.

As covered recently, AMD posted their first big set of updates to the AMD-SFH Linux driver for "next-gen" support, their first sizable update since the Sensor Fusion Hub driver was mainlined at the end of 2020 for hooking up the sensor functionality on these laptops. That new support amounts to bringing up now previous generation Renoir (Ryzen 4000 series) laptop coverage and recently launched Cezanne (Ryzen 5000) series support.

Along with getting Renoir and Cezanne hardware working with this open-source Sensor Fusion Hub driver, the Ambient Light Sensor and Human Presence Detection sensor functionality is also now working with this driver. The Ambient Light Sensor (ALS) is for dealing with backlight changes for laptops based on the ambient light detected and Human Presence Detection (HPD) is for allowing behavior like turning the screen on/off if detecting someone.

Those AMD-SFH patches are part of the HID subsystem updates on their way to mainline for Linux 5.14. This next kernel version is looking good for Linux on laptops with also having several x86 platform driver improvements too benefiting newer devices from the likes of Dell and Lenovo.

This HID pull request also adds support for the USB/HID defined "Programmable Buttons" functionality, improvements to the hid-multitouch driver, the Intel Sensor Hub (ISH, Intel's equivalent to AMD SFH) now supports DMA on Elkhart Lake platforms, and a variety of other improvements ranging from enhancing the lg-g15 driver to other minor updates throughout.

The full list of HID subsystem changes for the Linux 5.14 merge window can be found via this pull request.
Related News
About The Author
Author picture

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 or contacted via MichaelLarabel.com.

Popular News This Week