lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091211094515.4b4872ef@werewolf.home>
Date:	Fri, 11 Dec 2009 09:45:15 +0100
From:	"J.A. Magallón" <jamagallon@....com>
To:	LKML <linux-kernel@...r.kernel.org>
Subject: Re: Useless thermal acpi driver ?

On Fri, 11 Dec 2009 01:25:49 -0500 (EST), Len Brown <lenb@...nel.org> wrote:

> On Wed, 9 Dec 2009, Robert Hancock wrote:
> 
> > On 12/09/2009 04:26 PM, J.A. Magallón wrote:
> > > Hi all...
> > > 
> > > I have a couple boxes where the thermal acpi driver gives this:
> > > 
> > > bran:~>  sensors
> > > acpitz-virtual-0
> > > Adapter: Virtual device
> > > temp1:       +26.8°C  (crit = +100.0°C)
> > > 
> > > bran:~>  acpi -t
> > > No support for device type: battery
> > >       Thermal 1: ok, 27.0 degrees C
> > > 
> > > It stays _always_ the same, there is no difference if I run some number
> > > crunchin, or even if one of them is overclocked from 2.8 to 3.0 GHz.
> > 
> > There are systems where an ACPI thermal zone exists but isn't really hooked up
> > to anything and just reports some dummy temperature value. My old system
> > reported 40 degrees C no matter what. (I think it's something like the thermal
> > zone support is part of the standard ACPI DSDT template the mobo maker got
> > from the BIOS developer and they effectively disabled it by putting in the
> > dummy temperature.)
> 
> send the output from acpidump, and a quick look will tell us
> if your ACPI suport is dummy, or accesses real registers.
> 
> Also, show the output from
> 
> grep . /proc/acpi/thermal_zone/*/*
> 

Here they go:

bran:~# grep . /proc/acpi/thermal_zone/*/*
/proc/acpi/thermal_zone/THRM/cooling_mode:0 - Active; 1 - Passive
/proc/acpi/thermal_zone/THRM/polling_frequency:<polling disabled>
/proc/acpi/thermal_zone/THRM/state:state:                   ok
/proc/acpi/thermal_zone/THRM/temperature:temperature:             27 C
/proc/acpi/thermal_zone/THRM/trip_points:critical (S5):           100 C
/proc/acpi/thermal_zone/THRM/trip_points:passive:                 75 C: tc1=4 tc2=3 tsp=60 devices=CPU0
/proc/acpi/thermal_zone/THRM/trip_points:active[0]:               75 C: devices= FAN

Result from acpidump is attached.

-- 
J.A. Magallon <jamagallon()ono!com>     \               Software is like sex:
                                         \         It's better when it's free
Mandriva Linux release 2010.0 (Cooker) for x86_64
Linux 2.6.29.3-desktop-1mnb (gcc 4.3.2 (GCC) #1 Wed May

View attachment "acpidump.txt" of type "text/plain" (83985 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