Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2008 09:01:45 -0400
From:      Dan Langille <dan@langille.org>
To:        Norberto Meijome <freebsd@meijome.net>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: setting dev.acpi_ibm.0.events at boot time
Message-ID:  <4804A739.2090403@langille.org>
In-Reply-To: <20080415163843.1f899be5@meijome.net>
References:  <480240AB.9080003@langille.org> <20080415163843.1f899be5@meijome.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Norberto Meijome wrote:
> On Sun, 13 Apr 2008 13:19:39 -0400
> Dan Langille <dan@langille.org> 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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4804A739.2090403>