Subject: Re: Call for testers: i386 ACPI suspend/resume support
To: Steven M. Bellovin <firstname.lastname@example.org>
From: Jared D. McNeill <email@example.com>
Date: 06/20/2006 21:06:52
On Tue, 20 Jun 2006, Steven M. Bellovin wrote:
> I wrote simple lid_switch and sleep_button scripts; both work properly for
> suspending if I have them set sleep_state via the sysctl. However, the
> machine does not resume when I open the lid, even though it does under APM
> or Windows. If I comment out the sysctls, I see 'pressed' and 'released'
> events for lid_switch; for sleep_button, I only see the 'pressed' event.
We will only send a 'lid_switch released' event if we see one. What I
have been doing with my wake scripts is ignoring a 'lid_switch released'
event, and doing the restoration scripting immediately after the call to
sysctl to put myself into S3.
I've posted my sleep_button script:
If you want to resume from X, throw in a 'wsconscfg -s 1' before the first
sleep, and a 'wsconscfg -s 7' (or whatever vt you run X on) after the
> A brief test of cardbus slots after resume succeeded -- my EVDO card was
> able to dial out.
> Speedstep, via estd, is *not* working; the speed stays at 1800 Mhz.
What behaviour do you expect?