<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [regression] save/restore screen backlight brightness fails after xorg update"
href="https://bugs.freedesktop.org/show_bug.cgi?id=81884#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [regression] save/restore screen backlight brightness fails after xorg update"
href="https://bugs.freedesktop.org/show_bug.cgi?id=81884">bug 81884</a>
from <span class="vcard"><a class="email" href="mailto:mike.cloaked@gmail.com" title="Mike C <mike.cloaked@gmail.com>"> <span class="fn">Mike C</span></a>
</span></b>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>