From: Vibol Hou <vibol-LA8/tbxb0N8@public.gmane.org>
To: Pavel Machek <pavel-AlSwsSmVLrQ@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Laptop backlight/S1 in 2.6.6 vanilla
Date: Fri, 28 May 2004 00:34:07 -0700 [thread overview]
Message-ID: <40B6EB6F.4090508@khmer.cc> (raw)
In-Reply-To: <20040525192551.GM5215-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org>
I commented out pm_prepare_console() and pm_restore_console() in
kernel/power/main.c and the screen no longer turns back on. However,
I'm still uncertain if this is safe. What I do notice is that some
keyboard input still makes it into the terminal where I have initiated
sleep from while the machine is in S1 so it appears after I wake up the
machine.
Somehow, this has also resolved another problem I had with the machine
cycling in and out of S1 mode a few times before finally staying awake.
-Vibol
Pavel Machek wrote:
>Hi!
>
>
>
>>I'm running vanilla 2.6.6 on a dell latitude c400 (fedora core 2). I
>>have my sleep script set to shut off the display backlight in X
>>before echo 1 > /proc/acpi/sleep, but the backlight turns back on the
>>moment my machine enters sleep mode. does anyone have any idea why
>>this is happening?
>>
>>
>
>Kernel switches to text console and stops processes.
>It should not be neccessary for S1 and is likely to cause
>your problem.
>
>
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
next prev parent reply other threads:[~2004-05-28 7:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-24 10:38 Laptop backlight/S1 in 2.6.6 vanilla Vibol Hou
[not found] ` <40B1D0BA.8080303-LA8/tbxb0N8@public.gmane.org>
2004-05-24 20:18 ` Stefan Dösinger
2004-05-25 19:25 ` Pavel Machek
[not found] ` <20040525192551.GM5215-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org>
2004-05-28 2:33 ` Vibol Hou
2004-05-28 7:34 ` Vibol Hou [this message]
[not found] ` <40B6EB6F.4090508-LA8/tbxb0N8@public.gmane.org>
2004-05-28 8:08 ` 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=40B6EB6F.4090508@khmer.cc \
--to=vibol-la8/tbxb0n8@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=pavel-AlSwsSmVLrQ@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