From owner-freebsd-acpi@FreeBSD.ORG Thu Jan 1 16:26:28 2009 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 D4342106566C for ; Thu, 1 Jan 2009 16:26:28 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.248]) by mx1.freebsd.org (Postfix) with ESMTP id 89B588FC18 for ; Thu, 1 Jan 2009 16:26:28 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: by an-out-0708.google.com with SMTP id c2so2184756anc.13 for ; Thu, 01 Jan 2009 08:26:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=8ryTTrEdp8a+Kkz+MUKyZ6drqo8a6tTdX2V/iX3ya9c=; b=qeON/S2HgH7qIeqzDpLMNG4718tpjaWsvnInZQYQphCZXj3Uyf+VihGtIVpXWxsflL dpJyvoCNF1C0f6KotOI9v13nushXhVdRWJkN9/mr8qIDpyB+99mgLYAjPCOPKImGdFrk ZQKZPfbcLxvMXllOSOAXsHwQNsUnASyihuptk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=GUqnXhzecIhVSWk0I/IkPyFDm6Sw8orlxO4xhxxG1oIIL97HLp+Ga1iYLiAmWXoAZi QllDdhDWaU95WXWY4mCciQnXkEqHVtSAuPuYFOVIITOcAgBP19yo2GTPxe4sAP7x8+ON p06zBr617L3IQiMmBoP4UcxEKsyNrqJY3wSWc= Received: by 10.100.6.16 with SMTP id 16mr9435397anf.108.1230825728731; Thu, 01 Jan 2009 08:02:08 -0800 (PST) Received: from ?10.0.3.231? (pool-70-111-173-38.nwrk.east.verizon.net [70.111.173.38]) by mx.google.com with ESMTPS id b7sm24321079ana.11.2009.01.01.08.02.07 (version=SSLv3 cipher=RC4-MD5); Thu, 01 Jan 2009 08:02:08 -0800 (PST) From: "Alexandre \"Sunny\" Kovalenko" To: "J.R. Oldroyd" In-Reply-To: <20081230185743.12fd1c3a@avera> References: <20081230185743.12fd1c3a@avera> Content-Type: text/plain; charset=utf-8 Date: Thu, 01 Jan 2009 11:01:53 -0500 Message-Id: <1230825713.1182.10.camel@RabbitsDen> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: freebsd-acpi@freebsd.org Subject: Re: ACPI issues on Averatec 3250 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: Thu, 01 Jan 2009 16:26:29 -0000 On Tue, 2008-12-30 at 18:57 -0500, J.R. Oldroyd wrote: > I have just put 7-stable on an Averatec 3250HX laptop. Three things > connected with ACPI do not work as they should. > [skip] > 2. Thermal Zone > The thermal zone reporting is not working. > From the boot info: > acpi_tz0: on acpi0 > But sysctl info: > hw.acpi.thermal.min_runtime: 0 > hw.acpi.thermal.polling_rate: 10 > hw.acpi.thermal.user_override: 0 > hw.acpi.thermal.tz0.temperature: 0.0C > hw.acpi.thermal.tz0.active: -1 > hw.acpi.thermal.tz0.passive_cooling: 1 > hw.acpi.thermal.tz0.thermal_flags: 0 > hw.acpi.thermal.tz0._PSV: 90.0C > hw.acpi.thermal.tz0._HOT: -1 > hw.acpi.thermal.tz0._CRT: 110.0C > hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 > hw.acpi.thermal.tz0._TC1: 2 > hw.acpi.thermal.tz0._TC2: 4 > hw.acpi.thermal.tz0._TSP: 30 > About four years ago I have cobbled together thermal zones for Averatec 3150H. Quick look at you ASL shows that they still adjust fan speed using RTEP() function, which, in turn, gets called from (off all places) _PSV. The trick is to break RTEP() into pieces at different temperature levels, create fan devices and plug them into proper _ACx. I still have modified ASL laying around, but no longer have access to the laptop to make a diff with the original. If you are interested, I can send you ASL off list -- it should not be that hard to follow, especially if you keep thermal chapter of the ACPI spec close at hand (it is about 13 pages long). Let me know. -- Alexandre "Sunny" Kovalenko (Олександр Коваленко)