STABLE/9 SMP ACPI suspend/resume - video mode not being restored

David Wolfskill david at catwhisker.org
Fri May 25 04:07:01 UTC 2012


On Thu, May 24, 2012 at 08:46:03PM -0700, Adrian Chadd wrote:
> Hi,
> 
> 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=1. 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
-- 
David H. Wolfskill				david at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20120525/9a5a562d/attachment.pgp


More information about the freebsd-mobile mailing list