Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Aug 2010 20:46:02 +0400
From:      Oleg Sharoyko <osharoiko@gmail.com>
To:        Christian Zander <czander@nvidia.com>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: PCI config space is not restored upon resume (macbook pro)
Message-ID:  <AANLkTi=Yq_UTWpOiKR7=-_1mQfQOBBE_H16L_TpnDRdJ@mail.gmail.com>
In-Reply-To: <AANLkTim-xFd9ve=M0iWBZRHrysSQ=aRGz8_1O1mT%2BW0f@mail.gmail.com>
References:  <AANLkTikMFhG1QLDf4raf%2BrxOKhobjoA-dRbUew2-8KeF@mail.gmail.com> <201008041112.28704.jhb@freebsd.org> <AANLkTimQA9hJMB_r7c9gRnEBzu4e1yZ5S8sO89ZT9_cW@mail.gmail.com> <201008051145.53737.jhb@freebsd.org> <AANLkTimZxusSpj6BqKAYO_6YPCWVLW2hv_33K7C1rOus@mail.gmail.com> <20100805200022.GB3610@panther.nvidia.com> <AANLkTim-xFd9ve=M0iWBZRHrysSQ=aRGz8_1O1mT%2BW0f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6 August 2010 08:15, Oleg Sharoyko <osharoiko@gmail.com> wrote:

>> When using the NVIDIA driver, you will need to make sure that
>> you're using 256.44, you'll need to be running X at the time of
>> entry to S3/S4, and you'll need to make sure you've switched
>> away from X's VT (this didn't happen automatically on FreeBSD
>> last time I checked).
> I'll give 256.44 a try, but at first I'll try to fix bios emulation issues.

Sorry for a long delay - it has been a really busy week here. It does
indeed works with 256.44 just the way you describe. Though I had a
couple of strange lockups of ACPI subsystem, but I haven't had enough
time to debug them. I guess other drivers could also work if only this
wasn't a MacBook. FreeBSD can call BIOS reset, but it looks like this
doesn't work with MacBook as it has no BIOS, and would require to copy
video card BIOS into memory and execute it in emulation mode. I've
seen such a code for linux loader (to boot linux in non-emulation
mode), but I don't think it worth doing this on resume.

-- 
Oleg Sharoyko



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