hal/tools hal-system-power-hibernate, 1.11, 1.12 hal-system-power-suspend, 1.11, 1.12

Richard Hughes hughsient at kemper.freedesktop.org
Mon Apr 24 10:46:05 PDT 2006


Update of /cvs/hal/hal/tools
In directory kemper:/tmp/cvs-serv28794/tools

Modified Files:
	hal-system-power-hibernate hal-system-power-suspend 
Log Message:
2006-04-24  Richard Hughes <richard at hughsie.com>
 * tools/hal-system-power-hibernate, tools/hal-system-power-suspend: Add --print-reply to dbus-send else the Rescan does not work. This should fix a whole load of bugs related to ACPI values on resume.


Index: hal-system-power-hibernate
===================================================================
RCS file: /cvs/hal/hal/tools/hal-system-power-hibernate,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- hal-system-power-hibernate	30 Mar 2006 19:21:29 -0000	1.11
+++ hal-system-power-hibernate	24 Apr 2006 17:46:03 -0000	1.12
@@ -69,7 +69,7 @@
 	devices=`hal-find-by-capability --capability $type`
 	for device in $devices
 	do
-		dbus-send --system --dest=org.freedesktop.Hal \
+		dbus-send --system --print-reply --dest=org.freedesktop.Hal \
 			  $device org.freedesktop.Hal.Device.Rescan
 	done
 done

Index: hal-system-power-suspend
===================================================================
RCS file: /cvs/hal/hal/tools/hal-system-power-suspend,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- hal-system-power-suspend	30 Mar 2006 19:21:29 -0000	1.11
+++ hal-system-power-suspend	24 Apr 2006 17:46:03 -0000	1.12
@@ -89,7 +89,7 @@
 	devices=`hal-find-by-capability --capability $type`
 	for device in $devices
 	do
-		dbus-send --system --dest=org.freedesktop.Hal \
+		dbus-send --system --print-reply --dest=org.freedesktop.Hal \
 			  $device org.freedesktop.Hal.Device.Rescan
 	done
 done




More information about the hal-commit mailing list