[CFT] SMP/i386 suspend/resume

Jung-uk Kim jkim at FreeBSD.org
Tue May 15 17:04:02 UTC 2012


-----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 
> <iwasaki at jp.FreeBSD.org> 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-----


More information about the freebsd-acpi mailing list