From owner-freebsd-mobile@FreeBSD.ORG Tue Apr 15 13:02:52 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAE7F1065670 for ; Tue, 15 Apr 2008 13:02:52 +0000 (UTC) (envelope-from dan@langille.org) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) by mx1.freebsd.org (Postfix) with ESMTP id 582848FC26 for ; Tue, 15 Apr 2008 13:02:52 +0000 (UTC) (envelope-from dan@langille.org) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id 544BC509A4; Tue, 15 Apr 2008 14:02:47 +0100 (BST) X-Virus-Scanned: amavisd-new at unixathome.org Received: from nyi.unixathome.org ([127.0.0.1]) by localhost (nyi.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Fn9sjYWjYRSa; Tue, 15 Apr 2008 14:02:41 +0100 (BST) Received: from [192.168.80.128] (ismtp.afilias.com [216.217.55.254]) by nyi.unixathome.org (Postfix) with ESMTPSA id 5B4B950841; Tue, 15 Apr 2008 14:02:40 +0100 (BST) Message-ID: <4804A739.2090403@langille.org> Date: Tue, 15 Apr 2008 09:01:45 -0400 From: Dan Langille Organization: The FreeBSD Diary User-Agent: Thunderbird 2.0.0.12 (X11/20080326) MIME-Version: 1.0 To: Norberto Meijome References: <480240AB.9080003@langille.org> <20080415163843.1f899be5@meijome.net> In-Reply-To: <20080415163843.1f899be5@meijome.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: setting dev.acpi_ibm.0.events at boot time X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2008 13:02:52 -0000 Norberto Meijome wrote: > On Sun, 13 Apr 2008 13:19:39 -0400 > Dan Langille wrote: > >> I'm trying to set dev.acpi_ibm.0.events to 1. I'm failing. I can set >> it from the command line: > [...] >> I have tried /etc/sysctl.conf: >> >> $ grep ibm /etc/sysctl.conf >> dev.acpi_ibm.0.events=1 >> >> and /boot/loader.conf: >> >> $ grep ibm /boot/loader.conf >> acpi_ibm_load="YES" >> dev.acpi_ibm.0.events="1" >> >> Neither of which result in the desired results. > > hi Dan, > > sysctl.conf works ok for me: > > # Needed for custom ACPI control > # This will pass ACPI events to devd after acpi_ibm. > # Custom devd config can be found in /usr/local/etc/devd > dev.acpi_ibm.0.events=1 > > BUT i clearly remember that a few times, after rebuilding kernel (or world?) > events wouldn't be set, as it is the case with you. It hasn't happened for a > while..and I don't remember if it was on 6 or 7... > > it just got fixed by building kernel again, i think... No new kernel here. But it works no. Not sure how or why, but it's working now. -- Dan Langille BSDCan - The Technical BSD Conference : http://www.bsdcan.org/ PGCon - The PostgreSQL Conference: http://www.pgcon.org/