How to find out that several devices belong to each other?
Fabian Steiner
lists at fabis-site.net
Wed Jul 12 11:29:28 PDT 2006
Hello!
First of all, I would like to point that I does not have many experience
in using HAL/DBus so far. So please forgive me if this question sounds
stupid:
When I plug in a USB-Stick, `lshal --monitor` gives me the follwing output:
usb_device_781_5150_SNDK13DDF52557207702 added
usb_device_781_5150_SNDK13DDF52557207702_if0 added
usb_device_781_5150_SNDK13DDF52557207702_usbraw added
usb_device_781_5150_SNDK13DDF52557207702_if0_scsi_host added
usb_device_781_5150_SNDK13DDF52557207702_if0_scsi_host_scsi_device_lun0
added
usb_device_781_5150_SNDK13DDF52557207702_if0_scsi_host_scsi_device_lun0_scsi_generic
added
storage_serial_SanDisk_Cruzer_Mini_SNDK13DDF52557207702 added
volume_uuid_3B69_1AFD added
Obviously, more than device is created, but how can I find out that they
all belong to the same physical device in fact. I need this information
since I am currently working on a python application which depends on
this thing.
I am looking forward to your answers!
Cheers,
Fabian
More information about the hal
mailing list