Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Aug 2009 22:39:53 +1000 (EST)
From:      Ian Smith <smithi@nimnet.asn.au>
To:        Joe Snikeris <joe@snikeris.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Suspend/Resume on Thinkpad x40
Message-ID:  <20090822215736.H90928@sola.nimnet.asn.au>
In-Reply-To: <20b8a1c50908220346v648b3e19h6d8725ef3e7fadf9@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
  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<smithi@nimnet.asn.au> wrote:
 > > On Fri, 21 Aug 2009, Joe Snikeris wrote:
 > >  > On Thu, Aug 20, 2009 at 10:58 PM, Ian Smith<smithi@nimnet.asn.au> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090822215736.H90928>