[Pkg-utopia-commits] r1521 - in /packages/unstable/hal/debian: changelog patches/68-pass-noquirks-to-pm-utils.patch

tdykstra-guest at users.alioth.debian.org tdykstra-guest at users.alioth.debian.org
Sun Jun 17 21:21:37 UTC 2007


Author: tdykstra-guest
Date: Sun Jun 17 21:21:37 2007
New Revision: 1521

URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=1521
Log:
Tell pm-utils if we know a machine doesn't need a quirk

Added:
    packages/unstable/hal/debian/patches/68-pass-noquirks-to-pm-utils.patch
Modified:
    packages/unstable/hal/debian/changelog

Modified: packages/unstable/hal/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/hal/debian/changelog?rev=1521&op=diff
==============================================================================
--- packages/unstable/hal/debian/changelog (original)
+++ packages/unstable/hal/debian/changelog Sun Jun 17 21:21:37 2007
@@ -1,12 +1,16 @@
 hal (0.5.9-4) UNRELEASED; urgency=low
 
+  [ Sjoerd Simons ]
   * debian/hal.udev.rules
     + No longer try calling pumount or umount when devices are removed but not
       unmounted. Leave this to hal itself
   * debian/hal-unmount.sh
     + Removed. No longer needed
 
- -- Sjoerd Simons <sjoerd at debian.org>  Mon, 28 May 2007 20:43:34 +0200
+  [ Tim Dijkstra ]
+  * Tell pm-utils if we know a machine doesn't need a quirk
+
+ -- Tim Dijkstra <tim at famdijkstra.org>  Sun, 17 Jun 2007 22:35:06 +0200
 
 hal (0.5.9-3) unstable; urgency=low
 

Added: packages/unstable/hal/debian/patches/68-pass-noquirks-to-pm-utils.patch
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/hal/debian/patches/68-pass-noquirks-to-pm-utils.patch?rev=1521&op=file
==============================================================================
--- packages/unstable/hal/debian/patches/68-pass-noquirks-to-pm-utils.patch (added)
+++ packages/unstable/hal/debian/patches/68-pass-noquirks-to-pm-utils.patch Sun Jun 17 21:21:37 2007
@@ -1,0 +1,30 @@
+We should tell pm-utils if we know about the machine, but don't require a
+quirk. We need this to distinguish betweet 'not known' and 'just works'
+
+I discussed this with richard hughes and stefan seyfried. Not sure if it is
+applied upstream yet.
+
+Author: Tim Dijkstra
+
+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
+--- a/tools/hal-system-power-suspend-hybrid	2007-03-20 22:35:10.000000000 +0100
++++ b/tools/hal-system-power-suspend-hybrid	2007-06-17 23:16:39.000000000 +0200
+@@ -42,6 +42,7 @@
+ [ "$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"
+ [ "$HAL_PROP_POWER_MANAGEMENT_QUIRK_RADEON_OFF" = "true" ] && QUIRKS="$QUIRKS --quirk-radeon-off"
++[ "$HAL_PROP_POWER_MANAGEMENT_QUIRK_NONE" = "true" ] && QUIRKS=" --quirk-none"
+ 
+ if [ -x "/usr/sbin/pm-suspend-hybrid" ] ; then
+     if [ $seconds_to_sleep != "0" ] ; then




More information about the Pkg-utopia-commits mailing list