From: "Andrew McMillan" <[EMAIL PROTECTED]> > Unfortunately the ACPI handling is not fully mature yet, so the script > doesn't do a run-parts... on some directory to let other packages more > easily hook into it. (Hmmmm... maybe I feel a wishlist bug coming on... > :-) >
Well, it's pretty trivial. The default.sh as distributed doesn't do anything except shut down cleanly when the power button is pressed. Everything else is up to the individual user. So, resume your PC, go to the log and look at exactly what message was sent, go back to default.sh add a line in the "case $1" statement to handle whatever value is in the first (and possibly second) word of the event and do run-parts on /etc/acpi/resume.d Then send a diff to the maintainer :-) The problem, and likely reason why it hasn't been done, is that it's difficult for acpid to know what all the values in the event are. As you see in the current default.sh, it already has two options for the power button "power" and "PBTN", but the real value is defined in the machine's DSDT table (in BIOS - mine is PWRF). I'd do it myself, except that I can't get suspend/resume working on my machine... -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]