From owner-freebsd-questions@FreeBSD.ORG Fri Jan 4 09:12:25 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63CCA16A417 for ; Fri, 4 Jan 2008 09:12:25 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 2E44713C46A for ; Fri, 4 Jan 2008 09:12:25 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 18404 invoked from network); 4 Jan 2008 03:12:24 -0600 Received: from 124-170-189-12.dyn.iinet.net.au (HELO localhost) (124.170.189.12) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 4 Jan 2008 03:12:24 -0600 Date: Fri, 4 Jan 2008 20:11:42 +1100 From: Norberto Meijome To: Ian Smith Message-ID: <20080104201142.7bc73059@meijome.net> In-Reply-To: References: <20080104123428.3292da81@meijome.net> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.3; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: acpi@freebsd.org, questions@freebsd.org Subject: Re: how to suspend/wake-up a FreeBSD machine? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2008 09:12:25 -0000 On Fri, 4 Jan 2008 19:13:20 +1100 (EST) Ian Smith wrote: > On Fri, 4 Jan 2008, Norberto Meijome wrote: > > On Sun, 30 Dec 2007 11:51:41 +0100 > > Henrik Brix Andersen wrote: > > > > > That depends largely on the hardware - on e.g. ThinkPads you need to > > > press the 'Fn' button to wake up the laptop after sleep. > > > > hmm i think it's not so much the Fn key, u need to do anything that > > triggers an ACPI event in the BIOS - like opening the lid , or > > pressing Fn. I *think* 'thinkVantage' blue btn should work too. > > On my T23 I have suspend/wake on lid switch off (in BIOS), preferring to > have to use the Fn key to wake. No other keys do that on mine including > the ThinkPad key, so then called. ah yes :) > > While consulting 'sysctl hw.acpi' about that I see: > hw.acpi.lid_switch_state: NONE > which I assume reflects my don't-do-that BIOS setting. > > And confirming: > # sysctl hw.acpi.lid_switch_state=1 # (or =0) > hw.acpi.lid_switch_state: NONE > sysctl: hw.acpi.lid_switch_state: Invalid argument > > which makes sense and was expected .. except that since doing that, > closing the lid while awake still just blanks screen, but opening lid > now wakes the laptop from sleep! No big deal, just slightly odd .. hmm mine reads : hw.acpi.lid_switch_state: NONE dev.acpi_lid.0.wake: 1 FreeBSD ayiin.octantis.com.au 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #1: Fri Jan 4 09:44:17 EST 2008 root@ayiin.octantis.com.au:/usr/obj/usr/src/sys/GENERIC i386 _________________________ {Beto|Norberto|Numard} Meijome "Great spirits have often encountered violent opposition from mediocre minds." Albert Einstein I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.