[Pm-utils] Re: Newer version of pm-utils?
Tim Dijkstra
newsuser at famdijkstra.org
Mon Feb 12 14:21:32 PST 2007
On Sun, 11 Feb 2007 22:45:37 +0000
Richard Hughes <hughsient at gmail.com> wrote:
> +[ "$HAL_PROP_POWER_MANAGEMENT_QUIRK_S3_BIOS" == "true" ] && QUIRKS="$QUIRKS --quirk-s3-bios"
> +[ " ] && QUIRKS="$QUIRKS --quirk-s3-mode"
> +[ "$HAL_PROP_POWER_MANAGEMENT_QUIRK_DPMS_SUSPEND" == "true" ] && QUIRKS="$QUIRKS --quirk-dpms-suspend"
> +[ "$HAL_PROP_POWER_MANAGEMENT_QUIRK_DPMS_ON" == "true" ] && QUIRKS="$QUIRKS --quirk-dpms-on"
> +[ "$HAL_PROP_POWER_MANAGEMENT_QUIRK_VBESTATE_RESTORE" == "true" ] && QUIRKS="$QUIRKS --quirk-vbestate"
> +[ "$HAL_PROP_POWER_MANAGEMENT_QUIRK_VBEMODE_RESTORE" == "true" ] && QUIRKS="$QUIRKS --quirk-vbemode"
> +[ "$HAL_PROP_POWER_MANAGEMENT_QUIRK_VGA_MODE_3" == "true" ] && QUIRKS="$QUIRKS --quirk-vga-mode3"
> +[ "$HAL_PROP_POWER_MANAGEMENT_QUIRK_VBE_POST" == "true" ] && QUIRKS="$QUIRKS --quirk-vbepost"
Can we have them a bit differently? Like
--quirk-vbe_save: save VBE state before suspending and restore after resume.
--quirk-vbe_post: VBE POST the graphics card after resume
--quirk-vbe_mode: get VBE mode before suspend and set it after resume
And maybe we can also support these in hal?
--quirk-pci_save: save the PCI config space for the VGA card.
--quirk_radeontool: turn off the backlight on radeons before suspending.
That way they equal the command-line options of s2ram (except for the
--quirk of course)
Finally, maybe we can add s3_mode and s3_bios (bios=1, mode=2, both=1+2), that
is the way the go into /proc/sys/kernel/acpi_video_flags. That can also
be done in pm-tools.
grts Tim
More information about the Pm-utils
mailing list