misdetection of tz2 temperature (was: notebook freezes)

Bruce Evans bde at zeta.org.au
Mon Mar 5 11:09:27 UTC 2007


On Mon, 5 Mar 2007, Bruce Evans wrote:

> On Mon, 5 Mar 2007, Bruce Evans wrote:
>
>> I now have a completely different acpi problem to ask about.  My HP
>> nx6325 now shuts down an instant after booting FreeBSD with a 1 week
>> old kernel, since the tz2 temperature is misdetected as 3413.3 degrees
>> C.  All temperatures seemed to be detected correctly in 3+ week old
>> kernels.  Only batter battery misdetection that caused shutdowns (less
>> cleanly via panics) in the old kernels.
>
> This seems to be fixed in -current.

Actually, -current just reboots after 10 minutes instead of instantly.
Soon after booting, sysctl -a | grep acpi says:

% debug.acpi.semaphore_debug: 0
% debug.acpi.acpi_ca_version: 20051021
% debug.acpi.do_powerstate: 1
% debug.acpi.ec.burst: 1
% debug.acpi.ec.poll_time: 500
% debug.acpi.ec.timeout: 500
% debug.acpi.resume_beep: 0
% hw.acpi.supported_sleep_state: S3 S4 S5
% hw.acpi.power_button_state: S5
% hw.acpi.sleep_button_state: S3
% hw.acpi.lid_switch_state: NONE
% hw.acpi.standby_state: S1
% hw.acpi.suspend_state: S3
% hw.acpi.sleep_delay: 1
% hw.acpi.s4bios: 1
% hw.acpi.verbose: 0
% hw.acpi.disable_on_reboot: 0
% hw.acpi.handle_reboot: 0
% hw.acpi.reset_video: 0
% hw.acpi.cpu.cx_lowest: C1
% hw.acpi.battery.life: 100
% hw.acpi.battery.time: -1
% hw.acpi.battery.state: 0
% hw.acpi.battery.units: 2
% hw.acpi.battery.info_expire: 5
% hw.acpi.acline: 0
% hw.acpi.thermal.min_runtime: 0
% hw.acpi.thermal.polling_rate: 10
% hw.acpi.thermal.user_override: 0
% hw.acpi.thermal.tz0.temperature: 50.0C
% hw.acpi.thermal.tz0.active: 3
% hw.acpi.thermal.tz0.passive_cooling: 1
% hw.acpi.thermal.tz0.thermal_flags: 0
% hw.acpi.thermal.tz0._PSV: 95.0C
% hw.acpi.thermal.tz0._HOT: -1
% hw.acpi.thermal.tz0._CRT: 105.0C
% hw.acpi.thermal.tz0._ACx: 75.0C 65.0C 55.0C 40.0C -1 -1 -1 -1 -1 -1
% hw.acpi.thermal.tz1.temperature: 49.0C
% hw.acpi.thermal.tz1.active: -1
% hw.acpi.thermal.tz1.passive_cooling: 0
% hw.acpi.thermal.tz1.thermal_flags: 0
% hw.acpi.thermal.tz1._PSV: 90.0C
% hw.acpi.thermal.tz1._HOT: -1
% hw.acpi.thermal.tz1._CRT: 100.0C
% hw.acpi.thermal.tz1._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
% hw.acpi.thermal.tz2.temperature: 3414.3C
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
% hw.acpi.thermal.tz2.active: -1
% hw.acpi.thermal.tz2.passive_cooling: 0
% hw.acpi.thermal.tz2.thermal_flags: 9
% hw.acpi.thermal.tz2._PSV: 50.0C
% hw.acpi.thermal.tz2._HOT: -1
% hw.acpi.thermal.tz2._CRT: 100.0C
% hw.acpi.thermal.tz2._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
% machdep.acpi_timer_freq: 3579545
% machdep.acpi_root: 1015088
% dev.acpi.0.%desc: HP 0944
% dev.acpi.0.%driver: acpi
% dev.acpi.0.%parent: nexus0
% dev.acpi_sysresource.0.%desc: System Resource
% dev.acpi_sysresource.0.%driver: acpi_sysresource
% dev.acpi_sysresource.0.%location: handle=\_SB_.C011
% dev.acpi_sysresource.0.%pnpinfo: _HID=PNP0C01 _UID=0
% dev.acpi_sysresource.0.%parent: acpi0
% dev.acpi_sysresource.1.%desc: System Resource
% dev.acpi_sysresource.1.%driver: acpi_sysresource
% dev.acpi_sysresource.1.%location: handle=\_SB_.C074.C0E3.C330
% dev.acpi_sysresource.1.%pnpinfo: _HID=PNP0C02 _UID=2
% dev.acpi_sysresource.1.%parent: acpi0
% dev.acpi_sysresource.2.%desc: System Resource
% dev.acpi_sysresource.2.%driver: acpi_sysresource
% dev.acpi_sysresource.2.%location: handle=\_SB_.C074.C32E
% dev.acpi_sysresource.2.%pnpinfo: _HID=PNP0C02 _UID=1
% dev.acpi_sysresource.2.%parent: acpi0
% dev.acpi_sysresource.3.%desc: System Resource
% dev.acpi_sysresource.3.%driver: acpi_sysresource
% dev.acpi_sysresource.3.%location: handle=\_SB_.C315
% dev.acpi_sysresource.3.%pnpinfo: _HID=PNP0C02 _UID=0
% dev.acpi_sysresource.3.%parent: acpi0
% dev.acpi_timer.0.%desc: 32-bit timer at 3.579545MHz
% dev.acpi_timer.0.%driver: acpi_timer
% dev.acpi_timer.0.%location: unknown
% dev.acpi_timer.0.%pnpinfo: unknown
% dev.acpi_timer.0.%parent: acpi0
% dev.acpi_ec.0.%desc: Embedded Controller: GPE 0x11
% dev.acpi_ec.0.%driver: acpi_ec
% dev.acpi_ec.0.%location: handle=\_SB_.C074.C0E3.C149
% dev.acpi_ec.0.%pnpinfo: _HID=PNP0C09 _UID=0
% dev.acpi_ec.0.%parent: acpi0
% dev.pci_link.0.%parent: acpi0
% dev.pci_link.1.%parent: acpi0
% dev.pci_link.2.%parent: acpi0
% dev.pci_link.3.%parent: acpi0
% dev.pci_link.4.%parent: acpi0
% dev.pci_link.5.%parent: acpi0
% dev.pci_link.6.%parent: acpi0
% dev.pci_link.7.%parent: acpi0
% dev.cpu.0.%parent: acpi0
% dev.cpu.1.%parent: acpi0
% dev.acpi_perf.0.%driver: acpi_perf
% dev.acpi_perf.0.%parent: cpu0
% dev.acpi_perf.1.%driver: acpi_perf
% dev.acpi_perf.1.%parent: cpu1
% dev.acpi_throttle.0.%desc: ACPI CPU Throttling
% dev.acpi_throttle.0.%driver: acpi_throttle
% dev.acpi_throttle.0.%parent: cpu0
% dev.acpi_throttle.0.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 2500/-1 1250/-1
% dev.pcib.0.%parent: acpi0
% dev.battery.0.%parent: acpi0
% dev.battery.1.%parent: acpi0
% dev.acpi_acad.0.%desc: AC Adapter
% dev.acpi_acad.0.%driver: acpi_acad
% dev.acpi_acad.0.%location: handle=\_SB_.C1BD
% dev.acpi_acad.0.%pnpinfo: _HID=ACPI0003 _UID=0
% dev.acpi_acad.0.%parent: acpi0
% dev.acpi_button.0.%desc: Sleep Button
% dev.acpi_button.0.%driver: acpi_button
% dev.acpi_button.0.%location: handle=\_SB_.C25A
% dev.acpi_button.0.%pnpinfo: _HID=PNP0C0E _UID=0
% dev.acpi_button.0.%parent: acpi0
% dev.acpi_lid.0.%desc: Control Method Lid Switch
% dev.acpi_lid.0.%driver: acpi_lid
% dev.acpi_lid.0.%location: handle=\_SB_.C25B
% dev.acpi_lid.0.%pnpinfo: _HID=PNP0C0D _UID=0
% dev.acpi_lid.0.%parent: acpi0
% dev.acpi_tz.0.%desc: Thermal Zone
% dev.acpi_tz.0.%driver: acpi_tz
% dev.acpi_tz.0.%location: handle=\_TZ_.TZ1_
% dev.acpi_tz.0.%pnpinfo: _HID=none _UID=0
% dev.acpi_tz.0.%parent: acpi0
% dev.acpi_tz.1.%desc: Thermal Zone
% dev.acpi_tz.1.%driver: acpi_tz
% dev.acpi_tz.1.%location: handle=\_TZ_.TZ2_
% dev.acpi_tz.1.%pnpinfo: _HID=none _UID=0
% dev.acpi_tz.1.%parent: acpi0
% dev.acpi_tz.2.%desc: Thermal Zone
% dev.acpi_tz.2.%driver: acpi_tz
% dev.acpi_tz.2.%location: handle=\_TZ_.TZ3_
% dev.acpi_tz.2.%pnpinfo: _HID=none _UID=0
% dev.acpi_tz.2.%parent: acpi0
% dev.npxisa.0.%parent: acpi0
% dev.attimer.0.%parent: acpi0
% dev.attimer.1.%parent: acpi0
% dev.atdma.0.%parent: acpi0
% dev.speaker.0.%parent: acpi0
% dev.atkbdc.0.%parent: acpi0
% dev.psmcpnp.0.%parent: acpi0
% dev.atpic.0.%parent: acpi0
% dev.ppc.0.%parent: acpi0

My kernel doesn't have any known related modules except acpi itself, and my
doesn't do any known configuration of acpi.

Bruce


More information about the freebsd-acpi mailing list