From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 5 15:30:25 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 5DD0D106576B; Thu, 5 Aug 2010 15:30:25 +0000 (UTC) (envelope-from osharoiko@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 019618FC15; Thu, 5 Aug 2010 15:30:24 +0000 (UTC) Received: by gwj23 with SMTP id 23so3117022gwj.13 for ; Thu, 05 Aug 2010 08:30:24 -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 :content-transfer-encoding; bh=94SbVYdCArf458UKYHJk9XIRvuuvP6aYuaiFk2AP81M=; b=AohLCahSfBzblVutKvEdAKugwcI8yA9yGfapo6ZttTPX32YXI+SMgtbw4gGx5ExnRY 2hi9VVWSPZhvu1aqkAdtLnVQQCLgXGJBmiO856qOki/phy3NUvtzqtvB09Ak4xAxHQjD PmjFAz6ogZ73+rw/iKv2IZJOV/cxaCiIG9Dn4= 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:content-transfer-encoding; b=Llljkd/7yAAK7QFzc4Ar3cubMRZONAAhkHycpVTsvEv3yc2r7DWxMadeSodZn+2mAO wzMVTl2f2OH+49/fuyZwwjYVMaj6o3QysZbCejUFfHwDscUuu0UwlcDybIUwnwXAAcjd cn03n1lbH8r/Dvb6Mz3QmXFT/4wjuyiXqezbc= MIME-Version: 1.0 Received: by 10.101.116.3 with SMTP id t3mr12114649anm.137.1281022224009; Thu, 05 Aug 2010 08:30:24 -0700 (PDT) Received: by 10.231.168.20 with HTTP; Thu, 5 Aug 2010 08:30:23 -0700 (PDT) In-Reply-To: <201008041112.28704.jhb@freebsd.org> References: <201008041112.28704.jhb@freebsd.org> Date: Thu, 5 Aug 2010 19:30:23 +0400 Message-ID: From: Oleg Sharoyko To: John Baldwin Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: Thu, 05 Aug 2010 15:30:25 -0000 On 4 August 2010 19:12, John Baldwin 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. =C2=A0Can you t= ry > out this alternate patch instead? It works, and sure looks better than mine. I didn't know there's such a nic= e 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. =C2=A0You 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. --=20 Oleg Sharoyko