[Bug 772300] Re: screen brightness reset after closing lid and opening again.
Launchpad Bug Tracker
772300 at bugs.launchpad.net
Tue Jan 8 22:03:21 UTC 2013
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: acpi-support (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to acpi-support in Ubuntu.
https://bugs.launchpad.net/bugs/772300
Title:
screen brightness reset after closing lid and opening again.
Status in “acpi-support” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: acpi-support
I'm using Ubuntu Natty on an HP ProBook 5320m.
The screen brightness is reset when closing the lid and opening it again.
On maximum brightness /sys/devices/virtual/backlight/acpi_video0/brightness contains the value 24.
After closing and opening the lid it contains the value 0.
I tried to write /etc/apci/local/lid.sh.{pre,post} scripts to remember and reset the brightness.
However, there seems to be a bug in the /etc/acpi/lid.sh script that prevents lid.sh.post from being executed.
I've attached a patch, that solves this problem.
The pre and post scripts are attached, too. They are just quick hacks
and probably won't work properly on other laptops.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: acpi-support 0.138
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic-pae 2.6.38.2
Uname: Linux 2.6.38-8-generic-pae i686
NonfreeKernelModules: wl
Architecture: i386
Date: Thu Apr 28 12:48:38 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta i386 (20110413)
ProcEnviron:
PATH=(custom, no user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: acpi-support
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/772300/+subscriptions
More information about the foundations-bugs
mailing list