[Pm-utils] Userspace suspend support for pm-utils
Tim Dijkstra
newsuser at famdijkstra.org
Fri Jun 8 05:51:52 PDT 2007
On Fri, 08 Jun 2007 11:19:19 +0100
Richard Hughes <hughsient at gmail.com> wrote:
> On Fri, 2007-06-08 at 12:17 +0200, Stefan Seyfried wrote:
> > Good, so we can use that. Does it get passed down to pm-utils or do i
> > need to jump through hoops to get it?
>
> Good question. I don't think it get passed down - I'm crazy busy today -
> could someone do a HAL patch for this please - thanks.
OK, this will set --quirk-none to the exported quirks in case of a
machine confirmed to be working without quirks. Please apply.
grts Tim
diff --git a/tools/linux/hal-system-power-suspend-linux b/tools/linux/hal-system-power-suspend-linux
index 58a5915..9e4b951 100755
--- a/tools/linux/hal-system-power-suspend-linux
+++ b/tools/linux/hal-system-power-suspend-linux
@@ -31,6 +31,7 @@ QUIRKS=""
[ "$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-vbe-post"
[ "$HAL_PROP_POWER_MANAGEMENT_QUIRK_RADEON_OFF" = "true" ] && QUIRKS="$QUIRKS --quirk-radeon-off"
+[ "$HAL_PROP_POWER_MANAGEMENT_QUIRK_NONE" = "true" ] && QUIRKS=" --quirk-none"
# PMU systems cannot use /sys/power/state yet, so use a helper to issue an ioctl
if [ "$HAL_PROP_LAPTOP_PANEL_ACCESS_METHOD" = "pmu" ]; then
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070608/af5baf18/attachment.pgp
More information about the hal
mailing list