From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 6 04:15:14 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D8071065679; Fri, 6 Aug 2010 04:15:14 +0000 (UTC) (envelope-from osharoiko@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 133828FC13; Fri, 6 Aug 2010 04:15:13 +0000 (UTC) Received: by iwn10 with SMTP id 10so1059772iwn.13 for ; Thu, 05 Aug 2010 21:15:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=5l9LHeuiI5FtvoKqToMrzBsSmFFSfxpNAXLAjXEhT/k=; b=nxNZ+9ycyeiipU8mOW9j83mZqqJ6HTBXmxfWz4gj9GZ5baV/kl8TGnpihb5GhHLgu6 wlyrO3LoWTcb425M9DfpbIziCKNgAaqjiaNFcvyXtjcAtC8qtdayH/6NJtocHy8Kmv+x MjjxEkSDmO6TNXUpTjD8LZYIOiFOQ/iVhuV/8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=unOHx+FpWwSXCVbZExx4ZizBTA+41rp6l5fxGnd5I17alUGdGOXzRCvf8ccq+hpG04 xKepcMJ9J6JH6QdQ8Os+D+goIgY4Z7O4fMWCb1n+V3G5mzb94IU5GTJ1YLPkdjAnG7DH IsfK/SGYBGegAsbB5dmIUwVz9ACIwgHHDPGeU= MIME-Version: 1.0 Received: by 10.231.190.149 with SMTP id di21mr13556289ibb.27.1281068113380; Thu, 05 Aug 2010 21:15:13 -0700 (PDT) Received: by 10.231.168.20 with HTTP; Thu, 5 Aug 2010 21:15:13 -0700 (PDT) In-Reply-To: <20100805200022.GB3610@panther.nvidia.com> References: <201008041112.28704.jhb@freebsd.org> <201008051145.53737.jhb@freebsd.org> <20100805200022.GB3610@panther.nvidia.com> Date: Fri, 6 Aug 2010 08:15:13 +0400 Message-ID: From: Oleg Sharoyko To: Christian Zander Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-hackers@freebsd.org" Subject: Re: PCI config space is not restored upon resume (macbook pro) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Aug 2010 04:15:14 -0000 On 6 August 2010 00:00, Christian Zander wrote: > Neither the `nv' nor the `vesa' driver have support for power > management. You'll typically only be able to get X back > with those drivers if you're starting it from scratch following > an S4 cycle, or an S3 cycle that involved a POST (either > issued by the SBIOS or via software). Actually, this is exactly what I was trying to do. And I suspect that it doesn work, because I don't have bios emulation initialized properly. > 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. -- Oleg Sharoyko