From: Matan Ziv-Av <ma...@sv...> - 2006-02-03 11:15:48
|
On Fri, 3 Feb 2006, Aivils Stoss wrote: > On Ceturtdiena, 2. Febru=E2ris 2006 21:22, Matan Ziv-Av wrote: >>> Multiple VGA text consoles seems difficult (Avilis pointed out that onl= y >>> one VGA device per PCI domain is allowed) - I really know too little >>> about it, but it seems to me that one runs into BIOS/Hardware issues >>> that make more than one VGA device impossible. >> >> Actually, multiple VGA text consoles are not that hard. Most PCI card >> allow alternate access to both VGA registers and VGA memory thru the PCI >> regions. >> I adapted vgacon to work on nvidia and matrox cards: >> http://www.arava.co.il/matan/misc/textcon.tgz >> but it should be easy to make it more generic. > > So if nvvgacon does not take over vgacon, then it is completely independ? > Can i run multiple nvvgacon simultaneous, if pci bus id specified > for each instance? The console output is independent. I use with a standarad kernel and a=20 userspace program that injects keyboard events to specified console, to=20 emulate a two console system. The module needs to be changed a little to support multiple=20 nvvga consoles, but it can also be done by inserting the module multiple=20 times (after renaming it). > Is necessary XFree int10 real mode initialisation for each instance? Yes. Though it can be done with x86emu directly, without using XFree for=20 this. > From where You get magic values for ioremap()? I tried every address that ends with 0x3d4, and so which one behaves=20 like the CRTC port. --=20 Matan Ziv-Av. ma...@sv... |