hal/tools lshal.c,1.11,1.12

David Zeuthen david at freedesktop.org
Wed Mar 2 11:19:15 PST 2005


Update of /cvs/hal/hal/tools
In directory gabe:/tmp/cvs-serv21926/tools

Modified Files:
	lshal.c 
Log Message:
2005-03-02  David Zeuthen  <davidz at redhat.com>

	* tools/device-manager/DeviceManager.py: Move some things around
	only to discover that D-BUS python bindings need fixing to actually
	push signals we subscribe to without giving the path...

	* tools/lshal.c (device_condition): Fix this function so it works
	after the DeviceCondition format changes earlier

	* libhal/libhal.h: Export prototype for libhal_device_emit_condition

	* libhal/libhal.c (libhal_device_emit_condition): New function

	* hald/linux2/addons/addon-storage.c (main): Fix that we should
	be verbose

	* hald/linux2/addons/addon-acpi.c (read_line): Rewrite this
	to not malloc all over the place
	(main): Try two places for ACPI events. Rework parsing of events
	and send out DeviceConditions where appropriate

	* hald/hald_dbus.c (device_emit_condition): New function
	(hald_dbus_filter_function): Handle EmitCondition

2005-03-01  Richard Hughes  <richard at hughsie.com>

	* hald/linux2/addons/addon-acpi.c (main): Call
	libhal_device_rescan for each ACPI event.



Index: lshal.c
===================================================================
RCS file: /cvs/hal/hal/tools/lshal.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- lshal.c	16 Feb 2005 18:39:56 -0000	1.11
+++ lshal.c	2 Mar 2005 19:19:13 -0000	1.12
@@ -331,11 +331,11 @@
 device_condition (LibHalContext *ctx,
 		  const char *udi, 
 		  const char *condition_name,
-		  DBusMessage * message)
+		  const char *condition_details)
 {
 	fprintf (stderr, "*** lshal: device_condition, udi=%s\n", udi);
 	fprintf (stderr, "           condition_name=%s\n", condition_name);
-	/** @todo FIXME print out message */
+	fprintf (stderr, "           condition_details=%s\n", condition_details);
 	fprintf (stderr, "\n");
 	/*dump_devices(); */
 }




More information about the hal-commit mailing list