[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Surrender console (VGA and kbd) to direct-write application how-to?



The instrumentation application I'm porting to Linux expects 
to use the VGA display device at very high speed via direct IO 
inb/outp reads and writes. Kernel/library overhead is too great 
to allow use of Ncurses/libX calls or their relatives.

Plus, the code already written expects to make direct writes to VGA ram.

However, if Linux boots with the console on the vga/kbd, 
the application hangs or crashes.

Wanted: How to tell the OS that the console is now /dev/null or 
/dev/pts/0 or some other file or device?

Currently I build a kernel with console strictly on a serial port, no
/dev/pts pty vga ability at all, so the application is the only thing 
that ever reads the kbd or writes the vga.

Is there a simple way to have the console switched from one device
(device pair, actually) to another dynamically after booting?



Brian Brunner (brian t brunner gai-tronics com)



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept
for the presence of computer viruses.

www.hubbell.com - Hubbell Incorporated
**********************************************************************





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]