PCI config space is not restored upon resume (macbook pro)
osharoiko at gmail.com
Thu Aug 5 15:30:25 UTC 2010
On 4 August 2010 19:12, John Baldwin <jhb at 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. Can you try
> out this alternate patch instead?
It works, and sure looks better than mine. I didn't know there's such a nice
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. You could also try dpms.ko.
I'm afraid things are not that simple. I have tried without success
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.
More information about the freebsd-hackers