Re: Trouble with APM suspend in 5.3-R

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