From nobody@FreeBSD.org  Thu Nov 11 16:38:45 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6667716A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 11 Nov 2004 16:38:45 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 550DF43D39
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 11 Nov 2004 16:38:45 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id iABGcjif044491
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 11 Nov 2004 16:38:45 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id iABGcjun044490;
	Thu, 11 Nov 2004 16:38:45 GMT
	(envelope-from nobody)
Message-Id: <200411111638.iABGcjun044490@www.freebsd.org>
Date: Thu, 11 Nov 2004 16:38:45 GMT
From: Arne Wrner <arne_woerner@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: acpi / thermal support
X-Send-Pr-Version: www-2.3

>Number:         73822
>Category:       i386
>Synopsis:       [request] add thermal support to ACPI
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-acpi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 11 16:40:18 GMT 2004
>Closed-Date:    Mon Oct 16 16:54:58 GMT 2006
>Last-Modified:  Mon Oct 16 16:54:58 GMT 2006
>Originator:     Arne Wrner
>Release:        R5.3
>Organization:
>Environment:
FreeBSD neo.riddick.homeunix.org. 5.3-RELEASE FreeBSD 5.3-RELEASE #7: Wed Nov 10 13:37:28 UTC 2004     aw@neo.riddick.homeunix.org.:/usr/src/sys/i386/compile/RIDDICK  i386
>Description:
I believe, that the R5.3 acpi driver is unable to see the thermal sensors (just like 5.2-CURRENT-20040408). But power off works fine (I think, that is an acpi feature, isn't it?)...

I would prefer an acpi driver, that is able to tell me the temperatures inside my box... I am ready and able to test certain patches.
>How-To-Repeat:
dev.acpi.0.%desc: AMIINT VIA_K7
dev.acpi.0.%driver: acpi
dev.acpi.0.%parent: nexus0

neo# sysctl hw.acpi
hw.acpi.supported_sleep_state: S1 S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S1
hw.acpi.lid_switch_state: NONE
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 1
hw.acpi.s4bios: 0
hw.acpi.verbose: 0
hw.acpi.reset_video: 1
hw.acpi.cpu.throttle_max: 16
hw.acpi.cpu.throttle_state: 8
hw.acpi.cpu.cx_supported: C1/0
hw.acpi.cpu.cx_lowest: C1
hw.acpi.cpu.cx_usage: 100.00%

neo# acpidump -d| head
/*
 * Intel ACPI Component Architecture
 * AML Disassembler version 20040527
 *
 * Disassembly of /tmp/acpidump.7VapkZ, Thu Nov 11 16:36:27 2004
 */
DefinitionBlock ("DSDT.aml", "DSDT", 1, "VIA", "VIA_K7", 4096)
{
    Name (APIC, 0x00)
    Method (\_PIC, 1, NotSerialized)
[...]
>Fix:
?
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-i386->freebsd-acpi 
Responsible-Changed-By: arved 
Responsible-Changed-When: Fri Dec 17 23:23:00 GMT 2004 
Responsible-Changed-Why:  
Over to freebsd-acpi mailinglist 

http://www.freebsd.org/cgi/query-pr.cgi?pr=73822 

From: Arne "Wrner" <arne_woerner@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: i386/73822: acpi / thermal support
Date: Thu, 10 Mar 2005 08:31:47 -0800 (PST)

 Now I use the package
   xmbmon-204
 which works fine (just Temp2 looks wrong).
 
 > mbmon -d
 SMBus[VT8233/A/8235/8237(KT266/333/400/600)] found, but No HWM
 available on it!!
 Using ISA-IO access method!!
 * Int.Tec.Exp. Chip IT8705F/IT8712F or SIS950 found.
 > mbmon -c 1
 Temp.= 34.0, 203.0, 41.0; Rot.= 1654, 2343,    0
 Vcore = 1.62, 2.46; Volt. = 3.18, 4.97, 11.55,  -3.62, -4.94
 
 -Arne
 
 
 __________________________________________________
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 

From: Pav Lucistnik <pav@FreeBSD.org>
To: bug-followup@FreeBSD.org, arne_woerner@yahoo.com
Cc:  
Subject: Re: i386/73822: [request] add thermal support to ACPI
Date: Fri, 28 Apr 2006 15:21:35 +0200

 Can you check recent version of the system, like, say, FreeBSD 6.1-RC?
 
 These days, acpi_thermal(4) driver is present a temperatures should be
 readable using command
 
 sysctl hw.acpi.thermal
 
 -- 
 Pav Lucistnik <pav@oook.cz>
               <pav@FreeBSD.org>
 
 Any Palm app requiring an 90+ page manual has lost its vision.
     -- words about DateBk4 on Action Names list
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Sun May 28 12:07:28 UTC 2006 
State-Changed-Why:  
Feedback timeout (1 month) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=73822 

From: Pav Lucistnik <pav@FreeBSD.org>
To: "R. B. Riddick" <arne_woerner@yahoo.com>
Cc: freebsd-acpi@FreeBSD.org, bug-followup@FreeBSD.org
Subject: Re: i386/73822: [request] add thermal support to ACPI
Date: Sun, 28 May 2006 14:21:06 +0200

 R. B. Riddick p=ED=B9e v ne 28. 05. 2006 v 05:16 -0700:
 
 > Oops... I oversaw that feedback from 2006-04-28... Sorry for that... Was =
 not
 > intentional...
 >=20
 > And no: There is still no hw.acpi.thermal with R6.1...
 
 Does your /var/run/dmesg have a line like this?
 
 acpi_tz0: <Thermal Zone> on acpi0
 
 Are you running GENERIC kernel?
 
 --=20
 Pav Lucistnik <pav@oook.cz>
               <pav@FreeBSD.org>
 
 The final screw holding up a rackmount server is always possessed by demons=
 .

From: "R. B. Riddick" <arne_woerner@yahoo.com>
To: pav@FreeBSD.org
Cc: freebsd-acpi@FreeBSD.org, bug-followup@FreeBSD.org
Subject: Re: i386/73822: [request] add thermal support to ACPI
Date: Sun, 28 May 2006 05:56:17 -0700 (PDT)

 --- Pav Lucistnik <pav@FreeBSD.org> wrote:
 > Does your /var/run/dmesg have a line like this?
 >   acpi_tz0: <Thermal Zone> on acpi0
 >
 Nope. I grepped (case insensitive) for "tz" and "thermal" and just found lines
 with "adjkerntz"...
 
 > Are you running GENERIC kernel?
 >
 Nope. A custom kernel with acpi.ko module:
 % kldstat
 Id Refs Address    Size     Name
  1    3 0xc0400000 36db84   kernel
  2    1 0xc076e000 58554    acpi.ko
 
 -Arne
 
 __________________________________________________
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 

From: Pav Lucistnik <pav@FreeBSD.org>
To: "R. B. Riddick" <arne_woerner@yahoo.com>
Cc: freebsd-acpi@FreeBSD.org, bug-followup@FreeBSD.org
Subject: Re: i386/73822: [request] add thermal support to ACPI
Date: Sun, 28 May 2006 15:07:43 +0200

 R. B. Riddick p=ED=B9e v ne 28. 05. 2006 v 05:56 -0700:
 > --- Pav Lucistnik <pav@FreeBSD.org> wrote:
 > > Does your /var/run/dmesg have a line like this?
 > >   acpi_tz0: <Thermal Zone> on acpi0
 > >
 > Nope. I grepped (case insensitive) for "tz" and "thermal" and just found =
 lines
 > with "adjkerntz"...
 >=20
 > > Are you running GENERIC kernel?
 > >
 > Nope. A custom kernel with acpi.ko module:
 > % kldstat
 > Id Refs Address    Size     Name
 >  1    3 0xc0400000 36db84   kernel
 >  2    1 0xc076e000 58554    acpi.ko
 
 Looks like it's not probing thermal zone on your hardware.
 Can you post us a verbose dmesg output?
 And relevant part of messages from Linux boot, for comparision?
 
 --=20
 Pav Lucistnik <pav@oook.cz>
               <pav@FreeBSD.org>
 
 You take the red pill, you stay in Wonderland, and I show you how deep
 the rabbit hole goes....

From: "Dpto.Eng.Prowip" <eng@prowip.net.br>
To: bug-followup@freebsd.org
Cc: arne_woerner@yahoo.com
Subject: Re: i386/73822: [request] add thermal support to ACPI
Date: Sun, 28 May 2006 10:23:23 -0300 (BRT)

 can I add something here?
 I have some ASUS K8V-MX MBs which have the ViaK8T800 chipset and 754 socket
 and the thermal acpi things are not detected. I run amd64 releng_6 but on i386
 the acpi thermal things are also not there.
 
 mbmon tells me:
 SMBus[VT8233/A/8235/8237(KT266/333/400/600/880)] found, but No HWM available
 on it!!
 No Hardware Monitor found!!
 InitMBInfo: Unknown error: 0
 
 
 If you are interested you can look at dmesg/sysctl/acpi/ here:
 
 http://prowip.net.br/suporte/k8v-mx.txt
 
 thank's
 Hans
 
 -- 
 Prowip Telecom Ltda.
 Dpto. Eng. e Tecnologia
 http://prowip.net.br
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 ****************************************************
 Datacenter Matik http://datacenter.matik.com.br
 E-Mail e Data Hosting Service para Profissionais.
 ****************************************************
 
State-Changed-From-To: closed->open 
State-Changed-By: pav 
State-Changed-When: Sun May 28 13:34:35 UTC 2006 
State-Changed-Why:  
Reopen 

http://www.freebsd.org/cgi/query-pr.cgi?pr=73822 

From: Pav Lucistnik <pav@FreeBSD.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: i386/73822: [request] add thermal support to ACPI
Date: Sun, 28 May 2006 15:35:10 +0200

 Copying misfiled followup:
 
 From: "Dpto.Eng.Prowip" <eng@prowip.net.br>
 To: bug-followup@freebsd.org
 Cc: arne_woerner@yahoo.com
 Subject: Re: i386/73822: [request] add thermal support to ACPI
 Date: Sun, 28 May 2006 10:23:23 -0300 (BRT)
 
  can I add something here?
  I have some ASUS K8V-MX MBs which have the ViaK8T800 chipset and 754 socket
  and the thermal acpi things are not detected. I run amd64 releng_6 but on i386
  the acpi thermal things are also not there.
  
  mbmon tells me:
  SMBus[VT8233/A/8235/8237(KT266/333/400/600/880)] found, but No HWM available
  on it!!
  No Hardware Monitor found!!
  InitMBInfo: Unknown error: 0
  
  
  If you are interested you can look at dmesg/sysctl/acpi/ here:
  
  http://prowip.net.br/suporte/k8v-mx.txt
  
  thank's
  Hans

From: "R. B. Riddick" <arne_woerner@yahoo.com>
To: pav@FreeBSD.org
Cc: freebsd-acpi@FreeBSD.org, bug-followup@FreeBSD.org
Subject: Re: i386/73822: [request] add thermal support to ACPI
Date: Sun, 28 May 2006 07:29:01 -0700 (PDT)

 Ohoh... It's a little bit embarassing... I was completely sure, that Linux
 found thermal sensors via acpi...
 
 Somehow neither SUSE Linux 8.1 (2003) nor KNOPPIX 3.7 (2004-12) seems to find a
 thermal_zone (I looked in dmesg and /proc/acpi).
 
 FreeBSD R6.1 with verbose kernel messages (boot -v) does not say a word about
 thermal, too.
 
 I think, my BIOS/ACPI is just too old for thermal_zone and
 auto-power-on-timer... :-)
 
 Sorry for the trouble... We can close that PR now with my consent.
 
 Tubby-Bye-Bye :-)
 -Arne
 
 
 __________________________________________________
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 

