Skip to navigation
Pm-suspend quirks
12.09.19
OPTIONS On some hardware putting the video card in the suspend state and recovering from it needs some special quirk handling. With the --quirk-* options of the pm-suspend and pm-suspend-hybrid commands you can select which quirks should be used. If pm-suspend, pm-hibernate, or pm-suspend-hybrid are invoked without any commandline parameters, they will try to grab the correct quirks from the internal quirk database. --quirk-dpms-on This option forces the video hardware to turn on the screen during resume. Most video adapters turn on the screen themselves, but if you get a blank screen on resume that can be turned back on by moving the mouse or typing then this option may be useful. --quirk-dpms-suspend This option forces the video hardware to turn off the screen when suspending. Most video adapters seem to do this correctly, but some do not, which wastes lots of power. If your screen is still on after successfully suspending you may need to use this option. --quirk-none This option disables quirks. --quirk-radeon-off This option forces Radeon hardware to turn off the display during suspend and turn it back on during resume. You only need to do this on some old ThinkPads of the '30 series (T30, X31, R32,... ) with Radeon video hardware. --quirk-reset-brigthness This option resets display brightness during resume (i.e. sets the brightness to 0 and returns it to the previous value). --quirk-s3-bios This option calls the video BIOS during S3 resume. Unfortunately, it is not always allowed to call the video BIOS at this point, so sometimes adding this option can actually break resume on some systems. --quirk-s3-mode This option initializes the video card into a VGA text mode, and then uses the BIOS to set the video mode. On some systems S3 BIOS only initializes the video BIOS to text mode, and so both S3 BIOS and S3 MODE are needed. --quirk-vbe-post This option will attempt to reinitialize the video card when resuming from suspend, using the same code the system BIOS uses at boot in order to initialize the video hardware. Not all video cards need this, and using this option on systems where it is not needed can cause a system to lock up when resuming. --quirk-vbemode-restore This option will save and restore the current VESA mode which may be necessary to avoid X screen corruption. Using this feature on Intel graphics hardware is probably a bad idea. --quirk-vbestate-restore This option saves and restores some low level hardware state which may be invalid after suspend. --quirk-vga-mode-3 This option will try to force the video card into a standard text mode on resume. --quirk-save-pci Save the PCI config space for the VGA card. --store-quirks-as-lkw Save the quirks the video adaptor required by pm-suspend or pm-suspend-hybrid as an .quirkdb file that is specific to this system. The file will be saved in /etc/pm/last_known_working.quirkdb. This parameter will only save the actual quirks that were used to successfully suspend/resume a system, and will be specific to the exact configuration of that system, including the video hardware, video driver, and whether or not kernel modesetting was used
https://www.systutorials.com/docs/linux/man/8-pm-action/
Reply
Anonymous
Information Epoch 1753681844
Save trees.
Home
Notebook
Contact us