Page MenuHomeFreeBSD

Alert devd when acpi_video brightness changes
ClosedPublic

Authored by cperciva on Apr 14 2020, 8:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 23 2024, 8:46 PM
Unknown Object (File)
Jan 16 2024, 8:36 PM
Unknown Object (File)
Jan 16 2024, 7:15 PM
Unknown Object (File)
Dec 23 2023, 10:06 AM
Unknown Object (File)
Oct 2 2023, 7:58 PM
Unknown Object (File)
Sep 25 2023, 6:02 AM
Unknown Object (File)
Sep 25 2023, 6:02 AM
Unknown Object (File)
Sep 25 2023, 6:01 AM
Subscribers
None

Details

Summary

On my new Dell laptop, the brightness hotkeys (Fn+<up arrow> and Fn+<down arrow>) send ACPI notifications to acpi_video but the backlight brightness does not change. This patch makes acpi_video forward those notifications to devd, which allows me to invoke intel_backlight from userland.

Test Plan

Works for me. I'm posting this here in case because I'm not familiar with ACPI or devd and someone might tell me that I'm doing this wrong...

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable