Script incomplete?

Hi, i try to install this script:

Backlight is always at full brightness after a reboot with amdgpu driver is placed in my home folder, with the change with my own hardware that i found in folder /var/lib/systemd/backlight:

#! /bin/bash

# Change the line below according to your hardware
BRIGHTNESS=${BRIGHTNESS/.*} # truncating to int, just in case

Then i place fix-brightness.service in /etc/systemd/system/:

Description=Convert 16-bit brightness values to 8-bit before systemd-backlight applies it



Then i do this in root terminal:
systemctl start fix-brightness.service
systemctl enable fix-brightness.service

After reboot the brightness is back to 100% :unamused:, then i do this:
systemctl status systemd-backlight@backlight:amdgpu_bl0.service
The service start correct, but now it say “0 is to low for brightness, try to 2”.

Then i going to this file:


and set manually 0 in 2 (with root), but after reboot its again to 0! How can this be? What im doing wrong?

I found another workaround:

Topic can be closed.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.