[Pkg-acpi-devel] Bug#653205: Bug#653205: acpi-support: screen is	dark without backlight after resume.
    t3rkwd at gmail.com 
    t3rkwd at gmail.com
       
    Thu Jan 19 11:51:45 UTC 2012
    
    
  
Hi,
At Mon, 16 Jan 2012 10:16:00 +0100,
Michael Meskes wrote:
> I agree. Could please edit /usr/share/acpi-support/screenblank and replace
> "vbetool dpms off" with "vbetool dpms suspend" and tell me if that makes a
> difference? 
I tried it with acpi-support_0.138-11. There was no change.
Now, the following change is added and I use. 
diff -u lid.sh.org lid.sh
--- lid.sh.org	2012-01-12 17:59:51.000000000 +0900
+++ lid.sh	2012-01-19 20:35:02.588906235 +0900
@@ -13,7 +13,9 @@
 grep -q closed /proc/acpi/button/lid/*/state
 if [ $? = 0 ]
 then
-    . /usr/share/acpi-support/screenblank
+    if [ x$LOCK_SCREEN = xtrue ]; then
+	. /usr/share/acpi-support/screenblank
+    fi
     if [ x$LID_SLEEP = xtrue ]; then
 	pm-suspend
     fi
    
    
More information about the Pkg-acpi-devel
mailing list