Dear Petter! Thank you for reply.
Here is a list: - in Arch backlight brightness load and save are provided by systemd (see Arch wiki <https://wiki.archlinux.org/index.php/backlight#systemd-backlight_service>), it is in systemd <https://www.archlinux.org/packages/core/x86_64/systemd/> package. - in OpenSUSE 13.1, OpenSUSE 13.2, CentOS 7, Fedora 20, Fedora 21, Mageia 4 - systemd package <http://pkgs.org/search//usr/lib/systemd/systemd-backlight?type=files> - Sabayon has /usr/lib/systemd/systemd-backlight service - ALT Linux p7 has systemd, but does not have /usr/lib/systemd/systemd-backlight service - in Debian Jessie <https://packages.debian.org/search?suite=jessie&arch=any&mode=path&searchon=contents&keywords=systemd-backlight> and Debian sid <https://packages.debian.org/search?suite=sid&arch=any&mode=path&searchon=contents&keywords=systemd-backlight> there is /usr/lib/systemd/systemd-backlight service - in Ubuntu Utopic <http://packages.ubuntu.com/search?searchon=contents&keywords=systemd-backlight&mode=filename&suite=utopic&arch=any> and Ubuntu Vivid <http://packages.ubuntu.com/search?searchon=contents&keywords=systemd-backlight&mode=filename&suite=vivid&arch=any> there is /usr/lib/systemd/systemd-backlight service There is no backlight load/save functionality in (neither upstart nor systemd): - Ubuntu Lucid - Ubuntu Precise - Ubuntu Trusty - Debian Wheezy - Debian Squeeze So it seems that modern distros have backlight load/save functionality via systemd-backlight service <http://www.freedesktop.org/software/systemd/man/systemd-backli...@.service.html>, but older systems does not have this functionality at all. 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. If you have any suggestions and recommendations - I'm ready to hear. What you and other developers think? With best regards, Norbert. P.S. I found interesting projects for the same purpose - first is named Light and hosted on GitHub <https://github.com/haikarainen/light> (previously known as LightScript <http://haikarainen.dotgeek.org/lightscript/>), second is named Relight <http://xyne.archlinux.ca/projects/relight/>. But I think that init-script approach is better. On Tue, Dec 23, 2014 at 12:44 PM, Petter Reinholdtsen <p...@debian.org> wrote: > [Nrbrtx] > > I have tested many distros - Arch, OpenSuSe 13.1, Fedora 20, ALT Linux > p7, > > Sabayon, Mageia 4. > > Many of them are based on systemd. > > It does not matter what init system they use, but all of them have very > > useful script (or binary program, I don't know) for saving and restoring > > backlight level on laptop. > > > > In these distros there is a script for save and restore backlight levels > > for two video-cards (acpi_video0 and acpi_video1). During system boot it > is > > indicated as follows: > > While this seem like a useful feature, it can only be implemented once > it is decided which package should take resposibility for it. In which > package is this handled byArch, OpenSuSe 13.1, Fedora 20, ALT Linux p7, > Sabayon and Mageia 4? Can you check, as you haveaccess to these > already? I do not. Knowing this might give an idea where to fix it in > Debian and Ubuntu. :) > > I do not expect to have time to work on this myself any time soon, but > hope someone will. :) > > -- > Happy hacking > Petter Reinholdtsen >
-- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss