From owner-freebsd-mobile@FreeBSD.ORG Tue Apr 15 07:05:38 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 91D24106566B for ; Tue, 15 Apr 2008 07:05:38 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 41AE38FC22 for ; Tue, 15 Apr 2008 07:05:37 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 10257 invoked from network); 15 Apr 2008 01:38:56 -0500 Received: from 124-170-157-70.dyn.iinet.net.au (HELO localhost) (124.170.157.70) by sigma.octantis.com.au with (DHE-RSA-AES128-SHA encrypted) SMTP; 15 Apr 2008 01:38:55 -0500 Date: Tue, 15 Apr 2008 16:38:43 +1000 From: Norberto Meijome To: Dan Langille Message-ID: <20080415163843.1f899be5@meijome.net> In-Reply-To: <480240AB.9080003@langille.org> References: <480240AB.9080003@langille.org> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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 07:05:38 -0000 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... _________________________ {Beto|Norberto|Numard} Meijome "All that is necessary for the triumph of evil is that good men do nothing." Edmund Burke I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.