<div dir="ltr"><div><div>Dear Petter!<br><br></div>Thank you for reply.<br></div><br>Here is a list:<br><ul><li>in Arch backlight brightness load and save are provided by systemd (see <a href="https://wiki.archlinux.org/index.php/backlight#systemd-backlight_service" target="_blank">Arch wiki</a>), it is in <a href="https://www.archlinux.org/packages/core/x86_64/systemd/" target="_blank">systemd</a> package.<br></li><li>in OpenSUSE 13.1, OpenSUSE 13.2, CentOS 7, Fedora 20, Fedora 21, Mageia 4 - <a href="http://pkgs.org/search//usr/lib/systemd/systemd-backlight?type=files" target="_blank">systemd package</a></li><li>Sabayon has <span style="font-family:monospace,monospace">/usr/lib/systemd/systemd-backlight</span> service</li><li><span style="color:rgb(0,0,0)"><span style="background-color:rgb(255,255,255)">ALT Linux p7 has systemd, but does not have </span></span><span style="font-family:monospace,monospace">/usr/lib/systemd/systemd-backlight</span> service</li><li>in Debian <a href="https://packages.debian.org/search?suite=jessie&arch=any&mode=path&searchon=contents&keywords=systemd-backlight">Jessie</a> and Debian <a href="https://packages.debian.org/search?suite=sid&arch=any&mode=path&searchon=contents&keywords=systemd-backlight">sid</a> there is <span style="font-family:monospace,monospace">/usr/lib/systemd/systemd-backlight</span> service</li><li>in Ubuntu <a href="http://packages.ubuntu.com/search?searchon=contents&keywords=systemd-backlight&mode=filename&suite=utopic&arch=any" target="_blank">Utopic</a> and Ubuntu <a href="http://packages.ubuntu.com/search?searchon=contents&keywords=systemd-backlight&mode=filename&suite=vivid&arch=any" target="_blank">Vivid</a> there is <span style="font-family:monospace,monospace">/usr/lib/systemd/systemd-backlight</span> service</li></ul><p>There is no backlight load/save functionality in (neither upstart nor systemd):</p><ul><li>Ubuntu Lucid</li><li>Ubuntu Precise</li><li>Ubuntu Trusty</li><li>Debian Wheezy</li><li>Debian Squeeze</li></ul><p><br></p><p>So it seems that modern distros have backlight load/save functionality via <a href="http://www.freedesktop.org/software/systemd/man/systemd-backlight@.service.html" target="_blank">systemd-backlight service</a>, but older systems does not have this functionality at all.</p>For older (but supported) systems one can use my script with symlinks (may be with some files in /etc/pm/). I mean Debian 6, 7 and Ubuntu 12.04, 14.04.<br><br>If you have any suggestions and recommendations - I'm ready to hear. <br>What you and other developers think? <br><br>With best regards,<br>Norbert.<p>P.S. I found interesting projects for the same purpose - first is named Light and hosted on <a href="https://github.com/haikarainen/light">GitHub</a> (previously known as <a href="http://haikarainen.dotgeek.org/lightscript/">LightScript</a>), second is named <a href="http://xyne.archlinux.ca/projects/relight/">Relight</a>. But I think that init-script approach is better.<br></p></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 23, 2014 at 12:44 PM, Petter Reinholdtsen <span dir="ltr"><<a href="mailto:pere@debian.org" target="_blank">pere@debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">[Nrbrtx]<br>
<span class="">> I have tested many distros - Arch, OpenSuSe 13.1, Fedora 20, ALT Linux p7,<br>
> Sabayon, Mageia 4.<br>
> Many of them are based on systemd.<br>
> It does not matter what init system they use, but all of them have very<br>
> useful script (or binary program, I don't know) for saving and restoring<br>
> backlight level on laptop.<br>
><br>
> In these distros there is a script for save and restore backlight levels<br>
> for two video-cards (acpi_video0 and acpi_video1). During system boot it is<br>
> indicated as follows:<br>
<br>
</span>While this seem like a useful feature, it can only be implemented once<br>
it is decided which package should take resposibility for it.  In which<br>
package is this handled byArch, OpenSuSe 13.1, Fedora 20, ALT Linux p7,<br>
Sabayon and Mageia 4?  Can you check, as you haveaccess to these<br>
already?  I do not.  Knowing this might give an idea where to fix it in<br>
Debian and Ubuntu. :)<br>
<br>
I do not expect to have time to work on this myself any time soon, but<br>
hope someone will. :)<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Happy hacking<br>
Petter Reinholdtsen<br>
</font></span></blockquote></div><br></div>