From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 16 16:46:03 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 7AB401065695; Mon, 16 Aug 2010 16:46:03 +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 30EDA8FC1A; Mon, 16 Aug 2010 16:46:02 +0000 (UTC) Received: by iwn10 with SMTP id 10so2078405iwn.13 for ; Mon, 16 Aug 2010 09:46:02 -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=CkJQs94YuGoAjYWSp3CMTYTbLg/Dg5qfKxODJ/LzxOE=; b=E6IK8P2eZVtVI5cT6PiFjsqxDnMKeIutADZw2VHRLqe8o/nLjAuyOEBpHOyt/J0Z+n c8t9w65cc/X8cnaej0GsP2+XCR6rwnyNftt4xhrgLLozp4P4KkA6ZErthxKhuX+tKrAI ubPHUh10oj19AAcrd8OdJxxZpltflCIcadbOY= 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=TwCB4hgamtExBtByzRE6So188YZuzQypkmAuO8JveLAY7CMTd1cE8c5QUBTmgmt76q FrD9VeQZHGS7HJY8VSDAUojGrMPusbH029xZ7EpsaGheTrloXUcB2iDAJdPtxt5kRG2B UBtpnA3YtVmt7akzpmlyji6RMoiA5ovTZp6cs= MIME-Version: 1.0 Received: by 10.231.33.73 with SMTP id g9mr5554325ibd.117.1281977162259; Mon, 16 Aug 2010 09:46:02 -0700 (PDT) Received: by 10.231.185.7 with HTTP; Mon, 16 Aug 2010 09:46:02 -0700 (PDT) In-Reply-To: References: <201008041112.28704.jhb@freebsd.org> <201008051145.53737.jhb@freebsd.org> <20100805200022.GB3610@panther.nvidia.com> Date: Mon, 16 Aug 2010 20:46:02 +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: Mon, 16 Aug 2010 16:46:03 -0000 On 6 August 2010 08:15, Oleg Sharoyko 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