[Pkg-acpi-devel] Bug#653205: Bug#653205: acpi-support: screen is dark without backlight after resume.
t3rkwd at gmail.com
t3rkwd at gmail.com
Sun Jan 15 05:59:30 UTC 2012
Hi.
At Thu, 12 Jan 2012 09:49:30 +0100,
Michael Meskes wrote:
> I checked all possible setups on my system and they all work. Which kernel do
> you have? Does it still happen with the latest 3.1 kernel from sid?
>
> Also what happens of you change the setting of DISPLAY_DPMS in
> /etc/default/acpi-support?
>
> There were some problems in -9 that may have resulted in this part of the code
> not being executed at all. So maybe that fix made another problem visible.
It still happen with the latest 3.1 kernel(linux-image-3.1.0-1-amd64_3.1.8-2_amd64.deb).
I cheacked script.
For the next case, behave differently in 0.138-9 and 0.138-10.
0.138-9: "/usr/sbin/vbetool dpms off" is not called.
0.138-10: "/usr/sbin/vbetool dpms off" is called.
I think that a cause is this.
--------------------------------------------------
LID_SLEEP: "true"
LOCK_SCREEN: "true"
XAUTHORITY: ""
0.138-9:
lid.sh
| if [ x$LID_SLEEP = xtrue ]; then
| [ -x /etc/acpi/sleep.sh ] && /etc/acpi/sleep.sh
| fi
sleep.sh
| if [ x$LOCK_SCREEN = xtrue ]; then
| if pidof xscreensaver > /dev/null; then
| if [ x"$XAUTHORITY" != x"" ]; then
| . /usr/share/acpi-support/screenblank # skip, vbetool dpms is not called.
| fi
| fi
| fi
0.138-10:
lid.sh
| if [ x$LID_SLEEP = xtrue ]; then
| [ -x /etc/acpi/sleep.sh ] && /etc/acpi/sleep.sh
| else
| . /usr/share/acpi-support/screenblank
| fi
sleep.sh
| if [ x$LOCK_SCREEN = xtrue ]; then
| . /usr/share/acpi-support/screenblank
| fi
screenblank
| if [ x"$XAUTHORITY" != x"" ]; then
| if [ x$LOCK_SCREEN = xtrue ]; then
| ....
| fi
| else
| [ -x /usr/sbin/vbetool ] && /usr/sbin/vbetool dpms off # call
| fi
--------------------------------------------------
Best Regards.
--
Tetsutaro KAWADA / t3rkwd at gmail.com
More information about the Pkg-acpi-devel
mailing list