Re: acpi_dock and devd question

Mitsuru IWASAKI <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
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

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.