From owner-freebsd-questions@FreeBSD.ORG Sat Jan 19 16:07:19 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A204B9C for ; Sat, 19 Jan 2013 16:07:19 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) by mx1.freebsd.org (Postfix) with ESMTP id 43B00224 for ; Sat, 19 Jan 2013 16:07:19 +0000 (UTC) Received: from [78.35.133.73] (helo=fabiankeil.de) by smtprelay01.ispgateway.de with esmtpsa (SSLv3:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1Twawv-00086w-R5; Sat, 19 Jan 2013 17:07:17 +0100 Date: Sat, 19 Jan 2013 17:07:07 +0100 From: Fabian Keil To: Xavier Subject: Re: laptop fan control via FreeBSD Message-ID: <20130119170707.1aa3a8ee@fabiankeil.de> In-Reply-To: References: <20130119151358.535d6b9f@fabiankeil.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/ecDe+cRksfi/os5pmWx+OAW"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: freebsd-questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jan 2013 16:07:19 -0000 --Sig_/ecDe+cRksfi/os5pmWx+OAW Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Xavier wrote: > On Sat, Jan 19, 2013 at 03:13:58PM +0100, Fabian Keil wrote: >=20 > Hi Fabian, >=20 > > Xavier wrote: > > > > > Is there any way to control the on and off the fan on a laptop using = FreeBSD? > > > > It depends on the laptop. On mine it works: > > > > fk@r500 ~ $sysctl -ad | grep fan > > dev.acpi_ibm.0.fan_speed: Fan speed > > dev.acpi_ibm.0.fan_level: Fan level > > dev.acpi_ibm.0.fan: Fan enable > > >=20 > My output of 'sysctl -ad | grep fan' don't show these parameters. Why ? > Because, my BIOS don't support these aparameters ? Another answer ? acpi_ibm(4) is a kernel module that isn't loaded by default. Depending on your hardware you may have to kldload a different module. You could try: ls /boot/kernel/acpi_*.ko and then kldload the module you think makes sense for your hardware. Note that not all modules have fan control, though. As I only use IBM and Lenovo laptops I'm not familiar with the other modules. Fabian --Sig_/ecDe+cRksfi/os5pmWx+OAW Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlD6xLUACgkQBYqIVf93VJ1w8gCgtWarsQGM3T/SwzgxWRH0ApHm ZFEAn0SJR3GcG1zcS+puL6jd2ZOtt9HJ =5YV/ -----END PGP SIGNATURE----- --Sig_/ecDe+cRksfi/os5pmWx+OAW--