https://bugzilla.kernel.org/show_bug.cgi?id=203905
kurmikon@libero.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kurmikon@libero.it
--- Comment #19 from kurmikon@libero.it --- I confirm that the bug is not fixed in 5.9.12.
https://github.com/systemd/systemd/issues/17826
As Poettering pointed out, actual_brightness is read-only and reports the brightness currently in effect, while brightness is writable and reports the value set by userspace.
Not only the actual brightness is in a different range that breaks systemd backlight restoring service at startup, but on my device its value is also fixed on the same value while it should reflect the correct level on brightness changes.
Brightness at the maximum: /sys/class/backlight/amdgpu_bl0/actual_brightness > 249 /sys/class/backlight/amdgpu_bl0/brightness > 255 /sys/class/backlight/amdgpu_bl0/max_brightness > 255
Brightness at the minimum: /sys/class/backlight/amdgpu_bl0/actual_brightness > 249 /sys/class/backlight/amdgpu_bl0/brightness > 2 /sys/class/backlight/amdgpu_bl0/max_brightness > 255