Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2012 21:07:00 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        Mitsuru IWASAKI <iwasaki@freebsd.org>, FreeBSD Stable Mailing List <freebsd-stable@freebsd.org>, jkim@freebsd.org, freebsd-mobile@freebsd.org
Subject:   Re: STABLE/9 SMP ACPI suspend/resume - video mode not being restored
Message-ID:  <20120525040700.GH2446@albert.catwhisker.org>
In-Reply-To: <CAJ-Vmo=hRbrddLqxTimNZ6nnoq%2B_faFnMLeYu7VF4%2BEefQR1Mw@mail.gmail.com>
References:  <CAJ-Vmo=hRbrddLqxTimNZ6nnoq%2B_faFnMLeYu7VF4%2BEefQR1Mw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--mYYhpFXgKVw71fwr
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, May 24, 2012 at 08:46:03PM -0700, Adrian Chadd wrote:
> Hi,
>=20
> I'm toying with the SMP/i386 ACPI suspend/resume patches in -9. Thanks
> so much for this!

Note that enough of those patches have been committed (at least as of
r235891) that I was able to perform suspend/resume properly on my laptop
(a Dell Precision M4400; video is "NVIDIA GPU Quadro FX 770M (G96GL)",
and I use the nVidia driver (ports/x11/nvidia-driver)) without adding
more patches.

> I've noticed though that the video backlight stays off after resume. A
> common problem on -9, so I set hw.acpi.reset_video=3D1. That restores
> the backlight.

I do not see that behavior, and:

g1-227(8.3-S)[7] sysctl hw.acpi.reset_video
hw.acpi.reset_video: 0

(Yes, I'm running stable/8 on the present slice.  I have stable/9 on
another slice.  And the experiment I did was with a slice where I had
built stable/9 (i386) using clang.)

> However, the video mode isn't restored. I have my console set to
> VGA_80x60 and the resume seems to set it up "wrong". I get half or so
> of each line displayed.

That is another issue that I have not observed (in my case).

> ...
> Is there a shortcoming somewhere in syscons/ACPI video restore on -9
> that doesn't properly restore the configured mode?

I believe that my experience is evidence that if such a shortciming
exists, it is not a general one.

For me, suspend/resume in stable/9 Just Works (thanks to the hard work
of others (such as iwasaki@), of course).

> Thanks again for all your hard work! Now that you've done that, I'll
> go off and work on fixing up ath(4) suspend/resume for PCI devices. :)

Cool!  :-)

(Adrian, next BAFUG, perhaps we could compare notes/behaviors in
person, if that might be of use?)

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--mYYhpFXgKVw71fwr
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAk+/BWMACgkQmprOCmdXAD3hxQCfRnE08WTGdP/3czZSu3LRnWL4
YZ4An3oFAvDDNTX/F9Q3TgtMbiT7vsyN
=VObg
-----END PGP SIGNATURE-----

--mYYhpFXgKVw71fwr--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120525040700.GH2446>