Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Aug 2010 19:30:23 +0400
From:      Oleg Sharoyko <osharoiko@gmail.com>
To:        John Baldwin <jhb@freebsd.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: PCI config space is not restored upon resume (macbook pro)
Message-ID:  <AANLkTimQA9hJMB_r7c9gRnEBzu4e1yZ5S8sO89ZT9_cW@mail.gmail.com>
In-Reply-To: <201008041112.28704.jhb@freebsd.org>
References:  <AANLkTikMFhG1QLDf4raf%2BrxOKhobjoA-dRbUew2-8KeF@mail.gmail.com> <AANLkTinUvptZ9vrGq0Y8d3jUu0JzGsLCy5%2Brc3Rd=_rQ@mail.gmail.com> <AANLkTika4sUaEh67bpyjJLSALKwhOYHzaAm-eWoE%2BqNW@mail.gmail.com> <201008041112.28704.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4 August 2010 19:12, John Baldwin <jhb@freebsd.org> wrote:

> Cool, I actually think that the ACPI PCI-PCI driver can just use the
> stock PCI-PCI bridge driver's suspend and resume methods. =C2=A0Can you t=
ry
> out this alternate patch instead?

It works, and sure looks better than mine. I didn't know there's such a nic=
e
way to inherit methods.

> This sounds like the display just needs to be powered on via DPMS.
> You might be able to make this work via acpi_video and toggling the
> LCD status that way. =C2=A0You could also try dpms.ko.

I'm afraid things are not that simple. I have tried without success
acpi_video.ko,
dmps.ko, sysctl hw.acpi.reset_video and sysutils/vbetool. And what worries =
me,
X server cannon start on resumed system. From Xorg.log:

(EE) NV(0): Failed to determine the amount of available video memory

It looks like videcard just ignores any requests.

--=20
Oleg Sharoyko



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