Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 May 2012 18:10:26 +0900 (JST)
From:      Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org>
To:        adrian@freebsd.org
Cc:        iwasaki@freebsd.org, freebsd-stable@freebsd.org, jkim@freebsd.org, freebsd-mobile@freebsd.org
Subject:   Re: STABLE/9 SMP ACPI suspend/resume - video mode not being restored
Message-ID:  <20120526.181026.124546767.iwasaki@jp.FreeBSD.org>
In-Reply-To: <CAJ-Vmo=D231CUKyON0qm%2Bk3Kyen0n2Y1=Qs-eGhRmgN6F4gz2g@mail.gmail.com>
References:  <CAJ-Vmo=hRbrddLqxTimNZ6nnoq%2B_faFnMLeYu7VF4%2BEefQR1Mw@mail.gmail.com> <20120525.134903.05583594.iwasaki@jp.FreeBSD.org> <CAJ-Vmo=D231CUKyON0qm%2Bk3Kyen0n2Y1=Qs-eGhRmgN6F4gz2g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

> No, I didn't have vesa loaded. I'll load that now and try tomorrow
> after a reboot.

vesa(4) has video BIOS init hack run in vm86-mode or on x86 emulator.
I think it is cool.  My X61 still need video BIOS init in
acpi_wakecode, because it seems vesa's BIOS init ends incompletely by
page fault for now though.

> yes, I tried switching VTYs, each VTY had the same issue. I guess the
> driver isn't doing a VGA mode change when I switch VTYs unless the
> screens are in different modes?

If you have a vty with initial video mode, switching vtys will work I think.

Oh yes, please try the following patches.
http://people.freebsd.org/~iwasaki/acpi/syscons-vesa-resume-20120526.diff

This is already done in vesa(4), added support non-vesa mode.

> FWIW, Xorg suspend/resume via the "switch to VTY before suspending"
> hack works on this Thinkpad T60. It's not optimal but hey, it _does_
> work. :)

Long time ago, I added the hack trying to make it as small as possible
for the same effect :)
Now we need the true solution...

Thanks!



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