* ACPI S3 suspend and LCD backlight
@ 2005-11-13 5:39 yauh-acpi-CDzBh2wLF5MAvxtiuMwx3w
[not found] ` <200511130639.jAD6d42Y011608-MVZ+8Rc8O2bWg2f883+pGFGJXeKZcw9A@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: yauh-acpi-CDzBh2wLF5MAvxtiuMwx3w @ 2005-11-13 5:39 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi,
It appears something in the ACPI suspend code turns on the
LCD backlight to print out the diagnostic messages. Is there any
way to prevent this? Alternatively, is there a place in the drive
I can add a sequence to turn off the display just before it goes
to sleep?
System - Compaq TC1000 w/nVidia GeForce2 Go; Kernel is 2.6.13.4
User space is partially FC2 but has been largely updated through
self compiled binaries.
I have a patched X.org nv driver that supports dpms enough to
disable the backlight. I suspend the system with:
sleep 1; xset dpms force suspend
sync
hwclock --systohc
echo 3 > /proc/acpi/sleep
hwclock --hctosys
The xset turns off the backlight but as soon as it gets to the echo 3 line,
the LCD comes on and displays the ACPI status messages. It then then
proceeds to blank the screen but does NOT turn off the backlight.
If there is no way to disable the messages, I was hoping there is a
place I can hook into to twiddle the bit needed to disable the backlight.
Loading the video support module gives me an empty /proc/acpi/video directory.
Other then this backlight problem, everything else seems to work.
This is where I originally found the patch for backlight DPMS on the
GeForce2Go -
http://www.mail-archive.com/devel-72qDnkntNoRAfugRpC6u6w@public.gmane.org/msg06145.html
P
Thanks.
-- Hunyue
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
^ permalink raw reply [flat|nested] 3+ messages in thread[parent not found: <200511130639.jAD6d42Y011608-MVZ+8Rc8O2bWg2f883+pGFGJXeKZcw9A@public.gmane.org>]
* Re: ACPI S3 suspend and LCD backlight [not found] ` <200511130639.jAD6d42Y011608-MVZ+8Rc8O2bWg2f883+pGFGJXeKZcw9A@public.gmane.org> @ 2005-11-14 13:17 ` Matthew Garrett [not found] ` <20051114131728.GA22957-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Matthew Garrett @ 2005-11-14 13:17 UTC (permalink / raw) To: yauh-acpi-CDzBh2wLF5MAvxtiuMwx3w Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Sat, Nov 12, 2005 at 10:39:04PM -0700, yauh-acpi-CDzBh2wLF5MAvxtiuMwx3w@public.gmane.org wrote: > It appears something in the ACPI suspend code turns on the > LCD backlight to print out the diagnostic messages. Is there any > way to prevent this? Alternatively, is there a place in the drive > I can add a sequence to turn off the display just before it goes > to sleep? No, the ACPI suspend code doesn't do this (as far as I can tell). If you suspend from X, the kernel will switch away from X and X will restore the console state - which probably includes switching the backlight back on. > The xset turns off the backlight but as soon as it gets to the echo 3 line, > the LCD comes on and displays the ACPI status messages. It then then > proceeds to blank the screen but does NOT turn off the backlight. > If there is no way to disable the messages, I was hoping there is a > place I can hook into to twiddle the bit needed to disable the backlight. > Loading the video support module gives me an empty /proc/acpi/video directory. Try grabbing vbetool and do something like FGCONSOLE=`fgconsole` chvt 12 vbetool dpms off echo -n 3 >/proc/acpi/sleep chvt $FGCONSOLE -- Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <20051114131728.GA22957-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>]
* Re: ACPI S3 suspend and LCD backlight [not found] ` <20051114131728.GA22957-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org> @ 2005-11-16 21:02 ` Pavel Machek 0 siblings, 0 replies; 3+ messages in thread From: Pavel Machek @ 2005-11-16 21:02 UTC (permalink / raw) To: Matthew Garrett Cc: yauh-acpi-CDzBh2wLF5MAvxtiuMwx3w, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Hi! > > It appears something in the ACPI suspend code turns on the > > LCD backlight to print out the diagnostic messages. Is there any > > way to prevent this? Alternatively, is there a place in the drive > > I can add a sequence to turn off the display just before it goes > > to sleep? > > No, the ACPI suspend code doesn't do this (as far as I can tell). If you > suspend from X, the kernel will switch away from X and X will restore > the console state - which probably includes switching the backlight back > on. ACPI does switch consoles, which may cause something like that... see kernel/power/console.c . Pavel -- Thanks, Sharp! ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-11-16 21:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-13 5:39 ACPI S3 suspend and LCD backlight yauh-acpi-CDzBh2wLF5MAvxtiuMwx3w
[not found] ` <200511130639.jAD6d42Y011608-MVZ+8Rc8O2bWg2f883+pGFGJXeKZcw9A@public.gmane.org>
2005-11-14 13:17 ` Matthew Garrett
[not found] ` <20051114131728.GA22957-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
2005-11-16 21:02 ` Pavel Machek
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox