Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2006 21:45:35 -0700
From:      Nate Lawson <nate@root.org>
To:        Jacques Garrigue <garrigue@math.nagoya-u.ac.jp>
Cc:        freebsd-acpi@freebsd.org
Subject:   Re: Sony Vaio VGN-TX92S
Message-ID:  <452DC86F.7060102@root.org>
In-Reply-To: <20061012.120703.59465247.garrigue@math.nagoya-u.ac.jp>
References:  <20061010.165404.74754637.garrigue@math.nagoya-u.ac.jp>	<20061010.173707.08072970.garrigue@math.nagoya-u.ac.jp>	<452BD9D2.5030609@root.org> <20061012.120703.59465247.garrigue@math.nagoya-u.ac.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
Jacques Garrigue wrote:
> From: Nate Lawson <nate@root.org>
> 
>>>>> Also, see the acpi man page for cpu idling, namely 
>>>>> setting hw.acpi.cpu.cx_lowest=C3.
>>>> I tried this, with only C2, as C3 does not seem to be available for
>>>> this cpu currently. (The Intel docs talk of a "very deep sleep" mode,
>>>> so this may be lacking in the FreeBSD support.)
>>> I was wrong. When I tried first the supported modes were only C1 and
>>> C2, but using sysctl again later I found that C3 and even C4 were
>>> available. I wonder why it changes while running. I tried with C4, but
>>> I get no significant change in temperature.
>> It changes based on AC line status.  See the acpi man page or 
>> /etc/defaults/rc.conf ("cx" lines) to see.
> 
> Thanks. With this I can keep it low.
> But this does not change the original strange behaviour: if I boot
> with AC on, I only get C1 and C2 listed, but if I boot on battery I
> get C1 to C4. The supported modes do not seem to change after boot.

The BIOS decides that.  We should get a notify that Cx states changed 
and re-evaluate the settings.  That support is not done yet so you're 
stuck with whatever you get on boot.

>>> Since the main problem is hang-up from overheat, is there any progress
>>> in having powerd slow the CPU when the temperature is too high?
>> Passive cooling is already supported in 6-stable and 7-current.
> 
> OK, I've set _PSV to 60.0C, which should have protected me against
> overheat. I verified that the CPU slows when over 60.0C.
> But just as I was writing this mail (and extracting the Linux kernel
> sources, don't ask me why...) I experienced again a strange unexpected
> reboot. Just before reboot, the sysctl node dev.cpu.0 had disappeared!
> The temperature was over 60C, but not that high.

Sounds like a bug or hardware problem.

> By the way, the acpi_thermal man page seems to be wrong about setting
> temperatures through sysctl: it says that you should use an integer
> temperature in celsius, but if I do that I get "Invalid argument".
> Actually I had to set in 1/10 of Kelvin (ie 3332), after reading
> kernel sources.

I think you need a "C" to indicate celsius.  Example: ="60C"
The sysctl user program translates for Celsius, Fahrenheit ("120F"), and 
Kelvin (no letter).


-- 
Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?452DC86F.7060102>