Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jul 2012 10:40:45 -0500
From:      Brandon Gooch <jamesbrandongooch@gmail.com>
To:        mbsd <mbsd@isgroup.com.ua>, honestqiao@gmail.com
Cc:        freebsd-acpi@freebsd.org
Subject:   Re: Re: Resume failed after Suspend on Thinkpad x201i
Message-ID:  <CALBk6yLgUUvbZUhEhNgbqKOz8bc5eAM9anuP0ZSDR=qd6SstUw@mail.gmail.com>
In-Reply-To: <1341437029.4017.5.camel@localhost>
References:  <201207021729413382845@gmail.com> <4FF2599B.6050409@gmail.com> <201207031411248300207@gmail.com> <1341437029.4017.5.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 4, 2012 at 4:23 PM, mbsd <mbsd@isgroup.com.ua> 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



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