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 / t3r...@gmail.com -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org