€•ÙŒsphinx.addnodes”Œdocument”“”)�”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)�”}”(hhh]”(hŒ pending_xref”“”)�”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…”�”}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ/translations/zh_CN/fb/fbcon”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)�”}”(hhh]”hŒChinese (Traditional)”…”�”}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ/translations/zh_TW/fb/fbcon”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒItalian”…”�”}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ/translations/it_IT/fb/fbcon”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒJapanese”…”�”}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ/translations/ja_JP/fb/fbcon”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒKorean”…”�”}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ/translations/ko_KR/fb/fbcon”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒPortuguese (Brazilian)”…”�”}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ/translations/pt_BR/fb/fbcon”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒSpanish”…”�”}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ/translations/sp_SP/fb/fbcon”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒsection”“”)�”}”(hhh]”(hŒtitle”“”)�”}”(hŒThe Framebuffer Console”h]”hŒThe Framebuffer Console”…”�”}”(hh¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhh·h²hh³Œ6/var/lib/git/docbuild/linux/Documentation/fb/fbcon.rst”h´KubhŒ paragraph”“”)�”}”(hX#The framebuffer console (fbcon), as its name implies, is a text console running on top of the framebuffer device. It has the functionality of any standard text console driver, such as the VGA console, with the added features that can be attributed to the graphical nature of the framebuffer.”h]”hX#The framebuffer console (fbcon), as its name implies, is a text console running on top of the framebuffer device. It has the functionality of any standard text console driver, such as the VGA console, with the added features that can be attributed to the graphical nature of the framebuffer.”…”�”}”(hhÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhÌ)�”}”(hŒ³In the x86 architecture, the framebuffer console is optional, and some even treat it as a toy. For other architectures, it is the only available display device, text or graphical.”h]”hŒ³In the x86 architecture, the framebuffer console is optional, and some even treat it as a toy. For other architectures, it is the only available display device, text or graphical.”…”�”}”(hhÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K hh·h²hubhÌ)�”}”(hXWhat are the features of fbcon? The framebuffer console supports high resolutions, varying font types, display rotation, primitive multihead, etc. Theoretically, multi-colored fonts, blending, aliasing, and any feature made available by the underlying graphics card are also possible.”h]”hXWhat are the features of fbcon? The framebuffer console supports high resolutions, varying font types, display rotation, primitive multihead, etc. Theoretically, multi-colored fonts, blending, aliasing, and any feature made available by the underlying graphics card are also possible.”…”�”}”(hhéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubh¶)�”}”(hhh]”(h»)�”}”(hŒA. Configuration”h]”hŒA. Configuration”…”�”}”(hhúh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhh÷h²hh³hÊh´KubhÌ)�”}”(hX$The framebuffer console can be enabled by using your favorite kernel configuration tool. It is under Device Drivers->Graphics Support-> Console display driver support->Framebuffer Console Support. Select 'y' to compile support statically or 'm' for module support. The module will be fbcon.”h]”hX,The framebuffer console can be enabled by using your favorite kernel configuration tool. It is under Device Drivers->Graphics Support-> Console display driver support->Framebuffer Console Support. Select ‘y’ to compile support statically or ‘m’ for module support. The module will be fbcon.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh÷h²hubhÌ)�”}”(hXuIn order for fbcon to activate, at least one framebuffer driver is required, so choose from any of the numerous drivers available. For x86 systems, they almost universally have VGA cards, so vga16fb and vesafb will always be available. However, using a chipset-specific driver will give you more speed and features, such as the ability to change the video mode dynamically.”h]”hXuIn order for fbcon to activate, at least one framebuffer driver is required, so choose from any of the numerous drivers available. For x86 systems, they almost universally have VGA cards, so vga16fb and vesafb will always be available. However, using a chipset-specific driver will give you more speed and features, such as the ability to change the video mode dynamically.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh÷h²hubhÌ)�”}”(hŒXTo display the penguin logo, choose any logo available in Graphics support->Bootup logo.”h]”hŒXTo display the penguin logo, choose any logo available in Graphics support->Bootup logo.”…”�”}”(hj$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K#hh÷h²hubhÌ)�”}”(hŒ§Also, you will need to select at least one compiled-in font, but if you don't do anything, the kernel configuration tool will select one for you, usually an 8x16 font.”h]”hŒ©Also, you will need to select at least one compiled-in font, but if you don’t do anything, the kernel configuration tool will select one for you, usually an 8x16 font.”…”�”}”(hj2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K&hh÷h²hubhŒ admonition”“”)�”}”(hX<A common bug report is enabling the framebuffer without enabling the framebuffer console. Depending on the driver, you may get a blanked or garbled display, but the system still boots to completion. If you are fortunate to have a driver that does not alter the graphics chip, then you will still get a VGA console.”h]”(h»)�”}”(hŒGOTCHA”h]”hŒGOTCHA”…”�”}”(hjFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºh³hÊh´K*hjBubhÌ)�”}”(hX<A common bug report is enabling the framebuffer without enabling the framebuffer console. Depending on the driver, you may get a blanked or garbled display, but the system still boots to completion. If you are fortunate to have a driver that does not alter the graphics chip, then you will still get a VGA console.”h]”hX<A common bug report is enabling the framebuffer without enabling the framebuffer console. Depending on the driver, you may get a blanked or garbled display, but the system still boots to completion. If you are fortunate to have a driver that does not alter the graphics chip, then you will still get a VGA console.”…”�”}”(hjTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K,hjBubeh}”(h]”h ]”Œadmonition-gotcha”ah"]”h$]”h&]”uh1j@hh÷h²hh³hÊh´Nubeh}”(h]”Œa-configuration”ah ]”h"]”Œa. configuration”ah$]”h&]”uh1hµhh·h²hh³hÊh´Kubh¶)�”}”(hhh]”(h»)�”}”(hŒ B. Loading”h]”hŒ B. Loading”…”�”}”(hjth²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjqh²hh³hÊh´K3ubhÌ)�”}”(hŒPossible scenarios:”h]”hŒPossible scenarios:”…”�”}”(hj‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K5hjqh²hubhŒenumerated_list”“”)�”}”(hhh]”(hŒ list_item”“”)�”}”(hŒáDriver and fbcon are compiled statically Usually, fbcon will automatically take over your console. The notable exception is vesafb. It needs to be explicitly activated with the vga= boot option parameter. ”h]”(hÌ)�”}”(hŒ(Driver and fbcon are compiled statically”h]”hŒ(Driver and fbcon are compiled statically”…”�”}”(hj›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K7hj—ubhŒ block_quote”“”)�”}”(hŒ¥Usually, fbcon will automatically take over your console. The notable exception is vesafb. It needs to be explicitly activated with the vga= boot option parameter. ”h]”hÌ)�”}”(hŒ¤Usually, fbcon will automatically take over your console. The notable exception is vesafb. It needs to be explicitly activated with the vga= boot option parameter.”h]”hŒ¤Usually, fbcon will automatically take over your console. The notable exception is vesafb. It needs to be explicitly activated with the vga= boot option parameter.”…”�”}”(hj¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K9hj«ubah}”(h]”h ]”h"]”h$]”h&]”uh1j©h³hÊh´K9hj—ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j•hj’h²hh³hÊh´Nubj–)�”}”(hŒìDriver is compiled statically, fbcon is compiled as a module Depending on the driver, you either get a standard console, or a garbled display, as mentioned above. To get a framebuffer console, do a 'modprobe fbcon'. ”h]”(hÌ)�”}”(hŒ Select the initial font to use. The value 'name' can be any of the compiled-in fonts: 10x18, 6x10, 6x8, 7x14, Acorn8x8, MINI4x6, PEARL8x8, ProFont6x11, SUN12x22, SUN8x16, TER16x32, VGA8x16, VGA8x8. Note, not all drivers can handle font with widths not divisible by 8, such as vga16fb. ”h]”(hÌ)�”}”(hŒfbcon=font:”h]”hŒfbcon=font:”…”�”}”(hjœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KThj˜ubjª)�”}”(hXSelect the initial font to use. The value 'name' can be any of the compiled-in fonts: 10x18, 6x10, 6x8, 7x14, Acorn8x8, MINI4x6, PEARL8x8, ProFont6x11, SUN12x22, SUN8x16, TER16x32, VGA8x16, VGA8x8. Note, not all drivers can handle font with widths not divisible by 8, such as vga16fb. ”h]”(hÌ)�”}”(hŒÅSelect the initial font to use. The value 'name' can be any of the compiled-in fonts: 10x18, 6x10, 6x8, 7x14, Acorn8x8, MINI4x6, PEARL8x8, ProFont6x11, SUN12x22, SUN8x16, TER16x32, VGA8x16, VGA8x8.”h]”hŒÉSelect the initial font to use. The value ‘name’ can be any of the compiled-in fonts: 10x18, 6x10, 6x8, 7x14, Acorn8x8, MINI4x6, PEARL8x8, ProFont6x11, SUN12x22, SUN8x16, TER16x32, VGA8x16, VGA8x8.”…”�”}”(hj®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KVhjªubhÌ)�”}”(hŒVNote, not all drivers can handle font with widths not divisible by 8, such as vga16fb.”h]”hŒVNote, not all drivers can handle font with widths not divisible by 8, such as vga16fb.”…”�”}”(hj¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KZhjªubeh}”(h]”h ]”h"]”h$]”h&]”uh1j©h³hÊh´KVhj˜ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j•hj•h²hh³hÊh´Nubj–)�”}”(hXGfbcon=map:<0123> This is an interesting option. It tells which driver gets mapped to which console. The value '0123' is a sequence that gets repeated until the total length is 64 which is the number of consoles available. In the above example, it is expanded to 012301230123... and the mapping will be:: tty | 1 2 3 4 5 6 7 8 9 ... fb | 0 1 2 3 0 1 2 3 0 ... ('cat /proc/fb' should tell you what the fb numbers are) One side effect that may be useful is using a map value that exceeds the number of loaded fb drivers. For example, if only one driver is available, fb0, adding fbcon=map:1 tells fbcon not to take over the console. Later on, when you want to map the console the to the framebuffer device, you can use the con2fbmap utility. ”h]”(hÌ)�”}”(hŒfbcon=map:<0123>”h]”hŒfbcon=map:<0123>”…”�”}”(hjÚh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K^hjÖubjª)�”}”(hXïThis is an interesting option. It tells which driver gets mapped to which console. The value '0123' is a sequence that gets repeated until the total length is 64 which is the number of consoles available. In the above example, it is expanded to 012301230123... and the mapping will be:: tty | 1 2 3 4 5 6 7 8 9 ... fb | 0 1 2 3 0 1 2 3 0 ... ('cat /proc/fb' should tell you what the fb numbers are) One side effect that may be useful is using a map value that exceeds the number of loaded fb drivers. For example, if only one driver is available, fb0, adding fbcon=map:1 tells fbcon not to take over the console. Later on, when you want to map the console the to the framebuffer device, you can use the con2fbmap utility. ”h]”(hÌ)�”}”(hXThis is an interesting option. It tells which driver gets mapped to which console. The value '0123' is a sequence that gets repeated until the total length is 64 which is the number of consoles available. In the above example, it is expanded to 012301230123... and the mapping will be::”h]”hX!This is an interesting option. It tells which driver gets mapped to which console. The value ‘0123’ is a sequence that gets repeated until the total length is 64 which is the number of consoles available. In the above example, it is expanded to 012301230123... and the mapping will be:”…”�”}”(hjìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K`hjèubhŒ literal_block”“”)�”}”(hŒqtty | 1 2 3 4 5 6 7 8 9 ... fb | 0 1 2 3 0 1 2 3 0 ... ('cat /proc/fb' should tell you what the fb numbers are)”h]”hŒqtty | 1 2 3 4 5 6 7 8 9 ... fb | 0 1 2 3 0 1 2 3 0 ... ('cat /proc/fb' should tell you what the fb numbers are)”…”�”}”hjüsbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1júh³hÊh´KfhjèubhÌ)�”}”(hŒÕOne side effect that may be useful is using a map value that exceeds the number of loaded fb drivers. For example, if only one driver is available, fb0, adding fbcon=map:1 tells fbcon not to take over the console.”h]”hŒÕOne side effect that may be useful is using a map value that exceeds the number of loaded fb drivers. For example, if only one driver is available, fb0, adding fbcon=map:1 tells fbcon not to take over the console.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KkhjèubhÌ)�”}”(hŒlLater on, when you want to map the console the to the framebuffer device, you can use the con2fbmap utility.”h]”hŒlLater on, when you want to map the console the to the framebuffer device, you can use the con2fbmap utility.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kphjèubeh}”(h]”h ]”h"]”h$]”h&]”uh1j©h³hÊh´K`hjÖubeh}”(h]”h ]”h"]”h$]”h&]”uh1j•hj•h²hh³hÊh´Nubj–)�”}”(hXÛfbcon=vc:- This option tells fbcon to take over only a range of consoles as specified by the values 'n1' and 'n2'. The rest of the consoles outside the given range will still be controlled by the standard console driver. .. note:: For x86 machines, the standard console is the VGA console which is typically located on the same video card. Thus, the consoles that are controlled by the VGA console will be garbled. ”h]”(hÌ)�”}”(hŒfbcon=vc:-”h]”hŒfbcon=vc:-”…”�”}”(hj8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kshj4ubjª)�”}”(hXŸThis option tells fbcon to take over only a range of consoles as specified by the values 'n1' and 'n2'. The rest of the consoles outside the given range will still be controlled by the standard console driver. .. note:: For x86 machines, the standard console is the VGA console which is typically located on the same video card. Thus, the consoles that are controlled by the VGA console will be garbled. ”h]”(hÌ)�”}”(hŒÑThis option tells fbcon to take over only a range of consoles as specified by the values 'n1' and 'n2'. The rest of the consoles outside the given range will still be controlled by the standard console driver.”h]”hŒÙThis option tells fbcon to take over only a range of consoles as specified by the values ‘n1’ and ‘n2’. The rest of the consoles outside the given range will still be controlled by the standard console driver.”…”�”}”(hjJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KuhjFubhŒnote”“”)�”}”(hŒ¸For x86 machines, the standard console is the VGA console which is typically located on the same video card. Thus, the consoles that are controlled by the VGA console will be garbled.”h]”hÌ)�”}”(hŒ¸For x86 machines, the standard console is the VGA console which is typically located on the same video card. Thus, the consoles that are controlled by the VGA console will be garbled.”h]”hŒ¸For x86 machines, the standard console is the VGA console which is typically located on the same video card. Thus, the consoles that are controlled by the VGA console will be garbled.”…”�”}”(hj^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K{hjZubah}”(h]”h ]”h"]”h$]”h&]”uh1jXhjFubeh}”(h]”h ]”h"]”h$]”h&]”uh1j©h³hÊh´Kuhj4ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j•hj•h²hh³hÊh´Nubj–)�”}”(hXèfbcon=rotate: This option changes the orientation angle of the console display. The value 'n' accepts the following: - 0 - normal orientation (0 degree) - 1 - clockwise orientation (90 degrees) - 2 - upside down orientation (180 degrees) - 3 - counterclockwise orientation (270 degrees) The angle can be changed anytime afterwards by 'echoing' the same numbers to any one of the 2 attributes found in /sys/class/graphics/fbcon: - rotate - rotate the display of the active console - rotate_all - rotate the display of all consoles Console rotation will only become available if Framebuffer Console Rotation support is compiled in your kernel. .. note:: This is purely console rotation. Any other applications that use the framebuffer will remain at their 'normal' orientation. Actually, the underlying fb driver is totally ignorant of console rotation. ”h]”(hÌ)�”}”(hŒfbcon=rotate:”h]”hŒfbcon=rotate:”…”�”}”(hj‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khj~ubjª)�”}”(hX|This option changes the orientation angle of the console display. The value 'n' accepts the following: - 0 - normal orientation (0 degree) - 1 - clockwise orientation (90 degrees) - 2 - upside down orientation (180 degrees) - 3 - counterclockwise orientation (270 degrees) The angle can be changed anytime afterwards by 'echoing' the same numbers to any one of the 2 attributes found in /sys/class/graphics/fbcon: - rotate - rotate the display of the active console - rotate_all - rotate the display of all consoles Console rotation will only become available if Framebuffer Console Rotation support is compiled in your kernel. .. note:: This is purely console rotation. Any other applications that use the framebuffer will remain at their 'normal' orientation. Actually, the underlying fb driver is totally ignorant of console rotation. ”h]”(hÌ)�”}”(hŒfThis option changes the orientation angle of the console display. The value 'n' accepts the following:”h]”hŒjThis option changes the orientation angle of the console display. The value ‘n’ accepts the following:”…”�”}”(hj”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K�hj�ubjª)�”}”(hŒª- 0 - normal orientation (0 degree) - 1 - clockwise orientation (90 degrees) - 2 - upside down orientation (180 degrees) - 3 - counterclockwise orientation (270 degrees) ”h]”hŒ bullet_list”“”)�”}”(hhh]”(j–)�”}”(hŒ!0 - normal orientation (0 degree)”h]”hÌ)�”}”(hj­h]”hŒ!0 - normal orientation (0 degree)”…”�”}”(hj¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K„hj«ubah}”(h]”h ]”h"]”h$]”h&]”uh1j•hj¨ubj–)�”}”(hŒ&1 - clockwise orientation (90 degrees)”h]”hÌ)�”}”(hjÄh]”hŒ&1 - clockwise orientation (90 degrees)”…”�”}”(hjÆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K…hjÂubah}”(h]”h ]”h"]”h$]”h&]”uh1j•hj¨ubj–)�”}”(hŒ)2 - upside down orientation (180 degrees)”h]”hÌ)�”}”(hjÛh]”hŒ)2 - upside down orientation (180 degrees)”…”�”}”(hjÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K†hjÙubah}”(h]”h ]”h"]”h$]”h&]”uh1j•hj¨ubj–)�”}”(hŒ/3 - counterclockwise orientation (270 degrees) ”h]”hÌ)�”}”(hŒ.3 - counterclockwise orientation (270 degrees)”h]”hŒ.3 - counterclockwise orientation (270 degrees)”…”�”}”(hjôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K‡hjðubah}”(h]”h ]”h"]”h$]”h&]”uh1j•hj¨ubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ-”uh1j¦h³hÊh´K„hj¢ubah}”(h]”h ]”h"]”h$]”h&]”uh1j©h³hÊh´K„hj�ubhÌ)�”}”(hŒŒThe angle can be changed anytime afterwards by 'echoing' the same numbers to any one of the 2 attributes found in /sys/class/graphics/fbcon:”h]”hŒ�The angle can be changed anytime afterwards by ‘echoing’ the same numbers to any one of the 2 attributes found in /sys/class/graphics/fbcon:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K‰hj�ubjª)�”}”(hŒj- rotate - rotate the display of the active console - rotate_all - rotate the display of all consoles ”h]”j§)�”}”(hhh]”(j–)�”}”(hŒ5rotate - rotate the display of the active console”h]”hÌ)�”}”(hj-h]”hŒ5rotate - rotate the display of the active console”…”�”}”(hj/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K�hj+ubah}”(h]”h ]”h"]”h$]”h&]”uh1j•hj(ubj–)�”}”(hŒ0rotate_all - rotate the display of all consoles ”h]”hÌ)�”}”(hŒ/rotate_all - rotate the display of all consoles”h]”hŒ/rotate_all - rotate the display of all consoles”…”�”}”(hjFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KŽhjBubah}”(h]”h ]”h"]”h$]”h&]”uh1j•hj(ubeh}”(h]”h ]”h"]”h$]”h&]”jjuh1j¦h³hÊh´K�hj$ubah}”(h]”h ]”h"]”h$]”h&]”uh1j©h³hÊh´K�hj�ubhÌ)�”}”(hŒoConsole rotation will only become available if Framebuffer Console Rotation support is compiled in your kernel.”h]”hŒoConsole rotation will only become available if Framebuffer Console Rotation support is compiled in your kernel.”…”�”}”(hjfh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K�hj�ubjY)�”}”(hŒÈThis is purely console rotation. Any other applications that use the framebuffer will remain at their 'normal' orientation. Actually, the underlying fb driver is totally ignorant of console rotation.”h]”hÌ)�”}”(hŒÈThis is purely console rotation. Any other applications that use the framebuffer will remain at their 'normal' orientation. Actually, the underlying fb driver is totally ignorant of console rotation.”h]”hŒÌThis is purely console rotation. Any other applications that use the framebuffer will remain at their ‘normal’ orientation. Actually, the underlying fb driver is totally ignorant of console rotation.”…”�”}”(hjxh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K”hjtubah}”(h]”h ]”h"]”h$]”h&]”uh1jXhj�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j©h³hÊh´K�hj~ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j•hj•h²hh³hÊh´Nubj–)�”}”(hX@fbcon=margin: This option specifies the color of the margins. The margins are the leftover area at the right and the bottom of the screen that are not used by text. By default, this area will be black. The 'color' value is an integer number that depends on the framebuffer driver being used. ”h]”(hÌ)�”}”(hŒfbcon=margin:”h]”hŒfbcon=margin:”…”�”}”(hjœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K™hj˜ubjª)�”}”(hXThis option specifies the color of the margins. The margins are the leftover area at the right and the bottom of the screen that are not used by text. By default, this area will be black. The 'color' value is an integer number that depends on the framebuffer driver being used. ”h]”hÌ)�”}”(hXThis option specifies the color of the margins. The margins are the leftover area at the right and the bottom of the screen that are not used by text. By default, this area will be black. The 'color' value is an integer number that depends on the framebuffer driver being used.”h]”hXThis option specifies the color of the margins. The margins are the leftover area at the right and the bottom of the screen that are not used by text. By default, this area will be black. The ‘color’ value is an integer number that depends on the framebuffer driver being used.”…”�”}”(hj®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K›hjªubah}”(h]”h ]”h"]”h$]”h&]”uh1j©h³hÊh´K›hj˜ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j•hj•h²hh³hÊh´Nubj–)�”}”(hX@fbcon=nodefer If the kernel is compiled with deferred fbcon takeover support, normally the framebuffer contents, left in place by the firmware/bootloader, will be preserved until there actually is some text is output to the console. This option causes fbcon to bind immediately to the fbdev device. ”h]”(hÌ)�”}”(hŒ fbcon=nodefer”h]”hŒ fbcon=nodefer”…”�”}”(hjÌh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K hjÈubjª)�”}”(hXIf the kernel is compiled with deferred fbcon takeover support, normally the framebuffer contents, left in place by the firmware/bootloader, will be preserved until there actually is some text is output to the console. This option causes fbcon to bind immediately to the fbdev device. ”h]”hÌ)�”}”(hXIf the kernel is compiled with deferred fbcon takeover support, normally the framebuffer contents, left in place by the firmware/bootloader, will be preserved until there actually is some text is output to the console. This option causes fbcon to bind immediately to the fbdev device.”h]”hXIf the kernel is compiled with deferred fbcon takeover support, normally the framebuffer contents, left in place by the firmware/bootloader, will be preserved until there actually is some text is output to the console. This option causes fbcon to bind immediately to the fbdev device.”…”�”}”(hjÞh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K¢hjÚubah}”(h]”h ]”h"]”h$]”h&]”uh1j©h³hÊh´K¢hjÈubeh}”(h]”h ]”h"]”h$]”h&]”uh1j•hj•h²hh³hÊh´Nubj–)�”}”(hXNfbcon=logo-pos: The only possible 'location' is 'center' (without quotes), and when given, the bootup logo is moved from the default top-left corner location to the center of the framebuffer. If more than one logo is displayed due to multiple CPUs, the collected line of logos is moved as a whole. ”h]”(hÌ)�”}”(hŒfbcon=logo-pos:”h]”hŒfbcon=logo-pos:”…”�”}”(hjüh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K§hjøubjª)�”}”(hXThe only possible 'location' is 'center' (without quotes), and when given, the bootup logo is moved from the default top-left corner location to the center of the framebuffer. If more than one logo is displayed due to multiple CPUs, the collected line of logos is moved as a whole. ”h]”hÌ)�”}”(hXThe only possible 'location' is 'center' (without quotes), and when given, the bootup logo is moved from the default top-left corner location to the center of the framebuffer. If more than one logo is displayed due to multiple CPUs, the collected line of logos is moved as a whole.”h]”hX!The only possible ‘location’ is ‘center’ (without quotes), and when given, the bootup logo is moved from the default top-left corner location to the center of the framebuffer. If more than one logo is displayed due to multiple CPUs, the collected line of logos is moved as a whole.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K©hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j©h³hÊh´K©hjøubeh}”(h]”h ]”h"]”h$]”h&]”uh1j•hj•h²hh³hÊh´Nubj–)�”}”(hŒ¦fbcon=logo-count: The value 'n' overrides the number of bootup logos. 0 disables the logo, and -1 gives the default which is the number of online CPUs. ”h]”(hÌ)�”}”(hŒfbcon=logo-count:”h]”hŒfbcon=logo-count:”…”�”}”(hj,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K¯hj(ubjª)�”}”(hŒ†The value 'n' overrides the number of bootup logos. 0 disables the logo, and -1 gives the default which is the number of online CPUs. ”h]”hÌ)�”}”(hŒ…The value 'n' overrides the number of bootup logos. 0 disables the logo, and -1 gives the default which is the number of online CPUs.”h]”hŒ‰The value ‘n’ overrides the number of bootup logos. 0 disables the logo, and -1 gives the default which is the number of online CPUs.”…”�”}”(hj>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K±hj:ubah}”(h]”h ]”h"]”h$]”h&]”uh1j©h³hÊh´K±hj(ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j•hj•h²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”j_j`jahjbjcuh1j�hjlh²hh³hÊh´KTubeh}”(h]”Œc-boot-options”ah ]”h"]”Œc. boot options”ah$]”h&]”uh1hµhh·h²hh³hÊh´KOubh¶)�”}”(hhh]”(h»)�”}”(hŒ%D. Attaching, Detaching and Unloading”h]”hŒ%D. Attaching, Detaching and Unloading”…”�”}”(hjih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjfh²hh³hÊh´KµubhÌ)�”}”(hŒzBefore going on to how to attach, detach and unload the framebuffer console, an illustration of the dependencies may help.”h]”hŒzBefore going on to how to attach, detach and unload the framebuffer console, an illustration of the dependencies may help.”…”�”}”(hjwh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K·hjfh²hubhÌ)�”}”(hŒvThe console layer, as with most subsystems, needs a driver that interfaces with the hardware. Thus, in a VGA console::”h]”hŒuThe console layer, as with most subsystems, needs a driver that interfaces with the hardware. Thus, in a VGA console:”…”�”}”(hj…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kºhjfh²hubjû)�”}”(hŒ&console ---> VGA driver ---> hardware.”h]”hŒ&console ---> VGA driver ---> hardware.”…”�”}”hj“sbah}”(h]”h ]”h"]”h$]”h&]”j j uh1júh³hÊh´K½hjfh²hubhÌ)�”}”(hXAssuming the VGA driver can be unloaded, one must first unbind the VGA driver from the console layer before unloading the driver. The VGA driver cannot be unloaded if it is still bound to the console layer. (See Documentation/driver-api/console.rst for more information).”h]”hXAssuming the VGA driver can be unloaded, one must first unbind the VGA driver from the console layer before unloading the driver. The VGA driver cannot be unloaded if it is still bound to the console layer. (See Documentation/driver-api/console.rst for more information).”…”�”}”(hj¡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K¿hjfh²hubhÌ)�”}”(hŒ•This is more complicated in the case of the framebuffer console (fbcon), because fbcon is an intermediate layer between the console and the drivers::”h]”hŒ”This is more complicated in the case of the framebuffer console (fbcon), because fbcon is an intermediate layer between the console and the drivers:”…”�”}”(hj¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÄhjfh²hubjû)�”}”(hŒ3console ---> fbcon ---> fbdev drivers ---> hardware”h]”hŒ3console ---> fbcon ---> fbdev drivers ---> hardware”…”�”}”hj½sbah}”(h]”h ]”h"]”h$]”h&]”j j uh1júh³hÊh´KÇhjfh²hubhÌ)�”}”(hŒxThe fbdev drivers cannot be unloaded if bound to fbcon, and fbcon cannot be unloaded if it's bound to the console layer.”h]”hŒzThe fbdev drivers cannot be unloaded if bound to fbcon, and fbcon cannot be unloaded if it’s bound to the console layer.”…”�”}”(hjËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÉhjfh²hubhÌ)�”}”(hX0So to unload the fbdev drivers, one must first unbind fbcon from the console, then unbind the fbdev drivers from fbcon. Fortunately, unbinding fbcon from the console layer will automatically unbind framebuffer drivers from fbcon. Thus, there is no need to explicitly unbind the fbdev drivers from fbcon.”h]”hX0So to unload the fbdev drivers, one must first unbind fbcon from the console, then unbind the fbdev drivers from fbcon. Fortunately, unbinding fbcon from the console layer will automatically unbind framebuffer drivers from fbcon. Thus, there is no need to explicitly unbind the fbdev drivers from fbcon.”…”�”}”(hjÙh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÌhjfh²hubhÌ)�”}”(hŒySo, how do we unbind fbcon from the console? Part of the answer is in Documentation/driver-api/console.rst. To summarize:”h]”hŒySo, how do we unbind fbcon from the console? Part of the answer is in Documentation/driver-api/console.rst. To summarize:”…”�”}”(hjçh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÒhjfh²hubhÌ)�”}”(hŒyEcho a value to the bind file that represents the framebuffer console driver. So assuming vtcon1 represents fbcon, then::”h]”hŒxEcho a value to the bind file that represents the framebuffer console driver. So assuming vtcon1 represents fbcon, then:”…”�”}”(hjõh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÕhjfh²hubjû)�”}”(hXecho 1 > /sys/class/vtconsole/vtcon1/bind - attach framebuffer console to console layer echo 0 > /sys/class/vtconsole/vtcon1/bind - detach framebuffer console from console layer”h]”hXecho 1 > /sys/class/vtconsole/vtcon1/bind - attach framebuffer console to console layer echo 0 > /sys/class/vtconsole/vtcon1/bind - detach framebuffer console from console layer”…”�”}”hjsbah}”(h]”h ]”h"]”h$]”h&]”j j uh1júh³hÊh´KØhjfh²hubhÌ)�”}”(hX‚If fbcon is detached from the console layer, your boot console driver (which is usually VGA text mode) will take over. A few drivers (rivafb and i810fb) will restore VGA text mode for you. With the rest, before detaching fbcon, you must take a few additional steps to make sure that your VGA text mode is restored properly. The following is one of the several methods that you can do:”h]”hX‚If fbcon is detached from the console layer, your boot console driver (which is usually VGA text mode) will take over. A few drivers (rivafb and i810fb) will restore VGA text mode for you. With the rest, before detaching fbcon, you must take a few additional steps to make sure that your VGA text mode is restored properly. The following is one of the several methods that you can do:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KÝhjfh²hubj‘)�”}”(hhh]”(j–)�”}”(hŒ‰Download or install vbetool. This utility is included with most distributions nowadays, and is usually part of the suspend/resume tool. ”h]”hÌ)�”}”(hŒˆDownload or install vbetool. This utility is included with most distributions nowadays, and is usually part of the suspend/resume tool.”h]”hŒˆDownload or install vbetool. This utility is included with most distributions nowadays, and is usually part of the suspend/resume tool.”…”�”}”(hj&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kãhj"ubah}”(h]”h ]”h"]”h$]”h&]”uh1j•hjh²hh³hÊh´Nubj–)�”}”(hŒ”In your kernel configuration, ensure that CONFIG_FRAMEBUFFER_CONSOLE is set to 'y' or 'm'. Enable one or more of your favorite framebuffer drivers. ”h]”hÌ)�”}”(hŒ“In your kernel configuration, ensure that CONFIG_FRAMEBUFFER_CONSOLE is set to 'y' or 'm'. Enable one or more of your favorite framebuffer drivers.”h]”hŒ›In your kernel configuration, ensure that CONFIG_FRAMEBUFFER_CONSOLE is set to ‘y’ or ‘m’. Enable one or more of your favorite framebuffer drivers.”…”�”}”(hj>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kæhj:ubah}”(h]”h ]”h"]”h$]”h&]”uh1j•hjh²hh³hÊh´Nubj–)�”}”(hŒøBoot into text mode and as root run:: vbetool vbestate save > The above command saves the register contents of your graphics hardware to . You need to do this step only once as the state file can be reused. ”h]”(hÌ)�”}”(hŒ%Boot into text mode and as root run::”h]”hŒ$Boot into text mode and as root run:”…”�”}”(hjVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KéhjRubjû)�”}”(hŒ(vbetool vbestate save > ”h]”hŒ(vbetool vbestate save > ”…”�”}”hjdsbah}”(h]”h ]”h"]”h$]”h&]”j j uh1júh³hÊh´KëhjRubhÌ)�”}”(hŒ¡The above command saves the register contents of your graphics hardware to . You need to do this step only once as the state file can be reused.”h]”hŒ¡The above command saves the register contents of your graphics hardware to . You need to do this step only once as the state file can be reused.”…”�”}”(hjrh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KíhjRubeh}”(h]”h ]”h"]”h$]”h&]”uh1j•hjh²hh³hÊh´Nubj–)�”}”(hŒLIf fbcon is compiled as a module, load fbcon by doing:: modprobe fbcon ”h]”(hÌ)�”}”(hŒ7If fbcon is compiled as a module, load fbcon by doing::”h]”hŒ6If fbcon is compiled as a module, load fbcon by doing:”…”�”}”(hjŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kñhj†ubjû)�”}”(hŒmodprobe fbcon”h]”hŒmodprobe fbcon”…”�”}”hj˜sbah}”(h]”h ]”h"]”h$]”h&]”j j uh1júh³hÊh´Kóhj†ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j•hjh²hh³hÊh´Nubj–)�”}”(hŒzNow to detach fbcon:: vbetool vbestate restore < && \ echo 0 > /sys/class/vtconsole/vtcon1/bind ”h]”(hÌ)�”}”(hŒNow to detach fbcon::”h]”hŒNow to detach fbcon:”…”�”}”(hj°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kõhj¬ubjû)�”}”(hŒZvbetool vbestate restore < && \ echo 0 > /sys/class/vtconsole/vtcon1/bind”h]”hŒZvbetool vbestate restore < && \ echo 0 > /sys/class/vtconsole/vtcon1/bind”…”�”}”hj¾sbah}”(h]”h ]”h"]”h$]”h&]”j j uh1júh³hÊh´K÷hj¬ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j•hjh²hh³hÊh´Nubj–)�”}”(hŒoThat's it, you're back to VGA mode. And if you compiled fbcon as a module, you can unload it by 'rmmod fbcon'. ”h]”hÌ)�”}”(hŒnThat's it, you're back to VGA mode. And if you compiled fbcon as a module, you can unload it by 'rmmod fbcon'.”h]”hŒvThat’s it, you’re back to VGA mode. And if you compiled fbcon as a module, you can unload it by ‘rmmod fbcon’.”…”�”}”(hjÖh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KúhjÒubah}”(h]”h ]”h"]”h$]”h&]”uh1j•hjh²hh³hÊh´Nubj–)�”}”(hŒCTo reattach fbcon:: echo 1 > /sys/class/vtconsole/vtcon1/bind ”h]”(hÌ)�”}”(hŒTo reattach fbcon::”h]”hŒTo reattach fbcon:”…”�”}”(hjîh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Kýhjêubjû)�”}”(hŒ)echo 1 > /sys/class/vtconsole/vtcon1/bind”h]”hŒ)echo 1 > /sys/class/vtconsole/vtcon1/bind”…”�”}”hjüsbah}”(h]”h ]”h"]”h$]”h&]”j j uh1júh³hÊh´Kÿhjêubeh}”(h]”h ]”h"]”h$]”h&]”uh1j•hjh²hh³hÊh´Nubj–)�”}”(hX‚Once fbcon is unbound, all drivers registered to the system will also become unbound. This means that fbcon and individual framebuffer drivers can be unloaded or reloaded at will. Reloading the drivers or fbcon will automatically bind the console, fbcon and the drivers together. Unloading all the drivers without unloading fbcon will make it impossible for the console to bind fbcon. ”h]”hÌ)�”}”(hX�Once fbcon is unbound, all drivers registered to the system will also become unbound. This means that fbcon and individual framebuffer drivers can be unloaded or reloaded at will. Reloading the drivers or fbcon will automatically bind the console, fbcon and the drivers together. Unloading all the drivers without unloading fbcon will make it impossible for the console to bind fbcon.”h]”hX�Once fbcon is unbound, all drivers registered to the system will also become unbound. This means that fbcon and individual framebuffer drivers can be unloaded or reloaded at will. Reloading the drivers or fbcon will automatically bind the console, fbcon and the drivers together. Unloading all the drivers without unloading fbcon will make it impossible for the console to bind fbcon.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mhjubah}”(h]”h ]”h"]”h$]”h&]”uh1j•hjh²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”j_j`jahjbjcuh1j�hjfh²hh³hÊh´Kãubeh}”(h]”Œ#d-attaching-detaching-and-unloading”ah ]”h"]”Œ%d. attaching, detaching and unloading”ah$]”h&]”uh1hµhh·h²hh³hÊh´Kµubh¶)�”}”(hhh]”(h»)�”}”(hŒNotes for vesafb users:”h]”hŒNotes for vesafb users:”…”�”}”(hj9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj6h²hh³hÊh´M ubhÌ)�”}”(hX�Unfortunately, if your bootline includes a vga=xxx parameter that sets the hardware in graphics mode, such as when loading vesafb, vgacon will not load. Instead, vgacon will replace the default boot console with dummycon, and you won't get any display after detaching fbcon. Your machine is still alive, so you can reattach vesafb. However, to reattach vesafb, you need to do one of the following:”h]”hX�Unfortunately, if your bootline includes a vga=xxx parameter that sets the hardware in graphics mode, such as when loading vesafb, vgacon will not load. Instead, vgacon will replace the default boot console with dummycon, and you won’t get any display after detaching fbcon. Your machine is still alive, so you can reattach vesafb. However, to reattach vesafb, you need to do one of the following:”…”�”}”(hjGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M hj6h²hubhÌ)�”}”(hŒ Variation 1:”h]”hŒ Variation 1:”…”�”}”(hjUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mhj6h²hubjª)�”}”(hXKa. Before detaching fbcon, do:: vbetool vbemode save > # do once for each vesafb mode, # the file can be reused b. Detach fbcon as in step 5. c. Attach fbcon:: vbetool vbestate restore < && \ echo 1 > /sys/class/vtconsole/vtcon1/bind ”h]”j‘)�”}”(hhh]”(j–)�”}”(hŒ«Before detaching fbcon, do:: vbetool vbemode save > # do once for each vesafb mode, # the file can be reused ”h]”(hÌ)�”}”(hŒBefore detaching fbcon, do::”h]”hŒBefore detaching fbcon, do:”…”�”}”(hjnh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mhjjubjû)�”}”(hŒŠvbetool vbemode save > # do once for each vesafb mode, # the file can be reused”h]”hŒŠvbetool vbemode save > # do once for each vesafb mode, # the file can be reused”…”�”}”hj|sbah}”(h]”h ]”h"]”h$]”h&]”j j uh1júh³hÊh´Mhjjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j•hjgubj–)�”}”(hŒDetach fbcon as in step 5. ”h]”hÌ)�”}”(hŒDetach fbcon as in step 5.”h]”hŒDetach fbcon as in step 5.”…”�”}”(hj”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mhj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1j•hjgubj–)�”}”(hŒnAttach fbcon:: vbetool vbestate restore < && \ echo 1 > /sys/class/vtconsole/vtcon1/bind ”h]”(hÌ)�”}”(hŒAttach fbcon::”h]”hŒ Attach fbcon:”…”�”}”(hj¬h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Mhj¨ubjû)�”}”(hŒ[vbetool vbestate restore < && \ echo 1 > /sys/class/vtconsole/vtcon1/bind”h]”hŒ[vbetool vbestate restore < && \ echo 1 > /sys/class/vtconsole/vtcon1/bind”…”�”}”hjºsbah}”(h]”h ]”h"]”h$]”h&]”j j uh1júh³hÊh´Mhj¨ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j•hjgubeh}”(h]”h ]”h"]”h$]”h&]”j_Œ loweralpha”jahjbjcuh1j�hjcubah}”(h]”h ]”h"]”h$]”h&]”uh1j©h³hÊh´Mhj6h²hubhÌ)�”}”(hŒ Variation 2:”h]”hŒ Variation 2:”…”�”}”(hjÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M hj6h²hubjª)�”}”(hXa. Before detaching fbcon, do:: echo > /sys/class/tty/console/bind vbetool vbemode get b. Take note of the mode number b. Detach fbcon as in step 5. c. Attach fbcon:: vbetool vbemode set && \ echo 1 > /sys/class/vtconsole/vtcon1/bind ”h]”(j‘)�”}”(hhh]”(j–)�”}”(hŒ]Before detaching fbcon, do:: echo > /sys/class/tty/console/bind vbetool vbemode get ”h]”(hÌ)�”}”(hŒBefore detaching fbcon, do::”h]”hŒBefore detaching fbcon, do:”…”�”}”(hjôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M"hjðubjû)�”}”(hŒ > /sys/class/tty/console/bind vbetool vbemode get”h]”hŒ > /sys/class/tty/console/bind vbetool vbemode get”…”�”}”hjsbah}”(h]”h ]”h"]”h$]”h&]”j j uh1júh³hÊh´M$hjðubeh}”(h]”h ]”h"]”h$]”h&]”uh1j•hjíubj–)�”}”(hŒTake note of the mode number ”h]”hÌ)�”}”(hŒTake note of the mode number”h]”hŒTake note of the mode number”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M(hjubah}”(h]”h ]”h"]”h$]”h&]”uh1j•hjíubeh}”(h]”h ]”h"]”h$]”h&]”j_jÔjahjbjcuh1j�hjéubj‘)�”}”(hhh]”(j–)�”}”(hŒDetach fbcon as in step 5. ”h]”hÌ)�”}”(hŒDetach fbcon as in step 5.”h]”hŒDetach fbcon as in step 5.”…”�”}”(hj;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M*hj7ubah}”(h]”h ]”h"]”h$]”h&]”uh1j•hj4ubj–)�”}”(hŒcAttach fbcon:: vbetool vbemode set && \ echo 1 > /sys/class/vtconsole/vtcon1/bind ”h]”(hÌ)�”}”(hŒAttach fbcon::”h]”hŒ Attach fbcon:”…”�”}”(hjSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M,hjOubjû)�”}”(hŒPvbetool vbemode set && \ echo 1 > /sys/class/vtconsole/vtcon1/bind”h]”hŒPvbetool vbemode set && \ echo 1 > /sys/class/vtconsole/vtcon1/bind”…”�”}”hjasbah}”(h]”h ]”h"]”h$]”h&]”j j uh1júh³hÊh´M.hjOubeh}”(h]”h ]”h"]”h$]”h&]”uh1j•hj4ubeh}”(h]”h ]”h"]”h$]”h&]”j_jÔjahjbjcŒstart”Kuh1j�hjéubeh}”(h]”h ]”h"]”h$]”h&]”uh1j©h³hÊh´M"hj6h²hubeh}”(h]”Œnotes-for-vesafb-users”ah ]”h"]”Œnotes for vesafb users:”ah$]”h&]”uh1hµhh·h²hh³hÊh´M ubh¶)�”}”(hhh]”(h»)�”}”(hŒSamples:”h]”hŒSamples:”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjŠh²hh³hÊh´M2ubhÌ)�”}”(hŒ{Here are 2 sample bash scripts that you can use to bind or unbind the framebuffer console driver if you are on an X86 box::”h]”hŒzHere are 2 sample bash scripts that you can use to bind or unbind the framebuffer console driver if you are on an X86 box:”…”�”}”(hj›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´M4hjŠh²hubjû)�”}”(hXl#!/bin/bash # Unbind fbcon # Change this to where your actual vgastate file is located # Or Use VGASTATE=$1 to indicate the state file at runtime VGASTATE=/tmp/vgastate # path to vbetool VBETOOL=/usr/local/bin for (( i = 0; i < 16; i++)) do if test -x /sys/class/vtconsole/vtcon$i; then if [ `cat /sys/class/vtconsole/vtcon$i/name | grep -c "frame buffer"` \ = 1 ]; then if test -x $VBETOOL/vbetool; then echo Unbinding vtcon$i $VBETOOL/vbetool vbestate restore < $VGASTATE echo 0 > /sys/class/vtconsole/vtcon$i/bind fi fi fi done”h]”hXl#!/bin/bash # Unbind fbcon # Change this to where your actual vgastate file is located # Or Use VGASTATE=$1 to indicate the state file at runtime VGASTATE=/tmp/vgastate # path to vbetool VBETOOL=/usr/local/bin for (( i = 0; i < 16; i++)) do if test -x /sys/class/vtconsole/vtcon$i; then if [ `cat /sys/class/vtconsole/vtcon$i/name | grep -c "frame buffer"` \ = 1 ]; then if test -x $VBETOOL/vbetool; then echo Unbinding vtcon$i $VBETOOL/vbetool vbestate restore < $VGASTATE echo 0 > /sys/class/vtconsole/vtcon$i/bind fi fi fi done”…”�”}”hj©sbah}”(h]”h ]”h"]”h$]”h&]”j j uh1júh³hÊh´M7hjŠh²hubhŒ transition”“”)�”}”(hŒK---------------------------------------------------------------------------”h]”h}”(h]”h ]”h"]”h$]”h&]”uh1j·h³hÊh´MPhjŠh²hubjû)�”}”(hX2#!/bin/bash # Bind fbcon for (( i = 0; i < 16; i++)) do if test -x /sys/class/vtconsole/vtcon$i; then if [ `cat /sys/class/vtconsole/vtcon$i/name | grep -c "frame buffer"` \ = 1 ]; then echo Unbinding vtcon$i echo 1 > /sys/class/vtconsole/vtcon$i/bind fi fi done”h]”hX2#!/bin/bash # Bind fbcon for (( i = 0; i < 16; i++)) do if test -x /sys/class/vtconsole/vtcon$i; then if [ `cat /sys/class/vtconsole/vtcon$i/name | grep -c "frame buffer"` \ = 1 ]; then echo Unbinding vtcon$i echo 1 > /sys/class/vtconsole/vtcon$i/bind fi fi done”…”�”}”hjÃsbah}”(h]”h ]”h"]”h$]”h&]”j j uh1júh³hÊh´MThjŠh²hubhÌ)�”}”(hŒ!Antonino Daplas ”h]”(hŒAntonino Daplas <”…”�”}”(hjÑh²hh³Nh´NubhŒ reference”“”)�”}”(hŒadaplas@pol.net”h]”hŒadaplas@pol.net”…”�”}”(hjÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:adaplas@pol.net”uh1jÙhjÑubhŒ>”…”�”}”(hjÑh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´MbhjŠh²hubeh}”(h]”Œsamples”ah ]”h"]”Œsamples:”ah$]”h&]”uh1hµhh·h²hh³hÊh´M2ubeh}”(h]”Œthe-framebuffer-console”ah ]”h"]”Œthe framebuffer console”ah$]”h&]”uh1hµhhh²hh³hÊh´Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÊuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)�”}”(hºNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”j( Œerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÊŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”(j jÿjnjkjijfjcj`j3j0j‡j„júj÷uŒ nametypes”}”(j ‰jn‰ji‰jc‰j3‰j‡‰jú‰uh}”(jÿh·jkh÷jfjqj`jlj0jfj„j6j÷jŠuŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”hŒsystem_message”“”)�”}”(hhh]”hÌ)�”}”(hŒ:Enumerated list start value not ordinal-1: "b" (ordinal 2)”h]”hŒ>Enumerated list start value not ordinal-1: “bâ€� (ordinal 2)”…”�”}”(hj� h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËhjŒ ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”ŒINFO”Œsource”hÊŒline”Kuh1jŠ hjéubaŒtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nh²hub.