From owner-freebsd-mobile@FreeBSD.ORG Fri Feb 1 19:18:36 2008 Return-Path: Delivered-To: mobile@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF8EA16A417 for ; Fri, 1 Feb 2008 19:18:36 +0000 (UTC) (envelope-from iwasaki@jp.FreeBSD.org) Received: from locore.org (ns01.locore.org [218.45.21.227]) by mx1.freebsd.org (Postfix) with ESMTP id 75E2213C467 for ; Fri, 1 Feb 2008 19:18:36 +0000 (UTC) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (celeron.v4.locore.org [192.168.0.10]) by locore.org (8.13.8/8.13.8/iwasaki) with ESMTP/inet id m11IlZH6015712; Sat, 2 Feb 2008 03:47:36 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Date: Sat, 02 Feb 2008 03:47:30 +0900 (JST) Message-Id: <20080202.034730.41627476.iwasaki@jp.FreeBSD.org> To: vova@fbsd.ru From: Mitsuru IWASAKI In-Reply-To: <1201865504.3428.7.camel@localhost> References: <1201865504.3428.7.camel@localhost> X-Mailer: Mew version 3.3 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: mobile@FreeBSD.org, freebsd-mobile@vbook.fbsd.ru Subject: Re: acpi_dock and devd question 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: Fri, 01 Feb 2008 19:18:37 -0000 Hi, > Is there any way to get devd events on dock plug/unplug ? Please try paches at: http://people.freebsd.org/~iwasaki/acpi/acpi_dock_devd.diff and you can write a statement in devd.conf like this. notify 10 { match "system" "ACPI"; match "subsystem" "DOCK"; action "/etc/acpi_dock $notify"; }; ($notify=0x00 is undocked, 0x01 is docked) Thanks