From owner-freebsd-acpi@FreeBSD.ORG Fri Jan 4 13:22:15 2008 Return-Path: Delivered-To: acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD71E16A46E; Fri, 4 Jan 2008 13:22:15 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id 1ED4913C461; Fri, 4 Jan 2008 13:22:13 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id AAA06024; Sat, 5 Jan 2008 00:22:06 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 5 Jan 2008 00:22:05 +1100 (EST) From: Ian Smith To: Norberto Meijome In-Reply-To: <20080104201142.7bc73059@meijome.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: acpi@freebsd.org, questions@freebsd.org Subject: Re: how to suspend/wake-up a FreeBSD machine? X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2008 13:22:16 -0000 On Fri, 4 Jan 2008, Norberto Meijome wrote: > On Fri, 4 Jan 2008 19:13:20 +1100 (EST) > Ian Smith wrote: [..] > > 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 Sorry Beto, I must have been dreaming :) I have that too, but did try 'sysctl dev.acpi_lid.0.wake=0'. With that, no keys at all but only pressing the power button (not for too long!) will wake it up (phew). Anyway, after a reboot - having noticed that since my verbose boot the other day, each ACPI suspend/resume is VERY chatty in messages - it's still working the same. So eat this message .. > 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 Happy new job .. cheers, Ian