From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 30 04:23:40 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C25E16A4CE for ; Tue, 30 Mar 2004 04:23:40 -0800 (PST) Received: from prg.traveller.cz (prg.traveller.cz [193.85.2.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D11543D41 for ; Tue, 30 Mar 2004 04:23:39 -0800 (PST) (envelope-from mime@traveller.cz) Received: from prg.traveller.cz (localhost [127.0.0.1]) i2UCNcKh099694; Tue, 30 Mar 2004 14:23:38 +0200 (CEST) Received: from localhost (mime@localhost)i2UCNcMd099691; Tue, 30 Mar 2004 14:23:38 +0200 (CEST) Date: Tue, 30 Mar 2004 14:23:37 +0200 (CEST) From: Michal Mertl To: Toxa In-Reply-To: <761151245.20040330010145@sendmail.ru> Message-ID: <20040330141934.T11208@prg.traveller.cz> References: <761151245.20040330010145@sendmail.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-mobile@freebsd.org Subject: Re: does freebsd has something like acpid? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2004 12:23:40 -0000 On Tue, 30 Mar 2004, Toxa wrote: > Hello > > Maybe my question is quite stupid but I still can't work it out. > You know, in linux we have acpid daemon and a couple of scripts in > /etc/acpid. So, when any acpi state changes (due to closing laptop lid, for > example), acpid detects it via proc interface and executes appropriate > script (turning off the lid, for example). But as far as I know freebsd has > no any userland acpi daemon, so I can't imagine how, for example, > ajust lid brightness according to plugging/unplugging AC cable, etc. > So wouls you mind to point how to handle acpi changes in freebsd? On current, there is /sbin/devd, which can handle acpi state changes. Look at /etc/devd.conf. > -- > Best regards, > Toxa mailto:postfix@sendmail.ru > -- Michal Mertl