VOOZH about

URL: https://www.phoronix.com/news/Linux-6.15-HID

⇱ Linux 6.15 Better Handles PS5 Controllers, AMD Human Presence Detection Off By Default - Phoronix


👁 Phoronix

Linux 6.15 Better Handles PS5 Controllers, AMD Human Presence Detection Off By Default

Written by Michael Larabel in Hardware on 28 March 2025 at 06:16 AM EDT. 5 Comments
All of the HID subsystem updates have been merged for the ongoing Linux 6.15 merge window.

Thanks to the work of Amazon engineer Alex Henrie, Sony PlayStation 5 controllers are better handled with Linux 6.15. Sony previous contributed a new Linux driver for the PlayStation 5 controllers as the "hid-playstation" driver. What's happening now is adding the PS5 controller IDs to the hid-quirks code so that the hid-playstation driver will be properly loaded. This is also to help with cases where the new hid-playstation driver may be built as part of the kernel but not the older hid-sony driver for prior controllers. With Linux 6.15 this oversight is addressed and PlayStation 5 controller support should now work more reliably/universally with the PlayStation HID driver.

👁 PS5 controller


The HID updates for Linux 6.15 also include a "big revamp and modernization" of the hid-pidff force feedback driver. The hid-pidff driver is used for force feedback with more quirky / non-standard devices. There is a lot of code cleaning and other low-level improvements to this driver.

The AMD SFH driver meanwhile has improved its Human Presence Detection "HPD" support. This AMD SFH driver support for modern Ryzen laptops will now default to having Human Presence Detection disabled. HPD is intended for situations like automatic wake-from-suspend when a human is approaching or locking the screen when no human presence is detected. Via the new /sys/bus/pci/drivers/pcie_mp2_amd/*/hpd sysfs interface you can enable/disable HPD for AMD SFH supported laptops.

As for the off-by-default behavior:
"Unless you know to look for it, HPD is a surprising behavior; particularly because it can wake the system from suspend. It also has implications for power consumption because sensors are left enabled.

After the sensors have been probed (and HPD is found present), explicitly turn off HPD by default. Userspace can manually turn it on if desirable."

Plus there are fixes to the Apple HID drivers, various HID BPF additions, and more. See the full list of HID changes for Linux 6.15 via this pull request that has already been merged to Linux Git.

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.