[Pkg-sysvinit-devel] Fwd: Backlight level save and restore as a init-script / upstart job for laptops

Nrbrtx nrbrtx at gmail.com
Mon Dec 22 21:49:18 UTC 2014


---------- Forwarded message ----------
From: Nrbrtx <nrbrtx at gmail.com>
Date: Tue, Dec 23, 2014 at 12:46 AM
Subject: Backlight level save and restore as a init-script / upstart job
for laptops
To: vorlon at debian.org, scott at netsplit.com, james.hunt at ubuntu.com,
devel at lists.alioth.debian.org, pere at debian.org, hmh at debian.org,
kel at otaku42.de, rleigh at debian.org, zigo at debian.org,
ubuntu-devel-discuss at lists.ubuntu.com


Dear Debian and Ubuntu developers!

Let me inform you about the problem.
The problem is well described on LaunchPad - see
http://bugs.launchpad.net/bugs/1270579 (21 users affected).

Here I can repeat myself.

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:

[ OK ] Started Load/Save Screen Backlight Brightness of acpi_video1.
[ OK ] Started Load/Save Screen Backlight Brightness of acpi_video0.

I have a draft version, which works normally on my VAIO F13Z1R laptop with
Ubuntu 12.04.4. It is in attachment.
You can use it unmodified or modify it for compatibility or something. I
made symlinks for it:

ln -s /etc/init.d/brightness /etc/rc0.d/S25backlight
ln -s /etc/init.d/brightness /etc/rcS.d/S25backlight
ln -s /etc/init.d/brightness /etc/rc6.d/S25backlight

For details you can read my comment on askubuntu (
http://askubuntu.com/a/227553/66509).

I think that having a script for saving and restoring backlight level is
very useful for laptop Ubuntu users.
So, please, add such init script to default Debian and Ubuntu installation.
Thank you!

With best regards,
Debian and Ubuntu user,
Norbert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20141223/cb8e1ed7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: upstart_backlight.tar.gz
Type: application/x-gzip
Size: 882 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20141223/cb8e1ed7/attachment.bin>


More information about the Pkg-sysvinit-devel mailing list