hal/hald/linux osspec.c,1.20,1.21

David Zeuthen david at pdx.freedesktop.org
Sun Jun 20 06:42:17 PDT 2004


Update of /cvs/hal/hal/hald/linux
In directory pdx:/tmp/cvs-serv23262/hald/linux

Modified Files:
	osspec.c 
Log Message:
2004-06-20  David Zeuthen  <david at fubar.dk>

	Patch from Kay Sievers <kay.sievers at vrfy.org>

	* hald/linux/osspec.c (osspec_init): Remove support for listening
	to udev as this is now handled by the HAL dev.d callout.



Index: osspec.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux/osspec.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- osspec.c	9 Jun 2004 18:11:59 -0000	1.20
+++ osspec.c	20 Jun 2004 13:42:15 -0000	1.21
@@ -346,18 +346,6 @@
 		ch->init (ch);
 	}
 
-	/* Add match for signals from udev */
-	dbus_error_init (&error);
-	dbus_bus_add_match (dbus_connection,
-			    "type='signal',"
-			    "interface='org.kernel.udev.NodeMonitor',"
-			    /*"sender='org.kernel.udev'," until dbus is fixed*/
-			    "path='/org/kernel/udev/NodeMonitor'", &error);
-	if (dbus_error_is_set (&error)) {
-		HAL_WARNING (("Cannot subscribe to udev signals, error=%s",
-			      error.message));
-	}
-
 	/* Setup timer */
 	g_timeout_add (2000, osspec_timer_handler, NULL);	
 }





More information about the hal-commit mailing list