From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 30 09:03:50 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 15FEC16A4CF for ; Tue, 30 Mar 2004 09:03:50 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id A968943D31 for ; Tue, 30 Mar 2004 09:03:49 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.10/8.12.9) with ESMTP id i2UH3mkj010068; Tue, 30 Mar 2004 10:03:48 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 30 Mar 2004 10:04:04 -0700 (MST) Message-Id: <20040330.100404.27798737.imp@bsdimp.com> To: postfix@sendmail.ru From: "M. Warner Losh" In-Reply-To: <761151245.20040330010145@sendmail.ru> References: <761151245.20040330010145@sendmail.ru> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 17:03:50 -0000 In message: <761151245.20040330010145@sendmail.ru> Toxa writes: : 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? devd has been growing support to do that in -current. Warner