2000-10-27 22:28:07

by James Simmons

[permalink] [raw]
Subject: [PATCH] fbcon->vgacon->fbcon


Hi!

Here is a new version of my vga patch. I now have it where you go from
vgacon to fbcon to vgacon again. I have tried this with the vga16fb
driver and it works very well. It needs a little work for a better
vgacon restore mode. Vgacon can even restore the fonts itself :-)
I tested it with the matrox framebufer with less luck. I assume I'm not
freeing resources properly. I will test it with other fbdev drivers next
week. Thank you.


Attachments:
newvga.diff.gz (22.12 kB)

2000-10-29 03:23:11

by Petr Vandrovec

[permalink] [raw]
Subject: Re: [linux-fbdev] [PATCH] fbcon->vgacon->fbcon

On Fri, Oct 27, 2000 at 10:28:02PM -0700, James Simmons wrote:
>
> Hi!
>
> Here is a new version of my vga patch. I now have it where you go from
> vgacon to fbcon to vgacon again. I have tried this with the vga16fb
> driver and it works very well. It needs a little work for a better
> vgacon restore mode. Vgacon can even restore the fonts itself :-)
> I tested it with the matrox framebufer with less luck. I assume I'm not
> freeing resources properly. I will test it with other fbdev drivers next
> week. Thank you.

Matroxfb does not switch hardware to VGA mode on exit. Try doing
'fbset -depth 0 -a' before quitting from matroxfb.
Petr Vandrovec
[email protected]


2000-11-03 00:42:37

by James Simmons

[permalink] [raw]
Subject: Re: [linux-fbdev] [PATCH] fbcon->vgacon->fbcon


> Matroxfb does not switch hardware to VGA mode on exit. Try doing
> 'fbset -depth 0 -a' before quitting from matroxfb.

I know. I wanted for vgacon to reset the video mode itself. This way ANY
fbdev driver can go back top vgacon.

2000-11-03 15:32:52

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: [linux-fbdev] [PATCH] fbcon->vgacon->fbcon

On Thu, 2 Nov 2000, James Simmons wrote:
> > Matroxfb does not switch hardware to VGA mode on exit. Try doing
> > 'fbset -depth 0 -a' before quitting from matroxfb.
>
> I know. I wanted for vgacon to reset the video mode itself. This way ANY
> fbdev driver can go back top vgacon.

That won't be possible because returning to VGA text mode is chip-specific.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

2000-11-03 18:20:50

by James Simmons

[permalink] [raw]
Subject: Re: [linux-fbdev] [PATCH] fbcon->vgacon->fbcon


> > I know. I wanted for vgacon to reset the video mode itself. This way ANY
> > fbdev driver can go back top vgacon.
>
> That won't be possible because returning to VGA text mode is chip-specific.

>From what I see in the XF4.0 tree you can. I will find out today with me
working on the tdfx driver.