From owner-freebsd-current@FreeBSD.ORG Thu Mar 26 17:08:26 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 EA9B1106566C; Thu, 26 Mar 2009 17:08:26 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id A54278FC1C; Thu, 26 Mar 2009 17:08:26 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n2QH8Qql054123 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 26 Mar 2009 10:08:26 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <49CBB689.7020400@freebsd.org> Date: Thu, 26 Mar 2009 10:08:25 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.18 (X11/20081209) MIME-Version: 1.0 To: Jung-uk Kim References: <1236802980.00085518.1236789602@10.7.7.3> <200903251833.14825.jkim@FreeBSD.org> <49CBAC3C.600@freebsd.org> <200903261304.47702.jkim@FreeBSD.org> In-Reply-To: <200903261304.47702.jkim@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com; whitelist 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:08:27 -0000 Jung-uk Kim wrote: > 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. ;-) > Right, forgot about those tweaks. I just wish all these little knobs could be captured in some form so users could just say "I've got an xyz laptop" and have the right thing happen instead of having to google for everyone's experimental findings. > >> 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 > Actually ath resumes fine on T4x i386 UP systems for me so I think this more likely cardbus. > >> Great work; this is a huge step forward! >> > > Thanks for the report! > > Jung-uk Kim > > >