acpi_dock and devd question

Mitsuru IWASAKI iwasaki at jp.FreeBSD.org
Fri Feb 1 11:18:37 PST 2008


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



More information about the freebsd-mobile mailing list