Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Jan 2005 13:23:43 +0100
From:      Jens Giessmann <jg@handcode.de>
To:        Gleb Smirnoff <glebius@freebsd.org>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Trouble with APM suspend in 5.3-R
Message-ID:  <20050131122343.GE372@shack.handcode.de>
In-Reply-To: <20050131075715.GA13067@cell.sick.ru>
References:  <41F02F9A.40201@acm.org> <41F0A398.7080800@orel.ru> <41F4C6BD.4060406@acm.org> <41F4D7EE.9030108@orel.ru> <41F8C5EA.3040007@acm.org> <20050127140010.GA82418@cell.sick.ru> <41F94FAA.2070307@acm.org> <20050128075144.GA88243@cell.sick.ru> <41FCD342.2040905@acm.org> <20050131075715.GA13067@cell.sick.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050131122343.GE372>