From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 29 15:50:03 2008 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1067F106566C for ; Mon, 29 Dec 2008 15:50:03 +0000 (UTC) (envelope-from cokane@FreeBSD.org) Received: from mail-out2.fuse.net (mail-out2.fuse.net [216.68.8.171]) by mx1.freebsd.org (Postfix) with ESMTP id C9AEA8FC1C for ; Mon, 29 Dec 2008 15:50:02 +0000 (UTC) (envelope-from cokane@FreeBSD.org) X-CNFS-Analysis: v=1.0 c=1 a=jmQgnRCw7JQA:10 a=E960JpWP1y4A:10 a=LkYvsgB9u1MH7Ao0BLhsLg==:17 a=hMtPk3Js9bm2crTRA8sA:9 a=-Hnlot6jbESoPBjahQddyKjhMc4A:4 a=50e4U0PicR4A:10 a=A51ZBWaDwPmHYgjjFjAA:9 a=0XbtUeohMrZzEVrhXGHdQ9C_1qMA:4 a=rPt6xJ-oxjAA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Received: from [74.215.227.9] ([74.215.227.9:50331] helo=discordia) by mail-out2.fuse.net (ecelerity 2.1.1.22 r(17669)) with ESMTP id EB/62-26658-91EE8594 for ; Mon, 29 Dec 2008 10:35:01 -0500 Received: by discordia (Postfix, from userid 103) id 19A211DB2FA; Mon, 29 Dec 2008 10:34:49 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.1.8-gr1 (2007-02-13) on discordia X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.8-gr1 Received: from [172.31.1.6] (unknown [172.31.1.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by discordia (Postfix) with ESMTP id 035571DB2F9 for ; Mon, 29 Dec 2008 10:34:41 -0500 (EST) From: Coleman Kane To: freebsd-acpi@FreeBSD.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-EtKZujSNHKZQ2GtKISzA" Organization: FreeBSD Project Date: Mon, 29 Dec 2008 10:34:46 -0500 Message-Id: <1230564886.2280.11.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Cc: Subject: amd64 S3 patch on HP 6715b: NICs won't work after resume from S3 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2008 15:50:03 -0000 --=-EtKZujSNHKZQ2GtKISzA Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, I've been testing Jung-uk Kim's recent amd64 suspend patch on my HP notebook, and it seems to be very close to working well. The notebook goes into S3 state properly, but when it comes back out it seems that the hardware is left in a bad state. I cannot attach my if_bge and if_ndis network drivers after a resume. I've tried performing the suspend/resume with the appropriate kldunload lines in the /etc/rc.suspend, and I've also played around with the following sysctls to no avail: * debug.acpi.do_powerstate * hw.pci.do_power_resume * hw.pci.do_power_nodriver Additionally, when the system is resumed I needed hw.acpi.reset_video=3D1 to be set, otherwise the video doesn't get restored. I also need to execute a "vidcontrol 80x25" to refresh the syscons as well (or else I get no text on the screen). It seems that Xorg will resume properly if I've switched to a text console prior to the suspend (Alt-Ctrl-F1 through -F8), otherwise the video will come up hosed. I suspect there's probably a way that I can force the switch in a scripted manner in rc.suspend. Anyhow, it seems that some devices resume properly and some don't. The ones that don't seem to be my ndis0 (wireless card, BCM4321) and my bge0, which would be handy things to be able to use after a resume. Does anyone have similar issues in amd64 or i386 kernels when using S3? Any suggestions on where to go? --=20 Coleman Kane --=-EtKZujSNHKZQ2GtKISzA Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAklY7hAACgkQcMSxQcXat5c33QCfVrRV2bQD50UAH8wD1ZJpFbQO bFYAnAy69yJOVqxPZUJT++2QvJAmEjEC =2N+F -----END PGP SIGNATURE----- --=-EtKZujSNHKZQ2GtKISzA--