You're not getting hw.setperf with ACPI enabled because ACPI and APM don't and 
shouldn't coexist. ACPI has a hw.setperf mechanism, but you don't have it 
enabled in your kernel (I don't know if it's working yet.)

Travers Buda

On Sun, 28 Jan 2007 19:15:13 -0700
Mark Zimmerman <[EMAIL PROTECTED]> wrote:

> > On Sun, 28 Jan 2007 15:52:08 -0700
> > Mark Zimmerman <[EMAIL PROTECTED]> wrote:
> > 
> > > Greetings:
> > > 
> > > I almost didn't submit this because there were no outright failures, but
> > > then I noticed that with acpi enabled, the hw.setperf sysctl is missing.
> > > Without acpi, it is present and works properly. Anyhow, here are the
> > > four dmesgs in case they are illuminating.
> > > 
> > > You will notice the sucky DMA of the Jetway board in all of them.
> > > 
> > > -- Mark
> > > 
> On Sun, Jan 28, 2007 at 06:20:32PM -0600, Travers Buda wrote:
> > Mark, 
> > 
> > This is why:
> > 
> > $ grep cpu /usr/src/sys/arch/i386/conf/GENERIC 
> > cpu0    at mainbus?
> > #acpicpu*       at acpi?
> > 
> > The acpicpu driver provides support for extracting processor power and
> >      performance levels from ACPI tables.  This information can be used to
> >      throttle processor speed to reduce power usage and extend battery life
> >      through the hw.setperf sysctl(3) mechanism.
> > 
> > 
> > Travers Buda
> > 
> 
> I'm not sure I follow what you are saying.  I am seeing hw.setperf
> working only when acpi is disabled. This is not what I expected. Are
> you saying that hw.setperf is present without acpi, but when acpi is
> enabled it takes over that function but fails to make it work?
> 
> In the dmesgs in which acpi is disabled, I have this line:
> 
> cpu0: Enhanced SpeedStep 1200 MHz (860 mV): speeds: 1200, 1000, 800, 600, 400 
> MHz
> 
> which is missing when I enable acpi.
> 
> -- Mark

Reply via email to