From owner-freebsd-current@FreeBSD.ORG Tue Mar 24 21:14:53 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0DD010656CE; Tue, 24 Mar 2009 21:14:53 +0000 (UTC) (envelope-from mcdouga9@egr.msu.edu) Received: from mx.egr.msu.edu (surfnturf.egr.msu.edu [35.9.37.164]) by mx1.freebsd.org (Postfix) with ESMTP id B70508FC14; Tue, 24 Mar 2009 21:14:53 +0000 (UTC) (envelope-from mcdouga9@egr.msu.edu) Received: from localhost (localhost [127.0.0.1]) by mx.egr.msu.edu (Postfix) with ESMTP id DF1C471F0BE; Tue, 24 Mar 2009 17:14:52 -0400 (EDT) X-Virus-Scanned: amavisd-new at egr.msu.edu Received: from mx.egr.msu.edu ([127.0.0.1]) by localhost (surfnturf.egr.msu.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iy4SFg2Bdhot; Tue, 24 Mar 2009 17:14:52 -0400 (EDT) Received: from [35.9.44.65] (daemon.egr.msu.edu [35.9.44.65]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mcdouga9) by mx.egr.msu.edu (Postfix) with ESMTPSA id BC03671EF69; Tue, 24 Mar 2009 17:14:52 -0400 (EDT) Message-ID: <49C94D4C.5050104@egr.msu.edu> Date: Tue, 24 Mar 2009 17:14:52 -0400 From: Adam McDougall User-Agent: Thunderbird 2.0.0.21 (X11/20090324) MIME-Version: 1.0 References: <1236802980.00085518.1236789602@10.7.7.3> <200903162053.28614.jkim@FreeBSD.org> <179b97fb0903231416j4659101eu88dcc5ecf578167b@mail.gmail.com> <200903231728.46911.jkim@FreeBSD.org> <179b97fb0903232306y548144dx94836b534d9441dd@mail.gmail.com> In-Reply-To: <179b97fb0903232306y548144dx94836b534d9441dd@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, Jung-uk Kim Subject: Re: [HEADSUP] amd64 suspend/resume code to be comitted X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2009 21:14:56 -0000 Brandon Gooch wrote: > On Mon, Mar 23, 2009 at 4:28 PM, Jung-uk Kim wrote: > >> On Monday 23 March 2009 05:16 pm, Brandon Gooch wrote: >> >>> The committed version is working well, I am suspending and resuming >>> on my Lenovo X300. Thanks for your work on this, it is one of the >>> major things I needed to work so I could run FreeBSD primarily on >>> my notebook. >>> > I just finished a kernel build and it seems as though your > recent commits have fixed the clock (at least for me)! > > I feel sorry for all the i386 folks on ACPI notebooks... > > Thanks! > > -Brandon > Picking a semi-random message here.. Thanks for your work on this! In the past (months ago) I tried the patch set which didn't work, but the code in -current lets me suspend and resume successfully on my Dell Latitude E6500 (acpiconf -s 3)! I think this is a first for me, of all the laptops I've had, none have ever been able to suspend and resume in a successful or useful way, and I've been jealous of the Thinkpad users that could claim otherwise. I could suspend and resume fine while in the console, then I ran startx and the suspend and resume worked while I was in X with intel graphics, however my system was slow after that resume. I didn't spend much time looking at it since I was at work, and I didn't see any obvious reasons for the slowness (cpu frequency was fine, cx states were C2 or lower (C1), top showed mostly idle, no evidence of an IRQ storm) yet processes ran fairly sluggish (not the mouse or typing though). I didn't go back to console, I just shut down without trying any other situations yet. A tip I want to note for any users who may not have success with their screen on resume: In the past it seemed to help me to have a power-on password set in my BIOS since the BIOS will turn on the screen on resume to ask me for my password. I don't know if it is still helping me, but I've seen in the past where it has.