From: Matthew Garrett <mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: ACPI very nearly working on Thinkpad 240x
Date: Sun, 2 Mar 2003 19:33:27 +0000 [thread overview]
Message-ID: <20030302193327.GA29280@srcf.ucam.org> (raw)
In-Reply-To: <20030302184737.GA28806-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
> 2) S3 suspends and resumes.
Ok. I've now got the following in my acpid default.sh:
case "$1" in
button*)
case "$2" in
power) echo -n 4 >/proc/acpi/sleep
;;
SBTN) rmmod i8042
MYTERM=`fgconsole`
chvt 12
echo -n 3 >/proc/acpi/sleep
sleep 5
modprobe i8042
chvt $MYTERM
;;
The i8042 stuff results in working keyboard and mouse, the chvts cause X
to reinitialise the screen and gives me my display back. My text
consoles are unusable, though.
--
Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
next prev parent reply other threads:[~2003-03-02 19:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-02 18:47 ACPI very nearly working on Thinkpad 240x Matthew Garrett
[not found] ` <20030302184737.GA28806-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
2003-03-02 19:33 ` Matthew Garrett [this message]
2003-03-07 11:02 ` Pavel Machek
-- strict thread matches above, loose matches on Subject: below --
2003-03-03 17:07 Grover, Andrew
2003-04-16 9:42 Yu, Luming
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=20030302193327.GA29280@srcf.ucam.org \
--to=mjg59-1xo5oi07kqx4cg9nei1l7q@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@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