[PATCH] remove org.kernel.udev.NodeMonitor

Kay Sievers kay.sievers at vrfy.org
Sat Jun 19 15:31:21 PDT 2004


We can remove this, right? udev no longer handles D-BUS natively.

Thanks,
Kay
-------------- next part --------------
Index: hald/linux/osspec.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux/osspec.c,v
retrieving revision 1.20
diff -u -r1.20 osspec.c
--- hald/linux/osspec.c	9 Jun 2004 18:11:59 -0000	1.20
+++ hald/linux/osspec.c	19 Jun 2004 22:29:17 -0000
@@ -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);	
 }
-------------- next part --------------
_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal


More information about the Hal mailing list