€•bŒ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/driver-api/console”Œ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/driver-api/console”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ&/translations/it_IT/driver-api/console”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ&/translations/ja_JP/driver-api/console”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ&/translations/ko_KR/driver-api/console”Œ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/driver-api/console”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒcomment”“”)”}”(hŒ SPDX-License-Identifier: GPL-2.0”h]”hŒ SPDX-License-Identifier: GPL-2.0”…””}”hh£sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1h¡hhhžhhŸŒ@/var/lib/git/docbuild/linux/Documentation/driver-api/console.rst”h KubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒConsole Drivers”h]”hŒConsole Drivers”…””}”(hh»hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¹hh¶hžhhŸh³h KubhŒ paragraph”“”)”}”(hXNThe Linux kernel has 2 general types of console drivers. The first type is assigned by the kernel to all the virtual consoles during the boot process. This type will be called 'system driver', and only one system driver is allowed to exist. The system driver is persistent and it can never be unloaded, though it may become inactive.”h]”hXRThe Linux kernel has 2 general types of console drivers. The first type is assigned by the kernel to all the virtual consoles during the boot process. This type will be called ‘system driver’, and only one system driver is allowed to exist. The system driver is persistent and it can never be unloaded, though it may become inactive.”…””}”(hhËhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khh¶hžhubhÊ)”}”(hX The second type has to be explicitly loaded and unloaded. This will be called 'modular driver' by this document. Multiple modular drivers can coexist at any time with each driver sharing the console with other drivers including the system driver. However, modular drivers cannot take over the console that is currently occupied by another modular driver. (Exception: Drivers that call do_take_over_console() will succeed in the takeover regardless of the type of driver occupying the consoles.) They can only take over the console that is occupied by the system driver. In the same token, if the modular driver is released by the console, the system driver will take over.”h]”hX¤The second type has to be explicitly loaded and unloaded. This will be called ‘modular driver’ by this document. Multiple modular drivers can coexist at any time with each driver sharing the console with other drivers including the system driver. However, modular drivers cannot take over the console that is currently occupied by another modular driver. (Exception: Drivers that call do_take_over_console() will succeed in the takeover regardless of the type of driver occupying the consoles.) They can only take over the console that is occupied by the system driver. In the same token, if the modular driver is released by the console, the system driver will take over.”…””}”(hhÙhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K hh¶hžhubhÊ)”}”(hŒDModular drivers, from the programmer's point of view, have to call::”h]”hŒEModular drivers, from the programmer’s point of view, have to call:”…””}”(hhçhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khh¶hžhubhŒ literal_block”“”)”}”(hŒ¢do_take_over_console() - load and bind driver to console layer give_up_console() - unload driver; it will only work if driver is fully unbound”h]”hŒ¢do_take_over_console() - load and bind driver to console layer give_up_console() - unload driver; it will only work if driver is fully unbound”…””}”hh÷sbah}”(h]”h ]”h"]”h$]”h&]”h±h²uh1hõhŸh³h Khh¶hžhubhÊ)”}”(hŒ4In newer kernels, the following are also available::”h]”hŒ3In newer kernels, the following are also available:”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Khh¶hžhubhö)”}”(hŒ3do_register_con_driver() do_unregister_con_driver()”h]”hŒ3do_register_con_driver() do_unregister_con_driver()”…””}”hjsbah}”(h]”h ]”h"]”h$]”h&]”h±h²uh1hõhŸh³h Khh¶hžhubhÊ)”}”(hŒÓIf sysfs is enabled, the contents of /sys/class/vtconsole can be examined. This shows the console backends currently registered by the system which are named vtcon where is an integer from 0 to 15. Thus::”h]”hŒÒIf sysfs is enabled, the contents of /sys/class/vtconsole can be examined. This shows the console backends currently registered by the system which are named vtcon where is an integer from 0 to 15. Thus:”…””}”(hj!hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K"hh¶hžhubhö)”}”(hŒ-ls /sys/class/vtconsole . .. vtcon0 vtcon1”h]”hŒ-ls /sys/class/vtconsole . .. vtcon0 vtcon1”…””}”hj/sbah}”(h]”h ]”h"]”h$]”h&]”h±h²uh1hõhŸh³h K'hh¶hžhubhÊ)”}”(hŒ4Each directory in /sys/class/vtconsole has 3 files::”h]”hŒ3Each directory in /sys/class/vtconsole has 3 files:”…””}”(hj=hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K*hh¶hžhubhö)”}”(hŒ8ls /sys/class/vtconsole/vtcon0 . .. bind name uevent”h]”hŒ8ls /sys/class/vtconsole/vtcon0 . .. bind name uevent”…””}”hjKsbah}”(h]”h ]”h"]”h$]”h&]”h±h²uh1hõhŸh³h K,hh¶hžhubhÊ)”}”(hŒWhat do these files signify?”h]”hŒWhat do these files signify?”…””}”(hjYhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K/hh¶hžhubhŒ block_quote”“”)”}”(hXu1. bind - this is a read/write file. It shows the status of the driver if read, or acts to bind or unbind the driver to the virtual consoles when written to. The possible values are: 0 - means the driver is not bound and if echo'ed, commands the driver to unbind 1 - means the driver is bound and if echo'ed, commands the driver to bind 2. name - read-only file. Shows the name of the driver in this format:: cat /sys/class/vtconsole/vtcon0/name (S) VGA+ '(S)' stands for a (S)ystem driver, i.e., it cannot be directly commanded to bind or unbind 'VGA+' is the name of the driver cat /sys/class/vtconsole/vtcon1/name (M) frame buffer device In this case, '(M)' stands for a (M)odular driver, one that can be directly commanded to bind or unbind. 3. uevent - ignore this file ”h]”hŒenumerated_list”“”)”}”(hhh]”(hŒ list_item”“”)”}”(hX\bind - this is a read/write file. It shows the status of the driver if read, or acts to bind or unbind the driver to the virtual consoles when written to. The possible values are: 0 - means the driver is not bound and if echo'ed, commands the driver to unbind 1 - means the driver is bound and if echo'ed, commands the driver to bind ”h]”(hÊ)”}”(hŒ³bind - this is a read/write file. It shows the status of the driver if read, or acts to bind or unbind the driver to the virtual consoles when written to. The possible values are:”h]”hŒ³bind - this is a read/write file. It shows the status of the driver if read, or acts to bind or unbind the driver to the virtual consoles when written to. The possible values are:”…””}”(hjxhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K1hjtubhŒdefinition_list”“”)”}”(hhh]”(hŒdefinition_list_item”“”)”}”(hŒR0 - means the driver is not bound and if echo'ed, commands the driver to unbind ”h]”(hŒterm”“”)”}”(hŒ0”h]”hŒ0”…””}”(hj“hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j‘hŸh³h K7hjubhŒ definition”“”)”}”(hhh]”hŒ bullet_list”“”)”}”(hhh]”js)”}”(hŒLmeans the driver is not bound and if echo'ed, commands the driver to unbind ”h]”hÊ)”}”(hŒKmeans the driver is not bound and if echo'ed, commands the driver to unbind”h]”hŒMmeans the driver is not bound and if echo’ed, commands the driver to unbind”…””}”(hj¯hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K6hj«ubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhj¨ubah}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ-”uh1j¦hŸh³h K6hj£ubah}”(h]”h ]”h"]”h$]”h&]”uh1j¡hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j‹hŸh³h K7hjˆubjŒ)”}”(hŒL1 - means the driver is bound and if echo'ed, commands the driver to bind ”h]”(j’)”}”(hŒ1”h]”hŒ1”…””}”(hjÛhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j‘hŸh³h K;hj×ubj¢)”}”(hhh]”j§)”}”(hhh]”js)”}”(hŒFmeans the driver is bound and if echo'ed, commands the driver to bind ”h]”hÊ)”}”(hŒEmeans the driver is bound and if echo'ed, commands the driver to bind”h]”hŒGmeans the driver is bound and if echo’ed, commands the driver to bind”…””}”(hjóhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K:hjïubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhjìubah}”(h]”h ]”h"]”h$]”h&]”jÉjÊuh1j¦hŸh³h K:hjéubah}”(h]”h ]”h"]”h$]”h&]”uh1j¡hj×ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j‹hŸh³h K;hjˆubeh}”(h]”h ]”h"]”h$]”h&]”uh1j†hjtubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjoubjs)”}”(hXÁname - read-only file. Shows the name of the driver in this format:: cat /sys/class/vtconsole/vtcon0/name (S) VGA+ '(S)' stands for a (S)ystem driver, i.e., it cannot be directly commanded to bind or unbind 'VGA+' is the name of the driver cat /sys/class/vtconsole/vtcon1/name (M) frame buffer device In this case, '(M)' stands for a (M)odular driver, one that can be directly commanded to bind or unbind. ”h]”(hÊ)”}”(hŒDname - read-only file. Shows the name of the driver in this format::”h]”hŒCname - read-only file. Shows the name of the driver in this format:”…””}”(hj)hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K=hj%ubhö)”}”(hXhcat /sys/class/vtconsole/vtcon0/name (S) VGA+ '(S)' stands for a (S)ystem driver, i.e., it cannot be directly commanded to bind or unbind 'VGA+' is the name of the driver cat /sys/class/vtconsole/vtcon1/name (M) frame buffer device In this case, '(M)' stands for a (M)odular driver, one that can be directly commanded to bind or unbind.”h]”hXhcat /sys/class/vtconsole/vtcon0/name (S) VGA+ '(S)' stands for a (S)ystem driver, i.e., it cannot be directly commanded to bind or unbind 'VGA+' is the name of the driver cat /sys/class/vtconsole/vtcon1/name (M) frame buffer device In this case, '(M)' stands for a (M)odular driver, one that can be directly commanded to bind or unbind.”…””}”hj7sbah}”(h]”h ]”h"]”h$]”h&]”h±h²uh1hõhŸh³h K?hj%ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jrhjoubjs)”}”(hŒuevent - ignore this file ”h]”hÊ)”}”(hŒuevent - ignore this file”h]”hŒuevent - ignore this file”…””}”(hjOhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h KMhjKubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhjoubeh}”(h]”h ]”h"]”h$]”h&]”Œenumtype”Œarabic”Œprefix”hŒsuffix”Œ.”uh1jmhjiubah}”(h]”h ]”h"]”h$]”h&]”uh1jghŸh³h K1hh¶hžhubhÊ)”}”(hŒðWhen unbinding, the modular driver is detached first, and then the system driver takes over the consoles vacated by the driver. Binding, on the other hand, will bind the driver to the consoles that are currently occupied by a system driver.”h]”hŒðWhen unbinding, the modular driver is detached first, and then the system driver takes over the consoles vacated by the driver. Binding, on the other hand, will bind the driver to the consoles that are currently occupied by a system driver.”…””}”(hjthžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h KOhh¶hžhubj‡)”}”(hhh]”(jŒ)”}”(hŒ·NOTE1: Binding and unbinding must be selected in Kconfig. It's under:: Device Drivers -> Character devices -> Support for binding and unbinding console drivers ”h]”(j’)”}”(hŒNOTE1:”h]”hŒNOTE1:”…””}”(hj‰hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j‘hŸh³h KYhj…ubj¢)”}”(hhh]”(hÊ)”}”(hŒ?Binding and unbinding must be selected in Kconfig. It's under::”h]”hŒ@Binding and unbinding must be selected in Kconfig. It’s under:”…””}”(hjšhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h KUhj—ubhö)”}”(hŒhDevice Drivers -> Character devices -> Support for binding and unbinding console drivers”h]”hŒhDevice Drivers -> Character devices -> Support for binding and unbinding console drivers”…””}”hj¨sbah}”(h]”h ]”h"]”h$]”h&]”h±h²uh1hõhŸh³h KWhj—ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¡hj…ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j‹hŸh³h KYhj‚ubjŒ)”}”(hŒ³NOTE2: If any of the virtual consoles are in KD_GRAPHICS mode, then binding or unbinding will not succeed. An example of an application that sets the console to KD_GRAPHICS is X. ”h]”(j’)”}”(hŒNOTE2:”h]”hŒNOTE2:”…””}”(hjÆhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j‘hŸh³h K^hjÂubj¢)”}”(hhh]”hÊ)”}”(hŒ«If any of the virtual consoles are in KD_GRAPHICS mode, then binding or unbinding will not succeed. An example of an application that sets the console to KD_GRAPHICS is X.”h]”hŒ«If any of the virtual consoles are in KD_GRAPHICS mode, then binding or unbinding will not succeed. An example of an application that sets the console to KD_GRAPHICS is X.”…””}”(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&]”uh1j‹hŸh³h K^hj‚hžhubeh}”(h]”h ]”h"]”h$]”h&]”uh1j†hh¶hžhhŸh³h NubhÊ)”}”(hXÓHow useful is this feature? This is very useful for console driver developers. By unbinding the driver from the console layer, one can unload the driver, make changes, recompile, reload and rebind the driver without any need for rebooting the kernel. For regular users who may want to switch from framebuffer console to VGA console and vice versa, this feature also makes this possible. (NOTE NOTE NOTE: Please read fbcon.txt under Documentation/fb for more details.)”h]”hXÓHow useful is this feature? This is very useful for console driver developers. By unbinding the driver from the console layer, one can unload the driver, make changes, recompile, reload and rebind the driver without any need for rebooting the kernel. For regular users who may want to switch from framebuffer console to VGA console and vice versa, this feature also makes this possible. (NOTE NOTE NOTE: Please read fbcon.txt under Documentation/fb for more details.)”…””}”(hj÷hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K`hh¶hžhubhµ)”}”(hhh]”(hº)”}”(hŒNotes for developers”h]”hŒNotes for developers”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¹hjhžhhŸh³h KiubhÊ)”}”(hŒ.do_take_over_console() is now broken up into::”h]”hŒ-do_take_over_console() is now broken up into:”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Kkhjhžhubhö)”}”(hŒ@do_register_con_driver() do_bind_con_driver() - private function”h]”hŒ@do_register_con_driver() do_bind_con_driver() - private function”…””}”hj$sbah}”(h]”h ]”h"]”h$]”h&]”h±h²uh1hõhŸh³h KmhjhžhubhÊ)”}”(hŒ³give_up_console() is a wrapper to do_unregister_con_driver(), and a driver must be fully unbound for this call to succeed. con_is_bound() will check if the driver is bound or not.”h]”hŒ³give_up_console() is a wrapper to do_unregister_con_driver(), and a driver must be fully unbound for this call to succeed. con_is_bound() will check if the driver is bound or not.”…””}”(hj2hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Kphjhžhubeh}”(h]”Œnotes-for-developers”ah ]”h"]”Œnotes for developers”ah$]”h&]”uh1h´hh¶hžhhŸh³h Kiubhµ)”}”(hhh]”(hº)”}”(hŒ%Guidelines for console driver writers”h]”hŒ%Guidelines for console driver writers”…””}”(hjKhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¹hjHhžhhŸh³h KuubhÊ)”}”(hŒvIn order for binding to and unbinding from the console to properly work, console drivers must follow these guidelines:”h]”hŒvIn order for binding to and unbinding from the console to properly work, console drivers must follow these guidelines:”…””}”(hjYhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h KwhjHhžhubjn)”}”(hhh]”(js)”}”(hX5All drivers, except system drivers, must call either do_register_con_driver() or do_take_over_console(). do_register_con_driver() will just add the driver to the console's internal list. It won't take over the console. do_take_over_console(), as it name implies, will also take over (or bind to) the console. ”h]”hÊ)”}”(hX4All drivers, except system drivers, must call either do_register_con_driver() or do_take_over_console(). do_register_con_driver() will just add the driver to the console's internal list. It won't take over the console. do_take_over_console(), as it name implies, will also take over (or bind to) the console.”h]”hX8All drivers, except system drivers, must call either do_register_con_driver() or do_take_over_console(). do_register_con_driver() will just add the driver to the console’s internal list. It won’t take over the console. do_take_over_console(), as it name implies, will also take over (or bind to) the console.”…””}”(hjnhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Kzhjjubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhjghžhhŸh³h Nubjs)”}”(hŒVAll resources allocated during con->con_init() must be released in con->con_deinit(). ”h]”hÊ)”}”(hŒUAll resources allocated during con->con_init() must be released in con->con_deinit().”h]”hŒUAll resources allocated during con->con_init() must be released in con->con_deinit().”…””}”(hj†hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K€hj‚ubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhjghžhhŸh³h Nubjs)”}”(hX!All resources allocated in con->con_startup() must be released when the driver, which was previously bound, becomes unbound. The console layer does not have a complementary call to con->con_startup() so it's up to the driver to check when it's legal to release these resources. Calling con_is_bound() in con->con_deinit() will help. If the call returned false(), then it's safe to release the resources. This balance has to be ensured because con->con_startup() can be called again when a request to rebind the driver to the console arrives. ”h]”hÊ)”}”(hX All resources allocated in con->con_startup() must be released when the driver, which was previously bound, becomes unbound. The console layer does not have a complementary call to con->con_startup() so it's up to the driver to check when it's legal to release these resources. Calling con_is_bound() in con->con_deinit() will help. If the call returned false(), then it's safe to release the resources. This balance has to be ensured because con->con_startup() can be called again when a request to rebind the driver to the console arrives.”h]”hX&All resources allocated in con->con_startup() must be released when the driver, which was previously bound, becomes unbound. The console layer does not have a complementary call to con->con_startup() so it’s up to the driver to check when it’s legal to release these resources. Calling con_is_bound() in con->con_deinit() will help. If the call returned false(), then it’s safe to release the resources. This balance has to be ensured because con->con_startup() can be called again when a request to rebind the driver to the console arrives.”…””}”(hjžhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h Kƒhjšubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhjghžhhŸh³h Nubjs)”}”(hŒ®Upon exit of the driver, ensure that the driver is totally unbound. If the condition is satisfied, then the driver must call do_unregister_con_driver() or give_up_console(). ”h]”hÊ)”}”(hŒ­Upon exit of the driver, ensure that the driver is totally unbound. If the condition is satisfied, then the driver must call do_unregister_con_driver() or give_up_console().”h]”hŒ­Upon exit of the driver, ensure that the driver is totally unbound. If the condition is satisfied, then the driver must call do_unregister_con_driver() or give_up_console().”…””}”(hj¶hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h KŒhj²ubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhjghžhhŸh³h Nubjs)”}”(hŒÖdo_unregister_con_driver() can also be called on conditions which make it impossible for the driver to service console requests. This can happen with the framebuffer console that suddenly lost all of its drivers. ”h]”hÊ)”}”(hŒÕdo_unregister_con_driver() can also be called on conditions which make it impossible for the driver to service console requests. This can happen with the framebuffer console that suddenly lost all of its drivers.”h]”hŒÕdo_unregister_con_driver() can also be called on conditions which make it impossible for the driver to service console requests. This can happen with the framebuffer console that suddenly lost all of its drivers.”…””}”(hjÎhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h KhjÊubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhjghžhhŸh³h Nubeh}”(h]”h ]”h"]”h$]”h&]”jijjjkhjljmuh1jmhjHhžhhŸh³h KzubhÊ)”}”(hŒ´The current crop of console drivers should still work correctly, but binding and unbinding them may cause problems. With minimal fixes, these drivers can be made to work correctly.”h]”hŒ´The current crop of console drivers should still work correctly, but binding and unbinding them may cause problems. With minimal fixes, these drivers can be made to work correctly.”…””}”(hjèhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhŸh³h K”hjHhžhubhÊ)”}”(hŒ!Antonino Daplas ”h]”(hŒAntonino Daplas <”…””}”(hjöhžhhŸNh NubhŒ reference”“”)”}”(hŒadaplas@pol.net”h]”hŒadaplas@pol.net”…””}”(hjhž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 K˜hjHhžhubeh}”(h]”Œ%guidelines-for-console-driver-writers”ah ]”h"]”Œ%guidelines for console driver writers”ah$]”h&]”uh1h´hh¶hžhhŸh³h Kuubeh}”(h]”Œconsole-drivers”ah ]”h"]”Œconsole drivers”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”jMŒ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$jEjBjjuŒ nametypes”}”(j'‰jE‰j‰uh}”(j$h¶jBjjjHuŒ 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”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nhžhub.