Skip to contentSkip to conversation

fbcon->vgacon->fbcon

PATCH Petr Vandrovec 1 participant 1 message Nov 3, 2000

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines · James Simmons
Quoted 4 lines
Quoted 2 lines

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 [email protected]

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/