hal/tools/device-manager DeviceManager.py,1.13,1.14

David Zeuthen david at freedesktop.org
Tue Aug 31 09:53:44 PDT 2004


Update of /cvs/hal/hal/tools/device-manager
In directory gabe:/tmp/cvs-serv15769/tools/device-manager

Modified Files:
	DeviceManager.py 
Log Message:
2004-08-31  David Zeuthen  <david at fubar.dk>

	* hald/linux/block_class_device.c: 
	(detect_media): Don't poll on drives with storage.removable set to FALSE
	(block_class_pre_process): Use the /sys/block/<drive>/removable file
	
	* tools/device-manager/DeviceManager.py: Don't print out Conditions;
	should give us more headroom until D-BUS is fixed wrt. rules maximum
	and subscription of signals in the python bindings
	
	* tools/linux/hal_hotplug.c: Wait for 'removable' file for 'block'
	system events



Index: DeviceManager.py
===================================================================
RCS file: /cvs/hal/hal/tools/device-manager/DeviceManager.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- DeviceManager.py	9 Aug 2004 18:33:29 -0000	1.13
+++ DeviceManager.py	31 Aug 2004 16:53:40 -0000	1.14
@@ -87,6 +87,7 @@
 				     "org.freedesktop.Hal.Device",
 				     "org.freedesktop.Hal",
 				     udi)
+	return
 	self.bus.add_signal_receiver(self.device_changed,
 				     "Condition",
 				     "org.freedesktop.Hal.Device",
@@ -99,6 +100,7 @@
 				     "org.freedesktop.Hal.Device",
 				     "org.freedesktop.Hal",
 				     udi)
+	return
 	self.bus.remove_signal_receiver(self.device_changed,
 				     "Condition",
 				     "org.freedesktop.Hal.Device",




More information about the hal-commit mailing list