Re: Restoring videomode on return from S3 sleep

James Simmons (jsimmons@transvirtual.com)
Tue, 27 Nov 2001 10:06:58 -0800 (PST)


> Hi!
>
> I'll need to restore video mode on returning from acpi sleep...
>
> Unfortunately, video selection code is not part of kernel, it is
> 16-bit code. acpi_wakeup.S, otoh, *is* part of kernel :-(.

Is this on the console and if it is I assum you are uing vgacon. It could
be the S# card has a broken implemenation. This wouldn't be the first.
Their has been a patch sometime for vesafb to work properly with S3 cards.

S3 framebuffer anyone? I remember their has been scathered work on this
but I never seen anything come to light for this.

> Plus, I
> can't find place where video.S passes number of mode it actually
> *used*.

video.S puts information into struct screen_info which then is used later
by vgacon or vesafb.

P.S
I plan to make struct screen_info go away in 2.5.X.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/