From: Nate Lawson <nate@root.org>
To: pav@FreeBSD.org
Cc: "R. B. Riddick" <arne_woerner@yahoo.com>, freebsd-acpi@FreeBSD.org,
        bug-followup@FreeBSD.org
Subject: Re: i386/73822: [request] add thermal support to ACPI
Date: Mon, 29 May 2006 13:51:43 -0700

 Pav Lucistnik wrote:
 > R. B. Riddick pe v ne 28. 05. 2006 v 05:56 -0700:
 >> --- Pav Lucistnik <pav@FreeBSD.org> wrote:
 >>> Does your /var/run/dmesg have a line like this?
 >>>   acpi_tz0: <Thermal Zone> on acpi0
 >>>
 >> Nope. I grepped (case insensitive) for "tz" and "thermal" and just found lines
 >> with "adjkerntz"...
 >>
 >>> Are you running GENERIC kernel?
 >>>
 >> Nope. A custom kernel with acpi.ko module:
 >> % kldstat
 >> Id Refs Address    Size     Name
 >>  1    3 0xc0400000 36db84   kernel
 >>  2    1 0xc076e000 58554    acpi.ko
 > 
 > Looks like it's not probing thermal zone on your hardware.
 > Can you post us a verbose dmesg output?
 > And relevant part of messages from Linux boot, for comparision?
 > 
 
 Many systems don't have an ACPI thermal zone.  So you just use mbmon or 
 some other device-specific SMBUS monitoring tool.
 
 -- 
 Nate
State-Changed-From-To: open->closed 
State-Changed-By: jhb 
State-Changed-When: Mon Oct 16 16:54:28 UTC 2006 
State-Changed-Why:  
Machine in question doesn't have ACPI thermal zones, so there's nothing 
an ACPI driver can do. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=73822 
>Unformatted:
