From owner-freebsd-current@FreeBSD.ORG Wed Jan 26 01:41:33 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CD7116A4CE for ; Wed, 26 Jan 2005 01:41:33 +0000 (GMT) Received: from out007.verizon.net (out007pub.verizon.net [206.46.170.107]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1F0043D53 for ; Wed, 26 Jan 2005 01:41:32 +0000 (GMT) (envelope-from Alex.Kovalenko@verizon.net) Received: from RabbitsDen ([70.21.161.195]) by out007.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20050126014131.CNQF21228.out007.verizon.net@RabbitsDen>; Tue, 25 Jan 2005 19:41:31 -0600 From: "Alexandre \"Sunny\" Kovalenko" To: Paolo Pisati In-Reply-To: <20050124211322.GA1689@tin.it> References: <1106435719.659.6.camel@RabbitsDen> <20050124211322.GA1689@tin.it> Content-Type: text/plain; charset=iso-8859-5 Date: Tue, 25 Jan 2005 20:40:13 -0500 Message-Id: <1106703613.861.10.camel@RabbitsDen> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit X-Authentication-Info: Submitted using SMTP AUTH at out007.verizon.net from [70.21.161.195] at Tue, 25 Jan 2005 19:41:27 -0600 cc: current@freebsd.org Subject: Re: Notebook fan stuck on? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jan 2005 01:41:33 -0000 On Mon, 2005-01-24 at 22:13 +0100, Paolo Pisati wrote: > On Sat, Jan 22, 2005 at 06:15:19PM -0500, Alexandre Sunny Kovalenko wrote: > > What does > > > > sysctl hw.acpi.thermal > > > > say? > > what if i have the same problem but no hw.acpi.thermal? > > [flag@southcross flag]$ sysctl -a | grep thermal > [flag@southcross flag]$ > > [flag@southcross flag]$ sysctl hw.acpi > hw.acpi.supported_sleep_state: S1 S3 S4 S5 > hw.acpi.power_button_state: S5 > hw.acpi.sleep_button_state: S1 > 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.reset_video: 1 > hw.acpi.cpu.throttle_max: 8 > hw.acpi.cpu.throttle_state: 8 > hw.acpi.cpu.cx_supported: C1/0 C2/90 > hw.acpi.cpu.cx_lowest: C2 > hw.acpi.cpu.cx_usage: 3.41% 96.58% > hw.acpi.acline: 1 > hw.acpi.battery.life: 100 > hw.acpi.battery.time: 212 > hw.acpi.battery.state: 1 > hw.acpi.battery.units: 1 > hw.acpi.battery.info_expire: 5 > [flag@southcross flag]$ > > [flag@southcross flag]$ kldstat > Id Refs Address Size Name > 1 33 0xc0400000 349c78 kernel > 2 1 0xc074a000 547c vesa.ko > 3 1 0xc0750000 10c0c msdosfs.ko > 4 2 0xc0761000 1aa14 miibus.ko > 5 1 0xc077c000 73d8 if_rl.ko > 6 1 0xc0784000 9378 snd_maestro3.ko > 7 1 0xc078e000 4338 acpi_video.ko > 8 17 0xc0793000 5eff8 acpi.ko > 9 1 0xc07f2000 4194 acpi_asus.ko > 10 1 0xc07f7000 895c aio.ko > 11 1 0xc0800000 15918 netgraph.ko > 12 1 0xc1717000 6000 linprocfs.ko > 13 1 0xc172c000 1a000 linux.ko > 14 1 0xc1b2f000 1a000 radeon.ko > 15 1 0xc1b49000 11000 agp.ko > [flag@southcross flag]$ I believe it means that your ASL does not define ThermalZone object. You might be able to cobble together one yourself by looking at the example in the ACPI spec (12.5.1 on page 292 in version 2.0c), provided that you can figure out how to measure temperature and how to control fan from the rest of your ASL. I was lucky and stumbled over both while looking through it. Your mileage may vary. Also, I had ThermalZone to start with, so I only had to define fan devices and ACx, ALx objects, hence I really could not offer much help on building thermal zone from scratch. Sorry. -- Alexandre "Sunny" Kovalenko (Олександр Коваленко)