From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 29 13:03:37 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 382F216A4CE for ; Mon, 29 Mar 2004 13:03:37 -0800 (PST) Received: from mail.comita.spb.ru (mail.comita.spb.ru [213.182.169.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id B434F43D41 for ; Mon, 29 Mar 2004 13:03:34 -0800 (PST) (envelope-from postfix@sendmail.ru) Received: by mail.comita.spb.ru (Postfix, from userid 1116) id 803831A883; Tue, 30 Mar 2004 01:03:33 +0400 (MSD) Received: from localhost (ppp-dialup-5.atcom.spb.ru [213.182.168.5]) by mail.comita.spb.ru (Postfix) with ESMTP id E75551A870 for ; Tue, 30 Mar 2004 01:03:31 +0400 (MSD) X-AntiVirus: Checked by Dr.Web [version: 4.31a, engine: 4.31b, virus records: 47965, updated: 29.03.2004] Date: Tue, 30 Mar 2004 01:01:45 +0400 From: Toxa Organization: toxahost X-Priority: 3 (Normal) Message-ID: <761151245.20040330010145@sendmail.ru> To: freebsd-mobile@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam: Ham, tests=bogofilter, spamicity=0.00e+00, version=0.17.2 Subject: does freebsd has something like acpid? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Toxa List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2004 21:03:37 -0000 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? -- Best regards, Toxa mailto:postfix@sendmail.ru