From owner-freebsd-mobile@FreeBSD.ORG Sun Dec 10 22:31:41 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ED23616A4A7 for ; Sun, 10 Dec 2006 22:31:41 +0000 (UTC) (envelope-from rj@moxad.com) Received: from smtp109.rog.mail.re2.yahoo.com (smtp109.rog.mail.re2.yahoo.com [68.142.225.207]) by mx1.FreeBSD.org (Postfix) with SMTP id BA0ED4460E for ; Sun, 10 Dec 2006 22:10:38 +0000 (GMT) (envelope-from rj@moxad.com) Received: (qmail 36768 invoked from network); 10 Dec 2006 22:11:34 -0000 Received: from unknown (HELO server2.moxad.com) (rjwhite@rogers.com@74.99.241.165 with login) by smtp109.rog.mail.re2.yahoo.com with SMTP; 10 Dec 2006 22:11:34 -0000 X-YMail-OSG: 6MWreIwVM1nsbCvjzcBgMbhSWbX9d.zZ6K.HpKB4hpgwsY_IAvHEFsaJy3XTdgAtMcLxA.uuEgh5pBteG8eTyKNWft2egawl4W3BbeR0WQCCB0G.la8RWPw0FT6CHy0.UnIfFK6KtaU_tCfEvKihhGisNVuyNO8Ebc6nQcUsWSz752YFyJIgwa8EpYfu Received: by server2.moxad.com (Postfix, from userid 1000) id 610BA353210; Sun, 10 Dec 2006 17:14:40 -0500 (EST) Date: Sun, 10 Dec 2006 17:14:40 -0500 From: RJ White To: freebsd-mobile@freebsd.org Message-ID: <20061210221440.GA49840@server2.moxad.com> References: <20061210072744.GA94138@server2.moxad.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: Ian Smith Subject: Re: suspend using APM on a Sony PCG-F350 with FreeBSD 6.1 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Dec 2006 22:31:42 -0000 To add some more data to my problem after trying Ian Smith's suggestions : Yes, I have : apm_enable="YES" apmd_enable="YES" set in /etc/rc.conf. During boot, I see : Starting apmd. There are no errors in /var/log/messages, only : Dec 10 16:46:36 laptop2 kernel: apm0: on motherboard Dec 10 16:46:36 laptop2 kernel: apm0: found APM BIOS v1.2, connected at v1.2 Dec 10 16:46:45 laptop2 apmd[471]: start I tried : hw.syscons.sc_no_suspend_vtswitch=1 in /etc/sysctl.conf. It's seen during boot and reports : hw.syscons.sc_no_suspend_vtswitch: 0 -> 1 and trying suspend (zzz) from a normal vty (not in X), caused no response. When I tried to switch vty's, my cursor disappeared. Eventually trying another vty switch caused the constant beep and I had to power-cycle. I then tried it from X, and whether I uncommented the usb entries in /etc/{rc.resume,rc.suspend} or not, as Ian suggested, when I did a zzz, nothing seemed to happen (although 2 out of 3 times, I detected a flicker (1/10 sec) of a 1-pixel horizontal line across my screen), and my mouse went dead. It is a NON-usb mouse. My shell was still ok. ie: a 'echo hi' worked. But as soon as I tried something that required a disk-access, like running my 'fix-moused' script, or 'who', then it hung. Trying to switch to another vty caused the constant beep and then I power-cycle again. Once when my xterm was still active with dead mouse and I was typing, a lower frequency constant beep (I'll call it a boop) happened, until I tried a vty switch, when the constant boop got replaced with a higher frequency constant beep. thanx for any and all help! cheers, -rj