|
Virtual terminal driversWhen virtual terminals (VTs) are enabled in the kernel (see Framebuffer driver), 63 tty devices (also known as virtual consoles) are multiplexed onto the framebuffer. Each of these tty devices can be in either text console mode or graphics mode, and each can have its own framebuffer configuration (display timings, color format for example).
In an x86 PC based Linux system running X windows, the user can switch between VTs using the keyboard shortcut On a target running the STLinux2.0 distribution, with the framebuffer installed and virtual terminals enabled, the user will see a black screen. A simple test that the system is in fact working is:
This should write a list of interrupts to the screen. Changing the virtual terminalSTMicroelectronics' devices do not necessarily have a keyboard attached, so a way is provided for the user to change the current VT from a remote console. This uses the command:
where Running applications on a virtual terminal
Graphical applications such as the X server or those based on DirectFB will manipulate the virtual terminal state themselves, using Linux specific console ioctls (see the man page console_ioctl(4)). Other applications can be explicitly run on a VT using the command
Changing display mode
When
This can cause confusion if you run DirectFB or X applications as these switch automatically to an unused VT, which may not be configured for the display mode wanted. At startup, all VTs are set to the default display mode. The command Virtual console control
The virtual console attached to a VT can be controlled to change attributes such as the text color using the program
Note: It is important that the terminal type is set to One very important attribute set by this method is the console blanking time. After a certain number of minutes, the screen will be blanked. In a PC Linux system, the console would be unblanked on the next keystroke, however in an embedded system this behavior is undesirable. To disable blanking, place the following command in the system startup scripts to run after the framebuffer drivers have been loaded:
|
||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||