[systemd-bugs] [Bug 81884] [regression] save/restore screen backlight brightness fails after xorg update

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 30 06:31:40 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=81884

--- Comment #5 from Mike C <mike.cloaked at gmail.com> ---
It looks like systemd is not storing the brightness values correctly so maybe
xf86-video-intel is involved as well as systemd? Anyway I checked the values
that systemd stored and they look as follows:

# cat /var/lib/systemd/backlight/pci-0000\:00\:02.0\:backlight\:acpi_video0 
100
# cat /var/lib/systemd/backlight/pci-0000\:00\:02.0\:backlight\:intel_backlight 
11

So the value in intel_backlight is certainly incorrect - the above values were
checked after KDE resets the brightness correctly. So the numbers in the /sys/
area are set right but on shutdown it seems that the saved values by systemd
are wrong:

# ls -1 /sys/class/backlight/*/*brightness | xargs -I % sh -c "echo % ; cat %"
/sys/class/backlight/acpi_video0/actual_brightness
100
/sys/class/backlight/acpi_video0/brightness
100
/sys/class/backlight/acpi_video0/max_brightness
100
/sys/class/backlight/intel_backlight/actual_brightness
937
/sys/class/backlight/intel_backlight/brightness
937
/sys/class/backlight/intel_backlight/max_brightness
937

These values are not getting saved by systemd but the intel value is somehow
becoming 11 instead of 937

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140730/ec8c1d79/attachment.html>


More information about the systemd-bugs mailing list