From owner-freebsd-questions@FreeBSD.ORG Sat Aug 22 12:39:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F073D106568B for ; Sat, 22 Aug 2009 12:39:55 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [220.233.188.227]) by mx1.freebsd.org (Postfix) with ESMTP id 63C828FC22 for ; Sat, 22 Aug 2009 12:39:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id n7MCdraQ046093; Sat, 22 Aug 2009 22:39:53 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 22 Aug 2009 22:39:53 +1000 (EST) From: Ian Smith To: Joe Snikeris In-Reply-To: <20b8a1c50908220346v648b3e19h6d8725ef3e7fadf9@mail.gmail.com> Message-ID: <20090822215736.H90928@sola.nimnet.asn.au> References: <20090821000540.950AD10656E6@hub.freebsd.org> <20090821123138.M90928@sola.nimnet.asn.au> <20b8a1c50908211804o25d2c98di20b8e116e032b201@mail.gmail.com> <20090822125403.Q90928@sola.nimnet.asn.au> <20b8a1c50908220346v648b3e19h6d8725ef3e7fadf9@mail.gmail.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1833110931-1250944793=:90928" Cc: freebsd-questions@freebsd.org Subject: Re: Suspend/Resume on Thinkpad x40 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: Sat, 22 Aug 2009 12:39:56 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1833110931-1250944793=:90928 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Sat, 22 Aug 2009, Joe Snikeris wrote: > On Fri, Aug 21, 2009 at 11:53 PM, Ian Smith wrote: > > On Fri, 21 Aug 2009, Joe Snikeris wrote: > >  > On Thu, Aug 20, 2009 at 10:58 PM, Ian Smith wrote: [..] > >  > At any rate, I gave up on ACPI.  I've got suspend-to-ram and > >  > suspend-to-disk (hibernation) working perfectly using APM. > >  > > >  > Does anyone know if there are any disadvantages related to > >  > power-saving features when using APM over ACPI?  Is powerd able to do > >  > its job just as well? > > > > The answer to that (at 5.5-STABLE) used to be 'no', but there is some > > APM code in powerd.c, related to how it determines the AC line state, > > though it's not clear to me if it would require compiling APM in kernel. > > > > Certainly /etc/rc.d/power_profile can't set CPU CX states without ACPI. > > Ok. Just did a search to find out what CPU CX states were. For a > good explanation of the CX states: > > http://lists.freebsd.org/pipermail/freebsd-current/2009-May/006436.html Good hunting; a good overview of current load/power handling on FreeBSD, also posted to -mobile and/or -acpi as I recall. > > Switching speeds relies on the dev.cpu.0.freq and dev.cpu.0.freq_levels > > sysctls - are these available when you're running on APM?  If so, try > > running powerd(8) in verbose foreground mode (-v) and see what happens. > > Yes they are. And powerd in verbose foreground mode shows that it is > lowering the frequency all the way down to 75 MHz depending on the > load. Cool. At 75MHz, it should be :) cheers, Ian --0-1833110931-1250944793=:90928--