From owner-freebsd-acpi@FreeBSD.ORG Sat Feb 16 15:49:08 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 BED1116A41A for ; Sat, 16 Feb 2008 15:49:08 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from ameno.mahoroba.org (ent.mahoroba.org [IPv6:2001:2f0:104:8010::1]) by mx1.freebsd.org (Postfix) with ESMTP id 75D9713C468 for ; Sat, 16 Feb 2008 15:49:08 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from kasuga.mahoroba.org (IDENT:jC0NExLr5OYGQVio4jqvjAjfwnXH8bRFuZunTkP1RAijFkH4+Pu1KFQUPRzO2kVJ@kasuga.mahoroba.org [IPv6:2001:2f0:104:8010:20b:97ff:fe2e:b521]) (user=ume mech=CRAM-MD5 bits=0) by ameno.mahoroba.org (8.13.8/8.13.8) with ESMTP/inet6 id m1GFn1OT075779 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 17 Feb 2008 00:49:01 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Sun, 17 Feb 2008 00:49:00 +0900 Message-ID: From: Hajimu UMEMOTO To: Johannes Dieterich In-Reply-To: <47B6CD54.3020806@gmail.com> 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> User-Agent: xcite1.57> Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 Emacs/22.1 (i386-pc-freebsd) MULE/5.0 (SAKAKI) X-Operating-System: FreeBSD 6.3-RELEASE-p1 X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (ameno.mahoroba.org [IPv6:2001:2f0:104:8010::1]); Sun, 17 Feb 2008 00:49:01 +0900 (JST) X-Virus-Scanned: by amavisd-new X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on ameno.mahoroba.org Cc: freebsd-acpi@freebsd.org 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: Sat, 16 Feb 2008 15:49:08 -0000 Hi, >>>>> On Sat, 16 Feb 2008 12:47:32 +0100 >>>>> Johannes Dieterich said: dieterich.joh> # sysctl hw.acpi dieterich.joh> hw.acpi.supported_sleep_state: S3 S4 S5 dieterich.joh> hw.acpi.power_button_state: S5 dieterich.joh> hw.acpi.sleep_button_state: S3 dieterich.joh> hw.acpi.lid_switch_state: NONE dieterich.joh> hw.acpi.standby_state: S1 dieterich.joh> hw.acpi.suspend_state: S3 dieterich.joh> hw.acpi.sleep_delay: 1 dieterich.joh> hw.acpi.s4bios: 0 dieterich.joh> hw.acpi.verbose: 0 dieterich.joh> hw.acpi.disable_on_reboot: 0 dieterich.joh> hw.acpi.handle_reboot: 0 dieterich.joh> hw.acpi.reset_video: 0 dieterich.joh> hw.acpi.cpu.cx_lowest: C2 dieterich.joh> hw.acpi.thermal.min_runtime: 0 dieterich.joh> hw.acpi.thermal.polling_rate: 10 dieterich.joh> hw.acpi.thermal.user_override: 0 dieterich.joh> hw.acpi.thermal.tz0.temperature: 62.0C dieterich.joh> hw.acpi.thermal.tz0.active: -1 dieterich.joh> hw.acpi.thermal.tz0.passive_cooling: 0 dieterich.joh> hw.acpi.thermal.tz0.thermal_flags: 0 dieterich.joh> hw.acpi.thermal.tz0._PSV: -1 dieterich.joh> hw.acpi.thermal.tz0._HOT: -1 dieterich.joh> hw.acpi.thermal.tz0._CRT: 127.0C dieterich.joh> hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 dieterich.joh> hw.acpi.thermal.tz1.temperature: 63.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.battery.life: 96 dieterich.joh> hw.acpi.battery.time: -1 dieterich.joh> hw.acpi.battery.state: 0 dieterich.joh> hw.acpi.battery.units: 1 dieterich.joh> hw.acpi.battery.info_expire: 5 dieterich.joh> hw.acpi.acline: 1 dieterich.joh> # sysctl dev.cpu dieterich.joh> dev.cpu.0.%desc: ACPI CPU dieterich.joh> dev.cpu.0.%driver: cpu dieterich.joh> dev.cpu.0.%location: handle=\_PR_.CPU0 dieterich.joh> dev.cpu.0.%pnpinfo: _HID=none _UID=0 dieterich.joh> dev.cpu.0.%parent: acpi0 dieterich.joh> dev.cpu.0.temperature: 60 dieterich.joh> dev.cpu.0.freq: 125 dieterich.joh> dev.cpu.0.freq_levels: 1667/31000 1458/27125 1333/22000 1166/19250 dieterich.joh> 1000/13000 875/11375 750/9750 625/8125 500/6500 375/4875 250/3250 125/1625 dieterich.joh> dev.cpu.0.cx_supported: C1/1 C2/1 C3/17 dieterich.joh> dev.cpu.0.cx_lowest: C2 dieterich.joh> dev.cpu.0.cx_usage: 0.00% 100.00% 0.00% dieterich.joh> dev.cpu.1.%desc: ACPI CPU dieterich.joh> dev.cpu.1.%driver: cpu dieterich.joh> dev.cpu.1.%location: handle=\_PR_.CPU1 dieterich.joh> dev.cpu.1.%pnpinfo: _HID=none _UID=0 dieterich.joh> dev.cpu.1.%parent: acpi0 dieterich.joh> dev.cpu.1.temperature: 62 dieterich.joh> dev.cpu.1.cx_supported: C1/1 C2/1 C3/17 dieterich.joh> dev.cpu.1.cx_lowest: C2 dieterich.joh> dev.cpu.1.cx_usage: 0.00% 100.00% 0.00% dieterich.joh> that is now the output without enabling Alexandre's patch. dieterich.joh> Hope it tells you something. It seems nothing wrong to me. Can you set hw.acpi.thermal.tz1.passive_cooling to 1? If you cannot set, _TC1, _TC2 and/or _TSP for tz1 might be not correct. BTW, doesn't your laptop have a fan? Unless your laptop is fanless, your fan should work for you in usual in the first place. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/