est module

YONETANI Tomokazu qhwt+dfly at les.ath.cx
Thu Jun 22 15:18:29 PDT 2006


Johannes Hofmann <Johannes.Hofmann at xxxxxx> wrote:
> > Hi, with this patch I only see the syctl for available freqs:
> >
> > hofmann at blob:~ >sysctl machdep.est
> > machdep.est.frequency.available: 1800 1600 1400 1200 1000 800 600
> > hofmann at blob:~ >
> >
> > No idea why though...
>
> Ok, the SYSCTL_IN and SYSCTL_OUT suff was missing... Here is a
> slightly modified version that works for me:
>
> http://www.ecademix.com/JohannesHofmann/netbsd-est.c

A-ha, I haven't finished SYSCTL_PROC yet.  It's always a pleasure to see
something fixed while I'm sleeping :) Thanks, I merged your fix to
the file on my server.

On Thu, Jun 22, 2006 at 09:25:30PM +0200, Thomas Schlesinger wrote:
> I've discovered the sysctl-switch dev.cpu.0.freq_levels on FreeBSD . I gives 
> me this values for my notebook: 1731/1514/1298/1081/865/649/432/216. That are 
> other values than in the est.c file. So I've changed the 1.73GHz-array to 
> this:
> 
> /* Intel Pentium M processor 740 1.73 GHz, other frequencies */
> static const struct fq_info pentium_m_n740[] = {
>        { 1731, 1514 },
>        { 1298, 1081 },
>        {  865,  649 },
>        {  432,  216 },
> };

Hmm, I'm confused.  the pentium_m_n740[] array has been added as per
port-i386/32937:
  http://mail-index.netbsd.org/netbsd-bugs/2006/02/26/0005.html
but yours seems to have 8 frequencies.

Thomas, can you send me privately(I mean not on the mailing list because
it's large) the output of the acpidump command?  I'll try to extract
the needed information from it.
  $ acpidump -dt > schlesinger.asl





More information about the Users mailing list