From owner-freebsd-acpi@FreeBSD.ORG Sat Feb 16 11:47:38 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 7558D16A417 for ; Sat, 16 Feb 2008 11:47:38 +0000 (UTC) (envelope-from dieterich.joh@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id DB14F13C46A for ; Sat, 16 Feb 2008 11:47:37 +0000 (UTC) (envelope-from dieterich.joh@googlemail.com) Received: by fg-out-1718.google.com with SMTP id 16so805293fgg.35 for ; Sat, 16 Feb 2008 03:47:36 -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=8cabV4fyZooJwo5RB30DBdemDAzN0lM3881yw84zB+4=; b=e5kPvqII2NJXu5Q0Y8/BoDYMHccOULrcbQ/QtRbqzwT0sNmTv3TNBnyHxy6/pqhChCAQGs7NquhPjMg+/djNkIOnDdbefKm8KFOwCfKXOHoZe+yVCZf2l4UsB2IDufE5TYTtUjcrflXQUxifgwtHrnkLSXy1BDdDuRK6V2xuY3w= 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=Zbjnw9ogl78HWnEjRupI5sqFUdr21Z/90eR6jUbiStwjKmjcY5Po4xpzQqXMflBc8CKeaNDtVGRrztykAOMmenkDd9xDsrqH4qWBgsfVPqFDYTFWnyceDhRAMXXaR2tYXHDqsf5I0ylR+WrMFF4k08LwsRaXGY0cla4SNE+84qw= Received: by 10.86.25.17 with SMTP id 17mr3639139fgy.15.1203162455563; Sat, 16 Feb 2008 03:47:35 -0800 (PST) Received: from ?192.168.1.100? ( [79.210.81.45]) by mx.google.com with ESMTPS id l12sm5747118fgb.8.2008.02.16.03.47.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 16 Feb 2008 03:47:34 -0800 (PST) Message-ID: <47B6CD54.3020806@gmail.com> Date: Sat, 16 Feb 2008 12:47:32 +0100 User-Agent: Thunderbird 2.0.0.9 (X11/20080213) MIME-Version: 1.0 To: 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> In-Reply-To: <47B6CC48.5070009@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit From: Johannes Dieterich 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 11:47:38 -0000 Hajimu UMEMOTO wrote: > Hi, > >>>>>> On Sat, 16 Feb 2008 11:21:07 +0100 >>>>>> Johannes Dieterich said: > dieterich.joh> Alexandre "Sunny" Kovalenko wrote: >> Johannes, >> >> since you were the only one who actually needed that patch to get >> through the buildworld, could you, please, set >> >> sysctl hw.acpi.thermal.tz1.passive_cooling=1 >> sysctl hw.acpi.thermal.user_override=1 >> sysctl hw.acpi.thermal.tz1._PSV=85C >> >> disable my patch by removing '-T and -z' from powerd_flags >> in /etc/rc.conf >> >> restart powerd, by doing >> >> /etc/rc.d/powerd restart >> >> and try to do the buildworld. If it works for you, I will kindly ask >> someone to close that PR and apologize for wasting everybody's time. > > dieterich.joh> Did that. Doesn't work. Again it is overheating. I have not tried the > dieterich.joh> patch from Hajimu Umemoto yet though. But I guess it will not change > dieterich.joh> much for me. > > I didn't see your report. Could you show me the output of > `sysctl hw.acpi' and `sysctl dev.cpu'? # sysctl hw.acpi hw.acpi.supported_sleep_state: S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S3 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 0 hw.acpi.verbose: 0 hw.acpi.disable_on_reboot: 0 hw.acpi.handle_reboot: 0 hw.acpi.reset_video: 0 hw.acpi.cpu.cx_lowest: C2 hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.user_override: 0 hw.acpi.thermal.tz0.temperature: 62.0C hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.passive_cooling: 0 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: -1 hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 127.0C hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz1.temperature: 63.0C hw.acpi.thermal.tz1.active: -1 hw.acpi.thermal.tz1.passive_cooling: 0 hw.acpi.thermal.tz1.thermal_flags: 0 hw.acpi.thermal.tz1._PSV: 92.5C hw.acpi.thermal.tz1._HOT: -1 hw.acpi.thermal.tz1._CRT: 97.0C hw.acpi.thermal.tz1._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.battery.life: 96 hw.acpi.battery.time: -1 hw.acpi.battery.state: 0 hw.acpi.battery.units: 1 hw.acpi.battery.info_expire: 5 hw.acpi.acline: 1 # sysctl dev.cpu dev.cpu.0.%desc: ACPI CPU dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=\_PR_.CPU0 dev.cpu.0.%pnpinfo: _HID=none _UID=0 dev.cpu.0.%parent: acpi0 dev.cpu.0.temperature: 60 dev.cpu.0.freq: 125 dev.cpu.0.freq_levels: 1667/31000 1458/27125 1333/22000 1166/19250 1000/13000 875/11375 750/9750 625/8125 500/6500 375/4875 250/3250 125/1625 dev.cpu.0.cx_supported: C1/1 C2/1 C3/17 dev.cpu.0.cx_lowest: C2 dev.cpu.0.cx_usage: 0.00% 100.00% 0.00% dev.cpu.1.%desc: ACPI CPU dev.cpu.1.%driver: cpu dev.cpu.1.%location: handle=\_PR_.CPU1 dev.cpu.1.%pnpinfo: _HID=none _UID=0 dev.cpu.1.%parent: acpi0 dev.cpu.1.temperature: 62 dev.cpu.1.cx_supported: C1/1 C2/1 C3/17 dev.cpu.1.cx_lowest: C2 dev.cpu.1.cx_usage: 0.00% 100.00% 0.00% that is now the output without enabling Alexandre's patch. Hope it tells you something. Best regards, Johannes