Bug#653205: [Pkg-acpi-devel] Bug#653205: acpi-support: screen is dark without backlight after resume.

2012-01-19 Thread t3rkwd
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.0 +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



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#653205: [Pkg-acpi-devel] Bug#653205: acpi-support: screen is dark without backlight after resume.

2012-01-16 Thread Michael Meskes
Hi,

 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.

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? 

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at googlemail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#653205: [Pkg-acpi-devel] Bug#653205: acpi-support: screen is dark without backlight after resume.

2012-01-14 Thread t3rkwd
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



Bug#653205: [Pkg-acpi-devel] Bug#653205: acpi-support: screen is dark without backlight after resume.

2012-01-12 Thread Michael Meskes
Hi,

 The screen is light with backlight when changing LOCK_SCREEN.
 
 0.138-10
   LOCK_SCREEN=true  : NG
   LOCK_SCREEN=false : OK
 
 0.138-9
   LOCK_SCREEN=true  : OK
   LOCK_SCREEN=false : OK

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.

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at googlemail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#653205: [Pkg-acpi-devel] Bug#653205: acpi-support: screen is dark without backlight after resume.

2011-12-26 Thread t3rkwd
Hi

At Sun, 25 Dec 2011 15:22:10 +0100,
Michael Meskes wrote:

 How do you suspend? 

I closed lid screen or issued 'sudo /etc/acpi/sleep.sh'

 Do you have any GUI up and running?

I have slim, xmonad and xscreensaver.


The screen is light with backlight when changing LOCK_SCREEN.

0.138-10
  LOCK_SCREEN=true  : NG
  LOCK_SCREEN=false : OK

0.138-9
  LOCK_SCREEN=true  : OK
  LOCK_SCREEN=false : OK

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



Bug#653205: [Pkg-acpi-devel] Bug#653205: acpi-support: screen is dark without backlight after resume.

2011-12-25 Thread Michael Meskes
On Sun, Dec 25, 2011 at 04:02:32PM +0900, Tetsutaro KAWADA wrote:
 when i suspend and resume a system, screen is dark without backlight.
 my system is ThinkPad X220i.
 downgrade 0.138-10 to 0.138-9, problem fix.

How do you suspend? Do you have any GUI up and running? Please send some more
details.

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at googlemail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org