Trouble with APM suspend in 5.3-R
Jens Giessmann
jg at handcode.de
Mon Jan 31 04:23:48 PST 2005
Hi,
On Mon, Jan 31, 2005 at 10:57:15AM +0300, Gleb Smirnoff wrote:
>
> btw, did suspend/resume work in 5.2.1-RELEASE?
>
Yes. On my thinkpad-T21 with 5.2.1-RELEASE APM suspend/resume had
worked after editing /etc/apmd.conf switching to ttyv0 before suspend
and back to ttyv8 after resume. (apm -z from the X-tty causes a lockup
too).
--------------------------------schnipp-----------------------------
apm_event SUSPENDREQ {
exec "vidcontrol -s 1 > /dev/console";
exec "sleep 1";
exec "/etc/rc.suspend";
}
apm_event USERSUSPENDREQ {
exec "vidcontrol -s 1 > /dev/console";
exec "sleep 1";
exec "sync && sync && sync";
exec "sleep 1";
exec "apm -z";
}
apm_event NORMRESUME, STANDBYRESUME {
exec "/etc/rc.resume";
exec "vidcontrol -s 9 > /dev/console";
}
--------------------------------schnapp-----------------------------
--
Gruss Jens
More information about the freebsd-mobile
mailing list