Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761962AbXEPRhj (ORCPT ); Wed, 16 May 2007 13:37:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757902AbXEPRhc (ORCPT ); Wed, 16 May 2007 13:37:32 -0400 Received: from ug-out-1314.google.com ([66.249.92.173]:8910 "EHLO ug-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757318AbXEPRhb (ORCPT ); Wed, 16 May 2007 13:37:31 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type; b=DTXqmFWBD6KJrEUAaIEbsOiN+Ei2Lcu5xse84PYssSlXNPPPaBl5W+MSy8zBoXY2zxffTamrfgmUjuBtk6HxrwMe02F9QxiHTP2qksXyKTgdvdq7JsVG/rtrnVZbsOsvGpW8Na1a0+4hEafdwD7bKINGXyzNuJrpSESDDIBsjxQ= Message-ID: <464B4155.9070902@gmail.com> Date: Wed, 16 May 2007 19:37:25 +0200 From: Maciej Rutecki User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Andrew Morton CC: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, lenb@kernel.org Subject: Re: 2.6.22-rc1-mm1 [cannot change thermal trip points] References: <20070515201914.16944e04.akpm@linux-foundation.org> In-Reply-To: <20070515201914.16944e04.akpm@linux-foundation.org> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms050703000701020801060400" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 7136 Lines: 148 This is a cryptographically signed message in MIME format. --------------ms050703000701020801060400 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable In 2.6.20.9 I can change trippoints: echo "105:100:100:78:70:40:30" > /proc/acpi/thermal_zone/TZ0/trip_points echo 10 > /proc/acpi/thermal_zone/TZ0/polling_frequency Then I got: cat /proc/acpi/thermal_zone/TZ0/* cooling mode: active polling frequency: 10 seconds state: active[2] temperature: 45 C critical (S5): 105 C active[0]: 78 C: devices=3D0xdf415a40 active[1]: 70 C: devices=3D0xdf4159dc active[2]: 40 C: devices=3D0xdf41598c active[3]: 30 C: devices=3D0xdf41593c cat /proc/acpi/fan/*/* status: off status: off status: on status: on And fan turns on. In 2.6.22-rc1-mm1: echo "105:100:100:78:70:40:30" > /proc/acpi/thermal_zone/TZ0/trip_points bash: echo: write error: B=C4=B9=C2=82=C3=84=C2=85d wej=C4=B9=C2=9Bcia/wy= j=C4=B9=C2=9Bcia (input/output error) rutek:/home/maciek# cat /proc/acpi/thermal_zone/TZ0/* polling frequency: 10 seconds state: ok temperature: 45 C critical (S5): 256 C active[0]: 78 C: devices=3D0xc1827a40 active[1]: 70 C: devices=3D0xc18279dc active[2]: 60 C: devices=3D0xc182798c active[3]: 50 C: devices=3D0xc182793c rutek:/home/maciek# cat /proc/acpi/fan/*/* status: off status: off status: off status: off Fan turns on when temperature is over 50*C. (want: 30) A read this: http://article.gmane.org/gmane.linux.acpi.devel/22750 But I don't have colling_policy, but only colling_mode: ls /proc/acpi/thermal_zone/TZ0/ cooling_mode polling_frequency state temperature trip_points Its bug or feature? Config, acpidump, dmesg: http://www.unixy.pl/maciek/download/kernel/2.6.22-rc1-mm1/ --=20 Maciej Rutecki www.unixy.pl Kernel Monkeys (http://kernel.wikidot.com/) --------------ms050703000701020801060400 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJHzCC AuowggJToAMCAQICEE6xoJMcyW54m7Gt6FEjF3swDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHF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ezAJBgUrDgMCGgUAoIIBwzAYBgkq hkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0wNzA1MTYxNzM3MjVaMCMG CSqGSIb3DQEJBDEWBBTXDooBQ8/uiF0KPK+RJrK4cu0rLzBSBgkqhkiG9w0BCQ8xRTBDMAoG CCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0DAgIBQDAHBgUrDgMCBzANBggq hkiG9w0DAgIBKDCBhQYJKwYBBAGCNxAEMXgwdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMc VGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFs IEZyZWVtYWlsIElzc3VpbmcgQ0ECEE6xoJMcyW54m7Gt6FEjF3swgYcGCyqGSIb3DQEJEAIL MXigdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkg THRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECEE6x oJMcyW54m7Gt6FEjF3swDQYJKoZIhvcNAQEBBQAEggEAmx2e+TGwF/u8Pzj+JDHJs7KfRdOZ 4wy8xkWlCmxXqf/xUdWrbOfE51LxUvk/y7DOs8kyDOMqsukFrTXSppEsuvY2D6WnlRYwqZJ9 Wc3L+qBHYQbfNX56kb/EVdwwNplF7ZzcDl2s+GfhKlRLC3dz0DiTebaMmcIKK4lV1uCk7GZB j7chHDHSTwjEMAJ/3wBUcPjftb/2ToGEuYcgsvdu6gsjArLwTV6S/5wPI3ka+BzWVSdzNE1c Ym+z5RThHYMtxsX+9CariQiNt8I74bvZIPiaUFtIB0KMYtg+UUBWnflQq4q3yKGu4HpxG2QM HPEf38mIQ7m5nv0E7ESsDN/UUAAAAAAAAA== --------------ms050703000701020801060400-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/