From owner-freebsd-mobile@FreeBSD.ORG Mon Jan 31 12:23:47 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0DE216A4CE; Mon, 31 Jan 2005 12:23:47 +0000 (GMT) Received: from mail.LF.net (mail.LF.net [212.9.160.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A0B743D39; Mon, 31 Jan 2005 12:23:47 +0000 (GMT) (envelope-from jg@shack.handcode.de) Received: from pd95e6be7.dip.t-dialin.net ([217.94.107.231] helo=shack.handcode.de) by mail.LF.net with esmtp (Exim 4.41) id 1Cvaan-000BmL-W0; Mon, 31 Jan 2005 13:23:46 +0100 Received: from jg by shack.handcode.de with local (Exim 4.43 (FreeBSD)) id 1Cvaal-000159-Sd; Mon, 31 Jan 2005 13:23:43 +0100 Date: Mon, 31 Jan 2005 13:23:43 +0100 From: Jens Giessmann To: Gleb Smirnoff Message-ID: <20050131122343.GE372@shack.handcode.de> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050131075715.GA13067@cell.sick.ru> User-Agent: Mutt/1.4.2.1i Sender: Jens Giessmann cc: Andrew Belashov cc: Dave Walton cc: freebsd-mobile@freebsd.org Subject: Re: Trouble with APM suspend in 5.3-R X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jens Giessmann List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jan 2005 12:23:48 -0000 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