Date: Thu, 5 Aug 2010 11:45:53 -0400 From: John Baldwin <jhb@freebsd.org> To: Oleg Sharoyko <osharoiko@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: PCI config space is not restored upon resume (macbook pro) Message-ID: <201008051145.53737.jhb@freebsd.org> In-Reply-To: <AANLkTimQA9hJMB_r7c9gRnEBzu4e1yZ5S8sO89ZT9_cW@mail.gmail.com> References: <AANLkTikMFhG1QLDf4raf%2BrxOKhobjoA-dRbUew2-8KeF@mail.gmail.com> <201008041112.28704.jhb@freebsd.org> <AANLkTimQA9hJMB_r7c9gRnEBzu4e1yZ5S8sO89ZT9_cW@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, August 05, 2010 11:30:23 am Oleg Sharoyko wrote: > 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. 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008051145.53737.jhb>