From: Romain D. <do...@ir...> - 2001-06-19 16:31:54
|
Petr Vandrovec wrote: > So you should not have garbage problem on your machine. I dont, but Sven Luther is plagued with a x86 box :-) > Then you cannot take over vgacon... So, in theory, neither do pm2fb and skeletonfb ? I think then that skeletonfb should be flagged as such, and all hardware driver that are non-VGA aware also. (if it's already documented somewhere, apology, I'm used to ignore everything that's labelled VGA :-) > Only thing you can do is read read first and last console from > video=vc: kernel parameter, and then at the beginning of your > code you can call con_save_screen for all these terminals you > are taking over. Then replace console's con_save_screen handler > with NULL. But it is very dangerous, incompatible and so on... I haven't ever used any of this stuff, so I guess it's really (supposed to be) handled by fbgen or fbcon... > It is much better just restore GDC/SEQ/CRTC state (you need > to restore only registers needed for proper reading characters > from videoram, ~10 registers) to their values on enter to your > driver just before you do call to register_framebuffer(). Given I understand almost nothing in those bits, I assume it's the VGA cruft I don't want to understand :-) -- DOLBEAU Romain | l'histoire est entierement vraie, puisque ENS Cachan / Ker Lann | je l'ai imaginee d'un bout a l'autre do...@ir... | -- Boris Vian |