⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vbetool.1

📁 针对linux休眠suspend显卡状态保存恢复的一个办法
💻 1
字号:
.TH VBETOOL "1" "31 December 2004" "vbetool 0.2" "User Commands".SH NAME vbetool - run real-mode video BIOS code to alter hardware state.SH SYNOPSIS.B "vbetool [[vbestate save|restore]|[vbemode set|get]|[vgamode]|[dpms on|off|standby|suspend|reduced]|[post]|[vbestate on|off]]".SH DESCRIPTION.B vbetooluses lrmi in order to run code from the video BIOS. Currently, it is able to alter DPMS states, save/restore video card state and attempt to initialize the video card from scratch..SH OPTIONS.B vbetooltakes the following options:.IP "vbestate".B vbetoolwill use the VESA 0x4f0f extensions to save or restore hardwarestate. This will be sent to or read from stdin. This information ishighly hardware specific - do not attempt to restore state saved froma different machine. This command will not work unless you are at atext console, as it interferes badly with X..IP "dpms".B vbetoolwill use the VESA 0x4f10 extensions to alter the power managementstate of your screen. "On", "off", "standby", "suspend" and "reduced"are acceptable further options and determine which state will beactivated..IP "vbemode".B vbetoolwill get or set the current VESA mode. "get" will return the currentmode number on stdout - "set" will set the mode to the next argument..IP "vgamode".B vbetoolwill set the legacy VGA mode to the following numeric argument..IP "post".B vbetoolwill attempt to run BIOS code located at c000:0003. This is the coderun by the system BIOS at boot in order to intialise the videohardware. Note that on some machines (especially laptops), not all ofthis code is present after system boot - as a result, executing thiscommand may result in undefined behaviour. This command must be runfrom a text console, as it will otherwise interfere with the operationof X..IP "vgastate".B vbetoolwill enable or disable the current video card. On most hardware, disablingwill cause the hardware to stop responding until it is reenabled. Youprobably don't want to do this if you're using a framebuffer..SH BUGSSwitching dpms modes may interact badly with X on some systems..PPThe vbestate command may behave in strange ways..PPThe post command may result in the execution of arbitrary code thathappens to be lying around in the area where chunks of your video BIOSused to be..PPThe VESA specification does not require that "vbemode get" providesthe correct mode if the current mode was set via some means other thanthe VESA BIOS extensions..SH AUTHORvbetool was written by Matthew Garrett <mjg59@srcf.ucam.org>, based oncode from read-edid by John Fremlin <john@fremlin.de>, LRMI(http://sourceforge.net/projects/lrmi/) and XFree(http://www.xfree86.org). It is released under the terms of the GNUGeneral Public License.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -