hal/tools/linux hal-system-power-suspend-linux,1.1,1.2
Richard Hughes
hughsient at kemper.freedesktop.org
Tue May 23 07:34:17 PDT 2006
Update of /cvs/hal/hal/tools/linux
In directory kemper:/tmp/cvs-serv27037/tools/linux
Modified Files:
hal-system-power-suspend-linux
Log Message:
2006-05-23 Richard Hughes <richard at hughsie.com>
* tools/linux/hal-system-power-suspend-linux:
* tools/freebsd/hal-system-power-suspend-freebsd:
Re-add --print-reply to dbus-send else the Rescan does not work.
This fixes numerous recent bugs where the lid value is not correct on
resume. This must have been changed incorrectly in the last few weeks.
Index: hal-system-power-suspend-linux
===================================================================
RCS file: /cvs/hal/hal/tools/linux/hal-system-power-suspend-linux,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- hal-system-power-suspend-linux 14 May 2006 18:49:53 -0000 1.1
+++ hal-system-power-suspend-linux 23 May 2006 14:34:15 -0000 1.2
@@ -87,7 +87,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