DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Testing AIX 5L NFB drivers

Verify return to text mode

This test verifies that the X server exits cleanly and returns the console to text mode. The keystroke to exit the X server is:

   <Ctrl><Alt><Bksp>
In other words, hold down the <Ctrl> and <Alt> keys while you press the <Bksp> key. This should exit the X server and reestablish proper text on the console. Your driver should have the necessary reset code in the SetText(D3nfb) function to restore the text mode.

Your driver development included the build of a kernel extension binary for the vgadd device driver see ``Dynamic loading mechanism''. To test this extension, place the extension binary in the following directory:

   /usr/lpp/gai/nfb/ext/vga_ext_<driver name>
To cause this extension to be used by the vgadd device driver, issue a kill -9 command to the X server process. This causes the X server to exit immediately and thereby skip the call to your driver's SetText( ) routine. In this case, the vgadd device driver can call the <driver(name>_restore_state) routine in <driver_name>_sr_vga.c file, which can restore the adapter to text mode.
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005