dev.cpu.0.freq_levels

roccobarocco at poczta.fm roccobarocco at poczta.fm
Wed Nov 15 10:24:21 UTC 2017


Hello, I'am Piotr.

Please help me someone, if there is any possibility to fix problem on my notebook.
I cannot force my Pentium M 770 to work at desired factory frequency of 2,13 GHz.
It runs only at 1862 MHz!
I think it is acpi problem.
To help I am adding some system messages.

Distilled from dmesg:

Copyright (c) 1992-2017 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 11.1-RELEASE #0 r321309: Fri Jul 21 04:10:47 UTC 2017
    root at releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0)
CPU: Intel(R) Pentium(R) M processor 2.13GHz (2138.23-MHz 686-class CPU)
  Origin="GenuineIntel"  Id=0x6d8  Family=0x6  Model=0xd  Stepping=8
  Features=0xafe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE>
  Features2=0x180<EST,TM2>
  AMD Features=0x100000<NX>
real memory  = 1073741824 (1024 MB)
avail memory = 954515456 (910 MB)
Event timer "LAPIC" quality 100
ACPI APIC Table: <PTLTD  	 APIC  >
random: unblocking device.
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 0.3> irqs 0-23 on motherboard
Timecounter "TSC" frequency 2138233298 Hz quality 800
acpi0: <PTLTD   RSDT> on motherboard
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x75 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
attimer0: Can't map interrupt.
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_ec0: <Embedded Controller: GPE 0xb> port 0x62,0x66 on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
pmtimer0 on isa0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
Timecounters tick every 1.000 msec

Output from sysctl dev.est:

dev.est.0.freq_settings: 1862/15000 1596/13000 1330/11000 1064/9500 798/7500
dev.est.0.%parent: cpu0
dev.est.0.%pnpinfo: 
dev.est.0.%location: 
dev.est.0.%driver: est
dev.est.0.%desc: Enhanced SpeedStep Frequency Control
dev.est.%parent: 

Output from sysctl dev.cpu:

dev.cpu.0.cx_method: C1/hlt C2/io
dev.cpu.0.cx_usage_counters: 1052 32783
dev.cpu.0.cx_usage: 3.10% 96.89% last 15461us
dev.cpu.0.cx_lowest: C2
dev.cpu.0.cx_supported: C1/1/0 C2/2/80
dev.cpu.0.freq_levels: 1862/15000 1596/13000 1330/11000 1064/9500 798/7500
dev.cpu.0.freq: 1862
dev.cpu.0.%parent: acpi0
dev.cpu.0.%pnpinfo: _HID=none _UID=0
dev.cpu.0.%location: handle=\_PR_.CPU0
dev.cpu.0.%driver: cpu
dev.cpu.0.%desc: ACPI CPU
dev.cpu.%parent: 

First few lines of ASL

/*
  RSD PTR: OEM=PTLTD, ACPI_Rev=1.0x (0)
	RSDT=0x3eef6bcb, cksum=214
 */
/*
  RSDT: Length=44, Revision=1, Checksum=103,
	OEMID=PTLTD, OEM Table ID=  RSDT, OEM Revision=0x6040000,
	Creator ID= LTP, Creator Revision=0x0
	Entries={ 0x3eef9e53, 0x3eef9ec7 }
 */
/*
  FACP: Length=116, Revision=1, Checksum=159,
	OEMID=PN800, OEM Table ID=PTLTW, OEM Revision=0x6040000,
	Creator ID=PTL_, Creator Revision=0xf4240
 	FACS=0x3eefafc0, DSDT=0x3eef6bf7
	INT_MODEL=PIC
	Preferred_PM_Profile=Unspecified (0)
	SCI_INT=10
	SMI_CMD=0x402f, ACPI_ENABLE=0xf0, ACPI_DISABLE=0xf1, S4BIOS_REQ=0x0
	PSTATE_CNT=0x0
	PM1a_EVT_BLK=0x4000-0x4003
	PM1a_CNT_BLK=0x4004-0x4005
	PM2_CNT_BLK=0x22-0x22
	PM_TMR_BLK=0x4008-0x400b
	GPE0_BLK=0x4020-0x4023
	P_LVL2_LAT=80 us, P_LVL3_LAT=1800 us
	FLUSH_SIZE=0, FLUSH_STRIDE=0
	DUTY_OFFSET=0, DUTY_WIDTH=4
	DAY_ALRM=125, MON_ALRM=126, CENTURY=50
	IAPC_BOOT_ARCH=
	Flags={WBINVD,C1_SUPPORTED,SLEEP_BUTTON}
 */
/*
  FACS:	Length=64, HwSig=0x00000000, Firm_Wake_Vec=0x00000000
	Global_Lock=
	Flags=
	Version=0
 */
/*
  DSDT: Length=12892, Revision=1, Checksum=248,
	OEMID=VIA, OEM Table ID=PTL_ACPI, OEM Revision=0x6040000,
	Creator ID=MSFT, Creator Revision=0x100000e
 */
/*
  SSDT: Length=313, Revision=1, Checksum=25,
	OEMID=PTLTD, OEM Table ID=CpuGv3, OEM Revision=0x6040000,
	Creator ID= LTP, Creator Revision=0x1
 */
/*
 * Intel ACPI Component Architecture
 * AML/ASL+ Disassembler version 20170303 (32-bit version)
 * Copyright (c) 2000 - 2017 Intel Corporation
 * 
 * Disassembling to symbolic ASL+ operators
 *
 * Disassembly of /tmp/acpidump.UIu3Tq/acpdump.din, Sat Nov 11 22:22:56 2017
 *
 * Original Table Header:
 *     Signature        "DSDT"
 *     Length           0x00003371 (13169)
 *     Revision         0x01 **** 32-bit table (V1), no 64-bit math support
 *     Checksum         0x4F
 *     OEM ID           "VIA  "
 *     OEM Table ID     "PTL_ACPI"
 *     OEM Revision     0x06040000 (100925440)
 *     Compiler ID      "MSFT"
 *     Compiler Version 0x0100000E (16777230)
 */
DefinitionBlock ("", "DSDT", 1, "VIA  ", "PTL_ACPI", 0x06040000)
{
    Scope (\_PR)
    {
        Processor (CPU0, 0x00, 0x00004010, 0x06)
        {
            Method (_PPC, 0, NotSerialized)  // _PPC: Performance Present Capabilities
            {
                If (\_SB.PCI0.PIB.EC.ECOK)
                {
                    If ((\_SB.PCI0.PIB.EC.ADP == 0x00))
                    {
                        \_SB.PCI0.PIB.Z000 = 0x33
                        Return (0x02)
                    }
                    Else
                    {
                        \_SB.PCI0.PIB.Z000 = 0x44
                        Return (0x00)
                    }
                }
            }
        }
    }


Thanks in advance!
Piotr.


More information about the freebsd-acpi mailing list