From: Matthew Garrett <mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
To: yauh-acpi-CDzBh2wLF5MAvxtiuMwx3w@public.gmane.org
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: ACPI S3 suspend and LCD backlight
Date: Mon, 14 Nov 2005 13:17:28 +0000 [thread overview]
Message-ID: <20051114131728.GA22957@srcf.ucam.org> (raw)
In-Reply-To: <200511130639.jAD6d42Y011608-MVZ+8Rc8O2bWg2f883+pGFGJXeKZcw9A@public.gmane.org>
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
next prev parent reply other threads:[~2005-11-14 13:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
[not found] ` <20051114131728.GA22957-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
2005-11-16 21:02 ` Pavel Machek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051114131728.GA22957@srcf.ucam.org \
--to=mjg59-1xo5oi07kqx4cg9nei1l7q@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=yauh-acpi-CDzBh2wLF5MAvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox