Re: STABLE/9 SMP ACPI suspend/resume - video mode not being restored

Mitsuru IWASAKI <[email protected]>
Newsgroups gmane.os.freebsd.stable,gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
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!
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.