what's the analogue of systemd-backlight on FreeBSD?

Linux has systemd-backlight to save/restore LED brightness on shutdown/boot. KDE6 on FreeBSD, for example, relies on the OS to handle hardware initialization, and FreeBSD doesn't have a native "restore brightness" service by default. So...is the official FreeBSD way right now to create your own boot script that handles this?
 
The reason I'm asking is because KDE isn't saving the backlight brightness between reboots for me...but is supposed to, it turns out. And it does save the backlight slider value, it's just that it's ignored on each boot and the backlight gets set to maximum value on boot.
 
The reason I'm asking is because KDE isn't saving the backlight brightness between reboots for me...but is supposed to, it turns out. And it does save the backlight slider value, it's just that it's ignored on each boot and the backlight gets set to maximum value on boot.
Is it like this for other KDE users?

I am now manually saving backlight value on shutdown and restoring it on boot.

Maybe the issue is that KDE assumes the backlight doesn't get reset by the hardware to the max value? Is there any way to force KDE to set backlight to the last value on load/boot instead of assuming it's the same since the last user input?
🤞
 
It seems the problem is KDE. Because saving and restoring the backlight during reboot with rc scripts works only till I start KDE. KDE starts, and my restored backlight goes back to 100, even though KDE's slider is at a lower setting. Is it just me having this??
 
Back
Top