Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Feb 2008 03:47:30 +0900 (JST)
From:      Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org>
To:        vova@fbsd.ru
Cc:        mobile@FreeBSD.org, freebsd-mobile@vbook.fbsd.ru
Subject:   Re: acpi_dock and devd question
Message-ID:  <20080202.034730.41627476.iwasaki@jp.FreeBSD.org>
In-Reply-To: <1201865504.3428.7.camel@localhost>
References:  <1201865504.3428.7.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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