---------- Forwarded message ----------
From: Nrbrtx <[email protected]>
Date: Tue, Dec 23, 2014 at 12:46 AM
Subject: Backlight level save and restore as a init-script / upstart job
for laptops
To: [email protected], [email protected], [email protected],
[email protected], [email protected], [email protected],
[email protected], [email protected], [email protected],
[email protected]


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.

Attachment: upstart_backlight.tar.gz
Description: GNU Zip compressed data

_______________________________________________
Pkg-sysvinit-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-sysvinit-devel

Reply via email to