From owner-freebsd-acpi@FreeBSD.ORG Wed Feb 20 19:46:36 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1704816A401 for ; Wed, 20 Feb 2008 19:46:36 +0000 (UTC) (envelope-from dieterich.joh@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id 87F0D13C455 for ; Wed, 20 Feb 2008 19:46:35 +0000 (UTC) (envelope-from dieterich.joh@googlemail.com) Received: by fg-out-1718.google.com with SMTP id 16so2205576fgg.35 for ; Wed, 20 Feb 2008 11:46:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:from; bh=QsRIhyloPs9qLBDv3LLnZQeSM8aZPV9xRtiEdOJU108=; b=XtLTtW+Z9ttt1bsSuwFrBRNhui1FYziMv50TGO5DjJHuzke4DwKA6oObyJGg1L7JTCZr1HCJUJ5PkUWdLgHVTKIfJxtPn3Ejr4eqw0OmvrOLEMJdzMfdQgBYbDGSBPTl4viUo9k2I88JzteNXydGAbGdinwBTJ15RPzEKiEh894= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=xZ1qcw/DD/0D44ee6Lfd4byUaAngvnNIcDKqGQjwLYpw5bSCJvE+jQJOP6s3PRLnkv0SKz+QdL0v/Slc6t8ix3Y0blfflhP8bvzmBf3lFuFjdvUZPcXsgcmA0KLR2mBZ8E99Nh+aLDuRUz9QPKZPNPPbhgiRlnAgseRzyL3wuus= Received: by 10.86.68.20 with SMTP id q20mr8582414fga.59.1203536794582; Wed, 20 Feb 2008 11:46:34 -0800 (PST) Received: from ?192.168.1.100? ( [79.210.117.34]) by mx.google.com with ESMTPS id d4sm11404776fga.2.2008.02.20.11.46.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 20 Feb 2008 11:46:33 -0800 (PST) Message-ID: <47BC8397.4040207@gmail.com> Date: Wed, 20 Feb 2008 20:46:31 +0100 User-Agent: Thunderbird 2.0.0.9 (X11/20080213) MIME-Version: 1.0 To: Hajimu UMEMOTO , freebsd-acpi@freebsd.org References: <20080208045605.15C874500E@ptavv.es.net> <47ABF402.7030904@root.org> <1202475519.7014.7.camel@RabbitsDen> <1203126071.833.19.camel@RabbitsDen> <47B6B913.9020505@gmail.com> <47B6CC48.5070009@gmail.com> <47B6CD54.3020806@gmail.com> <47B71194.8090804@gmail.com> <47B71804.40002@gmail.com> <47B8114D.1000707@gmail.com> <47BA120A.1040005@gmail.com> <47BA1288.2070802@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit From: Johannes Dieterich Cc: Subject: Re: [RFC] Patch to enable temperature ceiling in powerd X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Feb 2008 19:46:36 -0000 Hi, Hajimu UMEMOTO wrote: > Hi, > >>>>>> On Tue, 19 Feb 2008 00:19:36 +0100 >>>>>> Johannes Dieterich said: > > dieterich.joh> # sysctl hw.acpi.thermal.tz1 > dieterich.joh> hw.acpi.thermal.tz1.temperature: 66.0C > dieterich.joh> hw.acpi.thermal.tz1.active: -1 > dieterich.joh> hw.acpi.thermal.tz1.passive_cooling: 0 > dieterich.joh> hw.acpi.thermal.tz1.thermal_flags: 0 > dieterich.joh> hw.acpi.thermal.tz1._PSV: 92.5C > dieterich.joh> hw.acpi.thermal.tz1._HOT: -1 > dieterich.joh> hw.acpi.thermal.tz1._CRT: 97.0C > dieterich.joh> hw.acpi.thermal.tz1._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 > dieterich.joh> hw.acpi.thermal.tz1._TC1: 5 > dieterich.joh> hw.acpi.thermal.tz1._TC2: 4 > dieterich.joh> hw.acpi.thermal.tz1._TSP: 600 > > dieterich.joh> is the wanted output without Sunny's patch compiled in. > > Thank you. It seems good to me. I've tried following setting on my > laptop, and it's working well: > > sysctl hw.acpi.verbose=1 > sysctl hw.acpi.thermal.user_override=1 > sysctl hw.acpi.thermal.tz0._TC1=5 > sysctl hw.acpi.thermal.tz0._TC2=4 > sysctl hw.acpi.thermal.tz0._TSP=600 > and now I start to wonder: that is what happens: # sysctl hw.acpi.verbose=1 hw.acpi.verbose: 0 -> 1 # sysctl hw.acpi.thermal.user_override=1 hw.acpi.thermal.user_override: 0 -> 1 # sysctl hw.acpi.thermal.tz0._TC1=5 hw.acpi.thermal.tz0._TC1: -1 -> 5 # sysctl hw.acpi.thermal.tz0._TC2=4 hw.acpi.thermal.tz0._TC2: -1 -> 4 # sysctl hw.acpi.thermal.tz0._TSP=600 hw.acpi.thermal.tz0._TSP: -1 -> 600 Shouldn't that be somewhat different? And I didn't change anything in between but rebooting the machine. > The following was logged into /var/log/messages: > > Feb 19 11:08:26 kasuga kernel: acpi_tz0: temperature 85.8C: decreasing clock speed from 1200 MHz to 1000 MHz > Feb 19 11:09:26 kasuga kernel: acpi_tz0: temperature 82.8C: resuming previous clock speed (1200 MHz) > Feb 19 11:10:26 kasuga kernel: acpi_tz0: temperature 86.8C: decreasing clock speed from 1200 MHz to 900 MHz > Feb 19 11:11:26 kasuga kernel: acpi_tz0: temperature 79.8C: resuming previous clock speed (1200 MHz) > still nothing. Completely nothing. > So, I think the value of _TC1, _TC2 and _TSP is valid. > > Still, I'm not sure why the above message is not logged on your > laptop. But, it would be worth to try increasing _TC2 and/or > decreasing _TSP. That might be my next test then. Just wanted to let you know about the IMHO strange output above. Regards, Johannes