Page MenuHomeFreeBSD

Alert devd when acpi_video brightness changes
ClosedPublic

Authored by cperciva on Apr 14 2020, 8:33 PM.
Tags
None
Referenced Files
F132189620: D24424.id.diff
Tue, Oct 14, 3:07 PM
F132189607: D24424.id70574.diff
Tue, Oct 14, 3:06 PM
F132189600: D24424.id70664.diff
Tue, Oct 14, 3:06 PM
F132133905: D24424.diff
Tue, Oct 14, 1:34 AM
Unknown Object (File)
Wed, Oct 8, 7:01 AM
Unknown Object (File)
Sep 12 2025, 8:35 AM
Unknown Object (File)
Sep 5 2025, 3:50 AM
Unknown Object (File)
Aug 29 2025, 5:03 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 30504