From owner-freebsd-questions@FreeBSD.ORG Sun Jan 20 08:24:16 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 37ECEE53 for ; Sun, 20 Jan 2013 08:24:16 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id E4FED6F0 for ; Sun, 20 Jan 2013 08:24:15 +0000 (UTC) Received: from r56.edvax.de (port-92-195-45-17.dynamic.qsc.de [92.195.45.17]) by mx02.qsc.de (Postfix) with ESMTP id 1E77A24CF4; Sun, 20 Jan 2013 09:24:13 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r0K8OGKh001914; Sun, 20 Jan 2013 09:24:16 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 20 Jan 2013 09:24:16 +0100 From: Polytropon To: Xavier Subject: Re: laptop fan control via FreeBSD Message-Id: <20130120092416.87941a04.freebsd@edvax.de> In-Reply-To: References: <20130119151358.535d6b9f@fabiankeil.de> <20130119170436.e9dc8606.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2013 08:24:16 -0000 On Sat, 19 Jan 2013 18:19:39 +0100, Xavier wrote: > On Sat, Jan 19, 2013 at 05:04:36PM +0100, Polytropon wrote: > > Hi Polytropon, > > > On Sat, 19 Jan 2013 16:55:23 +0100, Xavier wrote: > > > On Sat, Jan 19, 2013 at 03:13:58PM +0100, Fabian Keil wrote: > > > > > > Hi Fabian, > > > > > > > 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 > > > > > > > > > > My output of 'sysctl -ad | grep fan' don't show these parameters. Why ? > > > Because, my BIOS don't support these aparameters ? Another answer ? > > > > For laptops, you usually load a kernel module for interfacing > > with the specific ACPI functions, like acpi_ibm.ko. There are > > several others, but see "man acpi_ibm" for some impressions. > > > > Yes, but I have an acer Aspire 5634WLMi, and: > > % ls /boot/kernel/acpi* > /boot/kernel/acpi_asus.ko /boot/kernel/acpi_panasonic.ko > /boot/kernel/acpi_asus.ko.symbols > /boot/kernel/acpi_panasonic.ko.symbols > /boot/kernel/acpi_dock.ko /boot/kernel/acpi_sony.ko > /boot/kernel/acpi_dock.ko.symbols > /boot/kernel/acpi_sony.ko.symbols > /boot/kernel/acpi_fujitsu.ko /boot/kernel/acpi_toshiba.ko > /boot/kernel/acpi_fujitsu.ko.symbols > /boot/kernel/acpi_toshiba.ko.symbols > /boot/kernel/acpi_hp.ko /boot/kernel/acpi_video.ko > /boot/kernel/acpi_hp.ko.symbols > /boot/kernel/acpi_video.ko.symbols > /boot/kernel/acpi_ibm.ko /boot/kernel/acpi_wmi.ko > /boot/kernel/acpi_ibm.ko.symbols /boot/kernel/acpi_wmi.ko.symbols > > I don't have an acer kernel module for ACPI. Two options: If you can derive from the documentation of your Acer laotop if it is _compatible_ to one of the implementations provided by the system, use that instead. You can do "trial & error" to see if one of the modules works, even though the name is different. In worst case, load them all (by using * wildcard) and check with "kldstat". -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...