* Re: [linux-fbdev] [PATCH] fbcon->vgacon->fbcon
@ 2000-11-03 19:48 Petr Vandrovec
0 siblings, 0 replies; 5+ messages in thread
From: Petr Vandrovec @ 2000-11-03 19:48 UTC (permalink / raw)
To: James Simmons; +Cc: linux-kernel, linux-fbdev, linuxconsole-dev, geert
On 3 Nov 00 at 17:20, James Simmons wrote:
> > > 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.
Yes, you can for example run BIOS initialization. In sandbox with x86
emulator ;-) It is much easier, and much safer, require for 2.5 that
driver has to switch hardware to VGA mode on unload if hardware was
in VGA mode before start, and if it is primary device in the box.
For post-Millennium Matrox hardware, it is as simple as
'outw(0x0003, 0x03DE);' (if you did not ask for disable VGA I/O & disable
VGA BIOS in matroxfb params. And if you asked... you probably know why
better than driver).
Best regards,
Petr Vandrovec
vandrove@vc.cvut.cz
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-fbdev] [PATCH] fbcon->vgacon->fbcon
2000-11-03 14:14 ` Geert Uytterhoeven
@ 2000-11-04 1:20 ` James Simmons
0 siblings, 0 replies; 5+ messages in thread
From: James Simmons @ 2000-11-04 1:20 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Petr Vandrovec, Linux Kernel Mailing List, FrameBuffer List,
Linux console project
> > 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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-fbdev] [PATCH] fbcon->vgacon->fbcon
2000-11-03 7:42 ` James Simmons
@ 2000-11-03 14:14 ` Geert Uytterhoeven
2000-11-04 1:20 ` James Simmons
0 siblings, 1 reply; 5+ messages in thread
From: Geert Uytterhoeven @ 2000-11-03 14:14 UTC (permalink / raw)
To: James Simmons
Cc: Petr Vandrovec, Linux Kernel Mailing List, FrameBuffer List,
Linux console project
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 -- geert@linux-m68k.org
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-fbdev] [PATCH] fbcon->vgacon->fbcon
2000-10-29 3:22 ` [linux-fbdev] " Petr Vandrovec
@ 2000-11-03 7:42 ` James Simmons
2000-11-03 14:14 ` Geert Uytterhoeven
0 siblings, 1 reply; 5+ messages in thread
From: James Simmons @ 2000-11-03 7:42 UTC (permalink / raw)
To: Petr Vandrovec
Cc: Linux Kernel Mailing List, FrameBuffer List, Linux console project
> 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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-fbdev] [PATCH] fbcon->vgacon->fbcon
2000-10-28 5:28 James Simmons
@ 2000-10-29 3:22 ` Petr Vandrovec
2000-11-03 7:42 ` James Simmons
0 siblings, 1 reply; 5+ messages in thread
From: Petr Vandrovec @ 2000-10-29 3:22 UTC (permalink / raw)
To: James Simmons
Cc: Linux Kernel Mailing List, FrameBuffer List, Linux console project
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
vandrove@vc.cvut.cz
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2000-11-03 18:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-03 19:48 [linux-fbdev] [PATCH] fbcon->vgacon->fbcon Petr Vandrovec
-- strict thread matches above, loose matches on Subject: below --
2000-10-28 5:28 James Simmons
2000-10-29 3:22 ` [linux-fbdev] " Petr Vandrovec
2000-11-03 7:42 ` James Simmons
2000-11-03 14:14 ` Geert Uytterhoeven
2000-11-04 1:20 ` James Simmons
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).