hal/tools/device-manager Const.py.in,1.12,1.13
David Zeuthen
david at freedesktop.org
Sun Aug 15 11:54:59 PDT 2004
- Previous message: hal/tools/linux Makefile.am, 1.7, 1.8 hal_dev.c, 1.2,
1.3 hal_hotplug.c, 1.15, 1.16
- Next message: hal ChangeLog,1.242,1.243 configure.in,1.30,1.31
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/hal/hal/tools/device-manager
In directory pdx:/tmp/cvs-serv28976/tools/device-manager
Modified Files:
Const.py.in
Log Message:
2004-08-15 David Zeuthen <david at fubar.dk>
Sends messages from hotplug and device naming helpers via a local
socket. Reorder the hotplug events we receive in hald according to
SEQNUM and use a semaphor pattern to ensure that we don't process
a hotplug event before the device created in effect to the
previous event is completely processed (e.g. add/remove callouts
have run).
* hald/Makefile.am: Remove scsi_host_class_device.c and add
scsi_bus_device.c, hald_helper.h.
* hald/device_info.c:
(handle_match): Comment out debug
(scan_fdi_files): Comment out debug
* hald/linux/block_class_device.c:
(block_class_visit): Return the HalDevice* object
(block_class_pre_process): Use 'scsi' instead of 'scsi_device'
(block_class_compute_udi): -do-
(mtab_handle_volume): Comment out debug
(etc_mtab_process_all_block_devices): Comment out debug
* hald/linux/bus_device.c:
(bus_device_visit): Return the HalDevice* object
* hald/linux/bus_device.h: Make the visit method return the HalDevice
object for tracking purposes
* hald/linux/class_device.c:
(class_device_visit): Return the HalDevice* object
(class_device_got_sysdevice): Comment out debug
* hald/linux/class_device.h: Make the visit method return the HalDevice
object for tracking purposes
* hald/linux/common.c:
(rename_and_merge): Comment out debug
(class_device_get_device_file): Make debug statement more specific
* hald/linux/net_class_device.c:
(net_class_compute_udi): Comment out debug
(net_class_udev_event): New function to ignore the udev event (duh)
* hald/linux/osspec.c: Remove the ClassDeviceHandler scsi_device_
class_device in favour of the BusDeviceHandler scsi_bus_device
(visit_class_device): Return the HalDevice* object
(visit_device): Return the HalDevice* object
(osspec_init): Listen for datagrams on a local socket from hal.dev
and hal.hotplug
(remove_device): Return the HalDevice* object
(remove_class_device): Return the HalDevice* object
(handle_hotplug): Removed
(handle_device_event): Removed
(osspec_filter_function): Is empty now. We got our information via
a local socket now
(reenable_hotplug_proc): New function
(hald_helper_hotplug): New function
(hald_helper_device_node): New function
(hald_helper_hotplug_process_queue): New function
(hotplug_sem_up): New function
(hotplug_sem_down): New function
(hald_helper_first_hotplug_event): New function
(hald_helper_data): New function
* hald/linux/hald_helper.h: New file
* hald/linux/scsi_bus_device.c: New file
* hald/linux/scsi_device_class_device.c: Removed
* hald/linux/scsi_generic_class_device.c:
(scsi_generic_get_device_file_target): New function. Merge the
device file information to scsi.generic_device instead
* tools/device-manager/Const.py.in: s/scsi_device/scsi/
* tools/linux/Makefile.am: Don't link with D-BUS
* tools/linux/hal_dev.c:
(get_sysfs_mnt_path): Removed
(main): Send the message via a local socket instead
* tools/linux/hal_hotplug.c:
(main): Send the message via a local socket instead
Index: Const.py.in
===================================================================
RCS file: /cvs/hal/hal/tools/device-manager/Const.py.in,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- Const.py.in 9 Aug 2004 18:33:29 -0000 1.12
+++ Const.py.in 15 Aug 2004 18:54:57 -0000 1.13
@@ -25,7 +25,7 @@
"i2c_adapter" : "I2C Adapter",
"video4linux" : "Video4Linux",
"scsi_host" : "SCSI Host",
- "scsi_device" : "SCSI",
+ "scsi" : "SCSI",
"block" : "Block",
"ide" : "IDE",
"ide_host" : "IDE Host",
- Previous message: hal/tools/linux Makefile.am, 1.7, 1.8 hal_dev.c, 1.2,
1.3 hal_hotplug.c, 1.15, 1.16
- Next message: hal ChangeLog,1.242,1.243 configure.in,1.30,1.31
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the hal-commit
mailing list