Documentation
¶
Overview ¶
Package vtconsole binds and unbinds the kernel's console drivers from the virtual terminals through /sys/class/vtconsole. With the framebuffer console unbound, a switch of the active VT to text mode draws nothing and leaves the frame a DRM master left on screen.
Index ¶
Constants ¶
const Dir = "/sys/class/vtconsole"
Dir is the kernel's class of VT console drivers.
Variables ¶
This section is empty.
Functions ¶
func UnbindFramebuffer ¶
UnbindFramebuffer unbinds every bound framebuffer console in dir and returns the entries it unbound, for Bind. A kernel without VT consoles has nothing to unbind.
Types ¶
This section is empty.