From owner-freebsd-acpi@FreeBSD.ORG Tue May 15 17:04:02 2012 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 8BA67106566B; Tue, 15 May 2012 17:04:02 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from hammer.pct.niksun.com (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0EB898FC0A; Tue, 15 May 2012 17:04:01 +0000 (UTC) Message-ID: <4FB28C81.9090401@FreeBSD.org> Date: Tue, 15 May 2012 13:04:01 -0400 From: Jung-uk Kim User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120502 Thunderbird/12.0.1 MIME-Version: 1.0 To: Peter Jeremy References: <20120511.111019.90116031.iwasaki@jp.FreeBSD.org> <20120511112005.GA87299@server.rulingia.com> <20120513.225328.10294857.iwasaki@jp.FreeBSD.org> <20120515073002.GA21005@server.rulingia.com> In-Reply-To: <20120515073002.GA21005@server.rulingia.com> X-Enigmail-Version: 1.5pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org, freebsd-current@freebsd.org, Mitsuru IWASAKI Subject: Re: [CFT] SMP/i386 suspend/resume 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: Tue, 15 May 2012 17:04:02 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-05-15 03:30:02 -0400, Peter Jeremy wrote: > I wrote: >>> Thank you for that. Since I was in the process of upgrading my >>> netbook (Acer Aspire One AOA-110 - Atom N270), I rolled your >>> RELENG_8 patch on top of r235229. >>> >>> Unfortunately, the result hasn't been a complete success. > > On 2012-May-13 22:53:28 +0900, Mitsuru IWASAKI > wrote: >> I think graphic driver (or pic?) has some problems on resume and >> they are out of scope of my patches. HEAD and RELENG_9 have >> better support on interrupt re-enabling than RELENG_8 I think. >> Could you try them? And for ps/2 mouse, kernel option >> PSM_HOOKRESUME and PSM_RESETAFTERSUSPEND would be useful. > > I've tried stable/9 r235399 with your patches as well as > PSM_HOOKRESUME and PSM_RESETAFTERSUSPEND and suspend/resume now > works (for the first time) from VTY. FYI, you don't need the kernel options. You just have to add the following line to /boot/loader.conf: hint.psm.0.flags="0x6000" It is much easier for us to debug the issue. Please revert the kernel options and give us the following results. 1. Test psm and moused without the above hint. 2. Test psm and moused with "hint.psm.0.flags="0x2000". 3. Test psm and moused with "hint.psm.0.flags="0x6000". 4. Verbose dmesg output (for the touch pad model strings). > I haven't tried suspending directly from X but expect that is > still broken. I believe you have Intel graphics, right? Then, you need kib's KMS patchset to make it happen. http://wiki.freebsd.org/Intel_GPU Jung-uk Kim -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+yjIEACgkQmlay1b9qnVPogACgj+HUK/lYje8MBvca1oUI6A82 gJMAoKkDSb/KW/CEZ8+Hw7RAUGDIOw8t =IFVX -----END PGP SIGNATURE-----