PCI config space is not restored upon resume (macbook pro)

John Baldwin jhb at freebsd.org
Thu Aug 5 17:11:42 UTC 2010


On Thursday, August 05, 2010 11:30:23 am Oleg Sharoyko wrote:
> 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
> 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.

Are you using the nvidia-driver or the "nv" driver from X?

-- 
John Baldwin


More information about the freebsd-hackers mailing list