[Pkg-utopia-commits] r939 - in packages/unstable/hal/debian: .
patches
Sjoerd Simons
sjoerd at costa.debian.org
Mon Aug 14 22:00:37 UTC 2006
Author: sjoerd
Date: 2006-08-14 22:00:35 +0000 (Mon, 14 Aug 2006)
New Revision: 939
Added:
packages/unstable/hal/debian/patches/12_refresh_acpi_states.patch
Modified:
packages/unstable/hal/debian/changelog
Log:
* debian/patches/12_refresh_acpi_states.patch:
- Added. refresh ACPI events after suspend/hibernate
- From the ubuntu hal package, patch created by Paul Sladen based on
upstream CVS.
Modified: packages/unstable/hal/debian/changelog
===================================================================
--- packages/unstable/hal/debian/changelog 2006-08-14 21:56:04 UTC (rev 938)
+++ packages/unstable/hal/debian/changelog 2006-08-14 22:00:35 UTC (rev 939)
@@ -12,6 +12,10 @@
laptops.
- From the ubuntu hal package which took it from upstream, thanks to Paolo
Borelli
+ * debian/patches/12_refresh_acpi_states.patch:
+ - Added. refresh ACPI events after suspend/hibernate
+ - From the ubuntu hal package, patch created by Paul Sladen based on
+ upstream CVS.
[ Sebastian Dröge ]
* debian/pycompat,
@@ -22,8 +26,9 @@
+ Bump Standards-Version to 3.7.2
+ Add myself to Uploaders
- -- Sjoerd Simons <sjoerd at debian.org> Mon, 14 Aug 2006 23:54:07 +0200
+ -- Sjoerd Simons <sjoerd at debian.org> Mon, 14 Aug 2006 23:59:24 +0200
+
hal (0.5.7-2) unstable; urgency=low
* debian/hal.udev.rules
Added: packages/unstable/hal/debian/patches/12_refresh_acpi_states.patch
===================================================================
--- packages/unstable/hal/debian/patches/12_refresh_acpi_states.patch 2006-08-14 21:56:04 UTC (rev 938)
+++ packages/unstable/hal/debian/patches/12_refresh_acpi_states.patch 2006-08-14 22:00:35 UTC (rev 939)
@@ -0,0 +1,39 @@
+diff -Nur hal-0.5.7/tools/hal-system-power-hibernate hal-0.5.7.new/build-tree/hal-0.5.7/tools/hal-system-power-hibernate
+--- hal-0.5.7/tools/hal-system-power-hibernate 2006-05-08 15:04:50.789766728 +0100
++++ hal-0.5.7/tools/hal-system-power-hibernate 2006-05-08 15:05:19.234442480 +0100
+@@ -53,4 +53,15 @@
+ fi
+ fi
+
++#Refresh devices as a resume can do funny things
++for type in button battery ac_adapter
++do
++ devices=`hal-find-by-capability --capability $type`
++ for device in $devices
++ do
++ dbus-send --system --print-reply --dest=org.freedesktop.Hal \
++ $device org.freedesktop.Hal.Device.Rescan
++ done
++done
++
+ exit $RET
+diff -Nur hal-0.5.7/tools/hal-system-power-suspend hal-0.5.7.new/build-tree/hal-0.5.7/tools/hal-system-power-suspend
+--- hal-0.5.7/tools/hal-system-power-suspend 2006-05-08 15:04:50.789766728 +0100
++++ hal-0.5.7/tools/hal-system-power-suspend 2006-05-08 15:06:21.701945976 +0100
+@@ -71,4 +71,16 @@
+ echo "org.freedesktop.Hal.Device.SystemPowerManagement.NotSupported" >&2
+ exit 1
+ fi
++
++#Refresh devices as a resume can do funny things
++for type in button battery ac_adapter
++do
++ devices=`hal-find-by-capability --capability $type`
++ for device in $devices
++ do
++ dbus-send --system --print-reply --dest=org.freedesktop.Hal \
++ $device org.freedesktop.Hal.Device.Rescan
++ done
++done
++
+ exit $RET
More information about the Pkg-utopia-commits
mailing list