ACPI suspend/resume hooks?

Dan Pelleg daniel+bsdm at pelleg.org
Mon Nov 8 06:27:08 PST 2004


I recently ran into some problem which I thought would be solved by running
a script on resume. It turns out that the proper solution does not require
that, but while trying, I discovered I can't seem to hook anything to be
run on resume. Whatever I place in /etc/rc.resume is not executed. I see a
"wakeup" line in the log, but I can't figure out what generates it. This is
on 5.3-beta5.

What is the proper way to hook stuff into suspend/resume? The examples in
/etc/devd.conf don't seem to cover this.

-- 

  Dan Pelleg


More information about the freebsd-mobile mailing list