From owner-freebsd-current@FreeBSD.ORG Thu Mar 26 17:04:55 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 9E7C510656C3; Thu, 26 Mar 2009 17:04:54 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: Sam Leffler Date: Thu, 26 Mar 2009 13:04:44 -0400 User-Agent: KMail/1.6.2 References: <1236802980.00085518.1236789602@10.7.7.3> <200903251833.14825.jkim@FreeBSD.org> <49CBAC3C.600@freebsd.org> In-Reply-To: <49CBAC3C.600@freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200903261304.47702.jkim@FreeBSD.org> Cc: freebsd-current@freebsd.org Subject: Re: [HEADSUP] amd64 suspend/resume code to be comitted [more successes] 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: Thu, 26 Mar 2009 17:04:57 -0000 On Thursday 26 March 2009 12:24 pm, Sam Leffler wrote: > FWIW I've tried this on 2 amd64 laptops w/ fairly good success. > Both are running HEAD as of yesterday and have latest ports builds. > > Intel T61P (SMP) running gnome2 suspends+resumes with > hw.acpi.reset_video=1. I had to restart moused on resume to get > the touchpad back but usb did not come back (usbconfig shows the > hubs but no devices and devices do not enumerate on re-attach). Some touchpads require reinitialization while resuming. See sys/dev/atkbdc/psm.c and look for PSM_CONFIG_HOOKRESUME and PSM_CONFIG_INITAFTERSUSPEND flags and some code arround PSM_RESETAFTERSUSPEND. usb2 stack seems to have resuming issues but I didn't care much about it because the stack itself is a moving target ATM. ;-) > HP6125 (UP) running kde4 suspends+resumes w/o any tweaks. USB came > back on this machine but the touchpad did not (haven't tried > restarting moused yet). Some devices didn't restore; e.g. an ath > card in the cardbus slot didn't reappear. You know who to prod, don't you? :-P > Great work; this is a huge step forward! Thanks for the report! Jung-uk Kim