From owner-freebsd-acpi@FreeBSD.ORG Sat Jul 7 15:40:46 2012 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7905F106566C for ; Sat, 7 Jul 2012 15:40:46 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3C9BE8FC0A for ; Sat, 7 Jul 2012 15:40:46 +0000 (UTC) Received: by obbun3 with SMTP id un3so21071110obb.13 for ; Sat, 07 Jul 2012 08:40:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=S9XB3W2m1Kt2FIvm2kfPsoAOi/r+hOInMuF/gprh5hk=; b=uM3XTyYw6N0zqxxupyD2qPrU79wgDzYnZwDdXlRymh3sA7+X09uLVHxkvWCu64sVL3 ZUGaHbTAvtg1cQ8EzgE55epzk72fXs4rQs9XP3/VX58TlenOktNXNR0cC44mjmQNiew6 ftrKIwDK3vKoc7N1ZCqwIluH7QZTNVV8wGiPVPDIqTT3sN0krobfIGJ6iR6b97+YszCp YP5EfIpJxGoCHwZAZ/sPEUu1/1Eodp3gC0wdJZQsAJRFjD3Q+UXeMGV5u+J0FkRjOsCo T75XCM/I7FSsp5XXjeRwXBrn9sVoEjwgcckt3qy+l5Jnqih7hmn4LwjWgg4IvnLothN/ i9OQ== MIME-Version: 1.0 Received: by 10.182.64.69 with SMTP id m5mr14336308obs.40.1341675645840; Sat, 07 Jul 2012 08:40:45 -0700 (PDT) Received: by 10.60.61.38 with HTTP; Sat, 7 Jul 2012 08:40:45 -0700 (PDT) In-Reply-To: <1341437029.4017.5.camel@localhost> References: <201207021729413382845@gmail.com> <4FF2599B.6050409@gmail.com> <201207031411248300207@gmail.com> <1341437029.4017.5.camel@localhost> Date: Sat, 7 Jul 2012 10:40:45 -0500 Message-ID: From: Brandon Gooch To: mbsd , honestqiao@gmail.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-acpi@freebsd.org Subject: Re: Re: Resume failed after Suspend on Thinkpad x201i X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jul 2012 15:40:46 -0000 On Wed, Jul 4, 2012 at 4:23 PM, mbsd wrote: > On Tue, 2012-07-03 at 14:11 +0800, =E4=B9=94=E6=A5=9A/HonestQiao wrote: [SNIP] >> >> In All the test, the screen is light and black, system is hangup, nothin= g can be done. >> The only thing can be done, is push power button, to force it shutdown. > > Which graphic card have you used? If you have had nvidia, it's normal, > I've had the same problem "the screen is light and black". Can both of you show the output of `devinfo -v` from your systems? I was able to solve my suspend/resume issue with my nvidia-equipped notebook by forcing the module load ordering of vgapm in sys/isa/vga_isa.c: Index: sys/isa/vga_isa.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/isa/vga_isa.c (revision 237779) +++ sys/isa/vga_isa.c (working copy) @@ -379,4 +379,4 @@ 0 }; -DRIVER_MODULE(vgapm, vgapci, vgapm_driver, vgapm_devclass, 0, 0); +DRIVER_MODULE(vgapm, vgapci, vgapm_driver, vgapm_devclass, 0, SI_ORDER_ANY= ); The system requires however that I load the nvidia module in /boot/loader.conf (as opposed to loading it after system is up and running). -Brandon