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)
Sun, Jul 12, 8:21 PM
Unknown Object (File)
Sun, Jul 12, 2:24 PM
Unknown Object (File)
Jun 15 2026, 3:00 PM
Unknown Object (File)
Jun 15 2026, 2:16 PM
Unknown Object (File)
May 3 2026, 4:26 PM
Unknown Object (File)
Apr 28 2026, 6:15 PM
Unknown Object (File)
Apr 28 2026, 6:09 PM
Unknown Object (File)
Apr 23 2026, 9:15 PM
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