Package: hal
Version: 0.4.5-1
Followup-For: Bug #271997
I just upgraded hal (from 0.4.4-1) and noticed, that it doesn't detect
the volume label of my usb external drive correctly anymore. I found
this bug, and this change seems to be the cause...
Both mlabel and udev_volume_id show the correct label ("ICYBOX"), but
hal uses "AD", which is pretty useless...
I'm attaching a diff of the lshal output between 0.4.4-1 and 0.4.5-1.
Please consider to revert the changes made. If you need more
information just let me know :)
Joergen
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages hal depends on:
ii adduser 3.59 Add and remove users and groups
ii dbus-1 0.23-1 simple interprocess messaging syst
ii dbus-glib-1 0.23-1 simple interprocess messaging syst
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libcap1 1:1.10-14 support for getting/setting POSIX.
ii libexpat1 1.95.8-1 XML parsing C library - runtime li
ii libglib2.0-0 2.4.8-1 The GLib library of C routines
ii libhal0 0.4.5-1 Hardware Abstraction Layer - share
ii pciutils 1:2.1.11-15 Linux PCI Utilities
ii udev 0.050-4 /dev/ management daemon
ii usbutils 0.11+cvs20041108-1 USB console utilities
-- no debconf information
--- lshal-0.4.4-1.output 2005-01-16 00:42:21.000000000 +0100
+++ lshal-0.4.5-1.output 2005-01-16 00:41:43.000000000 +0100
@@ -1,6 +1,165 @@
Dumping 48 device(s) from the Global Device List:
-------------------------------------------------
+udi = '/org/freedesktop/Hal/devices/block_9284-CBD1'
+ volume.mount_point = '/media/AD' (string)
+ volume.policy.mount_option.noatime = false (bool)
+ volume.policy.mount_option.sync = false (bool)
+ volume.policy.desired_mount_point = 'AD' (string)
+ volume.policy.mount_filesystem = 'vfat' (string)
+ volume.policy.should_mount = true (bool)
+ info.udi = '/org/freedesktop/Hal/devices/block_9284-CBD1' (string)
+ volume.partition.msdos_part_table_type = 12 (0xc) (int)
+ volume.size = 60044527616 (0xdfaeec800) (uint64)
+ volume.block_size = 512 (0x200) (int)
+ volume.num_blocks = 117274468 (0x6fd7764) (int)
+ volume.partition.number = 1 (0x1) (int)
+ volume.is_partition = true (bool)
+ volume.is_mounted = true (bool)
+ volume.is_disc = false (bool)
+ volume.uuid = '9284-CBD1' (string)
+ volume.label = 'AD' (string)
+ volume.fsversion = 'FAT32' (string)
+ volume.fsusage = 'filesystem' (string)
+ volume.fstype = 'vfat' (string)
+ info.product = 'AD' (string)
+ block.storage_device = '/org/freedesktop/Hal/devices/block_8_0' (string)
+ block.minor = 1 (0x1) (int)
+ block.major = 8 (0x8) (int)
+ info.capabilities = 'block volume' (string)
+ info.category = 'volume' (string)
+ info.parent = '/org/freedesktop/Hal/devices/block_8_0' (string)
+ block.device = '/dev/sda1' (string)
+ block.is_volume = true (bool)
+ block.have_scanned = false (bool)
+ block.no_partitions = false (bool)
+ linux.sysfs_path_device = '/sys/block/sda/sda1' (string)
+ linux.sysfs_path = '/sys/block/sda/sda1' (string)
+ info.bus = 'block' (string)
+
+udi = '/org/freedesktop/Hal/devices/block_8_0'
+ storage.policy.should_mount = true (bool)
+ info.udi = '/org/freedesktop/Hal/devices/block_8_0' (string)
+ storage.requires_eject = false (bool)
+ storage.hotpluggable = true (bool)
+ storage.removable = false (bool)
+ info.product = 'K060H3' (string)
+ info.vendor = 'MAXTOR 4' (string)
+ storage.drive_type = 'disk' (string)
+ block.storage_device = '/org/freedesktop/Hal/devices/block_8_0' (string)
+ storage.physical_device =
'/org/freedesktop/Hal/devices/usb_usb_device_4b4_6830_1_-1_DEF107679C83_0'
(string)
+ storage.vendor = 'MAXTOR 4' (string)
+ storage.model = 'K060H3' (string)
+ storage.automount_enabled_hint = true (bool)
+ storage.no_partitions_hint = false (bool)
+ storage.media_check_enabled = true (bool)
+ storage.bus = 'usb' (string)
+ block.minor = 0 (0x0) (int)
+ block.major = 8 (0x8) (int)
+ info.capabilities = 'block storage' (string)
+ info.category = 'storage' (string)
+ info.parent = '/org/freedesktop/Hal/devices/scsi_5_0_0_0' (string)
+ block.device = '/dev/sda' (string)
+ block.is_volume = false (bool)
+ block.have_scanned = false (bool)
+ block.no_partitions = false (bool)
+ linux.sysfs_path_device = '/sys/block/sda' (string)
+ linux.sysfs_path = '/sys/block/sda' (string)
+ info.bus = 'block' (string)
+
+udi = '/org/freedesktop/Hal/devices/scsi_5_0_0_0'
+ info.udi = '/org/freedesktop/Hal/devices/scsi_5_0_0_0' (string)
+ info.product = 'SCSI Device' (string)
+ scsi.lun = 0 (0x0) (int)
+ scsi.target = 0 (0x0) (int)
+ scsi.bus = 0 (0x0) (int)
+ scsi.host = 5 (0x5) (int)
+ info.parent = '/org/freedesktop/Hal/devices/scsi_host_5' (string)
+ scsi.linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:10.3/usb4/4-3/4-3:1.0/host5/5:0:0:0' (string)
+ linux.sysfs_path_device =
'/sys/devices/pci0000:00/0000:00:10.3/usb4/4-3/4-3:1.0/host5/5:0:0:0' (string)
+ linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:10.3/usb4/4-3/4-3:1.0/host5/5:0:0:0' (string)
+ info.bus = 'scsi' (string)
+
+udi = '/org/freedesktop/Hal/devices/scsi_host_5'
+ info.udi = '/org/freedesktop/Hal/devices/scsi_host_5' (string)
+ info.capabilities = 'scsi_host' (string)
+ info.product = 'SCSI Host Interface' (string)
+ scsi_host.host = 5 (0x5) (int)
+ info.parent =
'/org/freedesktop/Hal/devices/usb_usb_device_4b4_6830_1_-1_DEF107679C83_0'
(string)
+ linux.sysfs_path_device =
'/sys/devices/pci0000:00/0000:00:10.3/usb4/4-3/4-3:1.0/host5' (string)
+ linux.sysfs_path = '/sys/class/scsi_host/host5' (string)
+ info.bus = 'scsi_host' (string)
+
+udi =
'/org/freedesktop/Hal/devices/usb_usb_device_4b4_6830_1_-1_DEF107679C83_0'
+ info.udi =
'/org/freedesktop/Hal/devices/usb_usb_device_4b4_6830_1_-1_DEF107679C83_0'
(string)
+ info.product = 'USB Mass Storage Interface' (string)
+ usb.interface.subclass = 6 (0x6) (int)
+ usb.interface.protocol = 50 (0x32) (int)
+ usb.interface.number = 0 (0x0) (int)
+ usb.interface.class = 8 (0x8) (int)
+ usb.configuration_value = 1 (0x1) (int)
+ usb.device_class = 0 (0x0) (int)
+ usb.device_protocol = 0 (0x0) (int)
+ usb.device_subclass = 0 (0x0) (int)
+ usb.max_power = 0 (0x0) (int)
+ usb.num_configurations = 1 (0x1) (int)
+ usb.num_interfaces = 1 (0x1) (int)
+ usb.device_revision_bcd = 1 (0x1) (int)
+ usb.is_self_powered = true (bool)
+ usb.can_wake_up = false (bool)
+ usb.serial = 'DEF107679C83' (string)
+ usb.product_id = 26672 (0x6830) (int)
+ usb.vendor_id = 1204 (0x4b4) (int)
+ usb.vendor = 'Cypress Semiconductor Corp.' (string)
+ usb.product = 'USB-2.0 IDE Adapter' (string)
+ usb.bus_number = 4 (0x4) (int)
+ usb.port_number = 3 (0x3) (int)
+ usb.level_number = 1 (0x1) (int)
+ usb.linux.device_number = 7 (0x7) (int)
+ usb.linux.parent_number = 7 (0x7) (int)
+ usb.num_ports = 0 (0x0) (int)
+ usb.speed_bcd = 294936 (0x48018) (int)
+ usb.version_bcd = 512 (0x200) (int)
+ info.parent =
'/org/freedesktop/Hal/devices/usb_device_4b4_6830_1_-1_DEF107679C83' (string)
+ usb.linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:10.3/usb4/4-3/4-3:1.0' (string)
+ linux.sysfs_path_device =
'/sys/devices/pci0000:00/0000:00:10.3/usb4/4-3/4-3:1.0' (string)
+ linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:10.3/usb4/4-3/4-3:1.0'
(string)
+ info.bus = 'usb' (string)
+
+udi = '/org/freedesktop/Hal/devices/usb_device_4b4_6830_1_-1_DEF107679C83'
+ info.udi =
'/org/freedesktop/Hal/devices/usb_device_4b4_6830_1_-1_DEF107679C83' (string)
+ linux.kernel_devname = 'usb-0000:00:10.3-3' (string)
+ usb_device.version_bcd = 512 (0x200) (int)
+ usb_device.speed_bcd = 294936 (0x48018) (int)
+ usb_device.num_ports = 0 (0x0) (int)
+ usb_device.linux.parent_number = 7 (0x7) (int)
+ usb_device.linux.device_number = 7 (0x7) (int)
+ usb_device.level_number = 1 (0x1) (int)
+ usb_device.port_number = 3 (0x3) (int)
+ usb_device.bus_number = 4 (0x4) (int)
+ info.product = 'USB-2.0 IDE Adapter' (string)
+ usb_device.product = 'USB-2.0 IDE Adapter' (string)
+ info.vendor = 'Cypress Semiconductor Corp.' (string)
+ usb_device.vendor = 'Cypress Semiconductor Corp.' (string)
+ usb_device.vendor_id = 1204 (0x4b4) (int)
+ usb_device.product_id = 26672 (0x6830) (int)
+ usb_device.serial = 'DEF107679C83' (string)
+ usb_device.can_wake_up = false (bool)
+ usb_device.is_self_powered = true (bool)
+ usb_device.device_revision_bcd = 1 (0x1) (int)
+ usb_device.num_interfaces = 1 (0x1) (int)
+ usb_device.num_configurations = 1 (0x1) (int)
+ usb_device.max_power = 0 (0x0) (int)
+ usb_device.device_subclass = 0 (0x0) (int)
+ usb_device.device_protocol = 0 (0x0) (int)
+ usb_device.device_class = 0 (0x0) (int)
+ usb_device.configuration_value = 1 (0x1) (int)
+ info.parent =
'/org/freedesktop/Hal/devices/usb_device_0_0_206_-1_0000:00:10.3' (string)
+ usb_device.linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:10.3/usb4/4-3' (string)
+ linux.sysfs_path_device = '/sys/devices/pci0000:00/0000:00:10.3/usb4/4-3'
(string)
+ linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:10.3/usb4/4-3' (string)
+ info.bus = 'usb_device' (string)
+
udi = '/org/freedesktop/Hal/devices/pci_1106_3099'
info.parent = '/org/freedesktop/Hal/devices/computer' (string)
info.udi = '/org/freedesktop/Hal/devices/pci_1106_3099' (string)
@@ -546,165 +705,6 @@
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:10.3/usb4/4-0:1.0'
(string)
info.bus = 'usb' (string)
-udi = '/org/freedesktop/Hal/devices/block_9284-CBD1'
- volume.mount_point = '/media/AD' (string)
- volume.policy.mount_option.noatime = false (bool)
- volume.policy.mount_option.sync = false (bool)
- volume.policy.desired_mount_point = 'ICYBOX' (string)
- volume.policy.mount_filesystem = 'vfat' (string)
- volume.policy.should_mount = true (bool)
- info.udi = '/org/freedesktop/Hal/devices/block_9284-CBD1' (string)
- volume.partition.msdos_part_table_type = 12 (0xc) (int)
- volume.size = 60044527616 (0xdfaeec800) (uint64)
- volume.block_size = 512 (0x200) (int)
- volume.num_blocks = 117274468 (0x6fd7764) (int)
- volume.partition.number = 1 (0x1) (int)
- volume.is_partition = true (bool)
- volume.is_mounted = true (bool)
- volume.is_disc = false (bool)
- volume.uuid = '9284-CBD1' (string)
- volume.label = 'ICYBOX' (string)
- volume.fsversion = 'FAT32' (string)
- volume.fsusage = 'filesystem' (string)
- volume.fstype = 'vfat' (string)
- info.product = 'ICYBOX' (string)
- block.storage_device = '/org/freedesktop/Hal/devices/block_8_0' (string)
- block.minor = 1 (0x1) (int)
- block.major = 8 (0x8) (int)
- info.capabilities = 'block volume' (string)
- info.category = 'volume' (string)
- info.parent = '/org/freedesktop/Hal/devices/block_8_0' (string)
- block.device = '/dev/sda1' (string)
- block.is_volume = true (bool)
- block.have_scanned = false (bool)
- block.no_partitions = false (bool)
- linux.sysfs_path_device = '/sys/block/sda/sda1' (string)
- linux.sysfs_path = '/sys/block/sda/sda1' (string)
- info.bus = 'block' (string)
-
-udi = '/org/freedesktop/Hal/devices/block_8_0'
- storage.policy.should_mount = true (bool)
- info.udi = '/org/freedesktop/Hal/devices/block_8_0' (string)
- storage.requires_eject = false (bool)
- storage.hotpluggable = true (bool)
- storage.removable = false (bool)
- info.product = 'K060H3' (string)
- info.vendor = 'MAXTOR 4' (string)
- storage.drive_type = 'disk' (string)
- block.storage_device = '/org/freedesktop/Hal/devices/block_8_0' (string)
- storage.physical_device =
'/org/freedesktop/Hal/devices/usb_usb_device_4b4_6830_1_-1_DEF107679C83_0'
(string)
- storage.vendor = 'MAXTOR 4' (string)
- storage.model = 'K060H3' (string)
- storage.automount_enabled_hint = true (bool)
- storage.no_partitions_hint = false (bool)
- storage.media_check_enabled = true (bool)
- storage.bus = 'usb' (string)
- block.minor = 0 (0x0) (int)
- block.major = 8 (0x8) (int)
- info.capabilities = 'block storage' (string)
- info.category = 'storage' (string)
- info.parent = '/org/freedesktop/Hal/devices/scsi_5_0_0_0' (string)
- block.device = '/dev/sda' (string)
- block.is_volume = false (bool)
- block.have_scanned = false (bool)
- block.no_partitions = false (bool)
- linux.sysfs_path_device = '/sys/block/sda' (string)
- linux.sysfs_path = '/sys/block/sda' (string)
- info.bus = 'block' (string)
-
-udi = '/org/freedesktop/Hal/devices/scsi_5_0_0_0'
- info.udi = '/org/freedesktop/Hal/devices/scsi_5_0_0_0' (string)
- info.product = 'SCSI Device' (string)
- scsi.lun = 0 (0x0) (int)
- scsi.target = 0 (0x0) (int)
- scsi.bus = 0 (0x0) (int)
- scsi.host = 5 (0x5) (int)
- info.parent = '/org/freedesktop/Hal/devices/scsi_host_5' (string)
- scsi.linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:10.3/usb4/4-3/4-3:1.0/host5/5:0:0:0' (string)
- linux.sysfs_path_device =
'/sys/devices/pci0000:00/0000:00:10.3/usb4/4-3/4-3:1.0/host5/5:0:0:0' (string)
- linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:10.3/usb4/4-3/4-3:1.0/host5/5:0:0:0' (string)
- info.bus = 'scsi' (string)
-
-udi = '/org/freedesktop/Hal/devices/scsi_host_5'
- info.udi = '/org/freedesktop/Hal/devices/scsi_host_5' (string)
- info.capabilities = 'scsi_host' (string)
- info.product = 'SCSI Host Interface' (string)
- scsi_host.host = 5 (0x5) (int)
- info.parent =
'/org/freedesktop/Hal/devices/usb_usb_device_4b4_6830_1_-1_DEF107679C83_0'
(string)
- linux.sysfs_path_device =
'/sys/devices/pci0000:00/0000:00:10.3/usb4/4-3/4-3:1.0/host5' (string)
- linux.sysfs_path = '/sys/class/scsi_host/host5' (string)
- info.bus = 'scsi_host' (string)
-
-udi =
'/org/freedesktop/Hal/devices/usb_usb_device_4b4_6830_1_-1_DEF107679C83_0'
- info.udi =
'/org/freedesktop/Hal/devices/usb_usb_device_4b4_6830_1_-1_DEF107679C83_0'
(string)
- info.product = 'USB Mass Storage Interface' (string)
- usb.interface.subclass = 6 (0x6) (int)
- usb.interface.protocol = 50 (0x32) (int)
- usb.interface.number = 0 (0x0) (int)
- usb.interface.class = 8 (0x8) (int)
- usb.configuration_value = 1 (0x1) (int)
- usb.device_class = 0 (0x0) (int)
- usb.device_protocol = 0 (0x0) (int)
- usb.device_subclass = 0 (0x0) (int)
- usb.max_power = 0 (0x0) (int)
- usb.num_configurations = 1 (0x1) (int)
- usb.num_interfaces = 1 (0x1) (int)
- usb.device_revision_bcd = 1 (0x1) (int)
- usb.is_self_powered = true (bool)
- usb.can_wake_up = false (bool)
- usb.serial = 'DEF107679C83' (string)
- usb.product_id = 26672 (0x6830) (int)
- usb.vendor_id = 1204 (0x4b4) (int)
- usb.vendor = 'Cypress Semiconductor Corp.' (string)
- usb.product = 'USB-2.0 IDE Adapter' (string)
- usb.bus_number = 4 (0x4) (int)
- usb.port_number = 3 (0x3) (int)
- usb.level_number = 1 (0x1) (int)
- usb.linux.device_number = 7 (0x7) (int)
- usb.linux.parent_number = 7 (0x7) (int)
- usb.num_ports = 0 (0x0) (int)
- usb.speed_bcd = 294936 (0x48018) (int)
- usb.version_bcd = 512 (0x200) (int)
- info.parent =
'/org/freedesktop/Hal/devices/usb_device_4b4_6830_1_-1_DEF107679C83' (string)
- usb.linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:10.3/usb4/4-3/4-3:1.0' (string)
- linux.sysfs_path_device =
'/sys/devices/pci0000:00/0000:00:10.3/usb4/4-3/4-3:1.0' (string)
- linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:10.3/usb4/4-3/4-3:1.0'
(string)
- info.bus = 'usb' (string)
-
-udi = '/org/freedesktop/Hal/devices/usb_device_4b4_6830_1_-1_DEF107679C83'
- info.udi =
'/org/freedesktop/Hal/devices/usb_device_4b4_6830_1_-1_DEF107679C83' (string)
- linux.kernel_devname = 'usb-0000:00:10.3-3' (string)
- usb_device.version_bcd = 512 (0x200) (int)
- usb_device.speed_bcd = 294936 (0x48018) (int)
- usb_device.num_ports = 0 (0x0) (int)
- usb_device.linux.parent_number = 7 (0x7) (int)
- usb_device.linux.device_number = 7 (0x7) (int)
- usb_device.level_number = 1 (0x1) (int)
- usb_device.port_number = 3 (0x3) (int)
- usb_device.bus_number = 4 (0x4) (int)
- info.product = 'USB-2.0 IDE Adapter' (string)
- usb_device.product = 'USB-2.0 IDE Adapter' (string)
- info.vendor = 'Cypress Semiconductor Corp.' (string)
- usb_device.vendor = 'Cypress Semiconductor Corp.' (string)
- usb_device.vendor_id = 1204 (0x4b4) (int)
- usb_device.product_id = 26672 (0x6830) (int)
- usb_device.serial = 'DEF107679C83' (string)
- usb_device.can_wake_up = false (bool)
- usb_device.is_self_powered = true (bool)
- usb_device.device_revision_bcd = 1 (0x1) (int)
- usb_device.num_interfaces = 1 (0x1) (int)
- usb_device.num_configurations = 1 (0x1) (int)
- usb_device.max_power = 0 (0x0) (int)
- usb_device.device_subclass = 0 (0x0) (int)
- usb_device.device_protocol = 0 (0x0) (int)
- usb_device.device_class = 0 (0x0) (int)
- usb_device.configuration_value = 1 (0x1) (int)
- info.parent =
'/org/freedesktop/Hal/devices/usb_device_0_0_206_-1_0000:00:10.3' (string)
- usb_device.linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:10.3/usb4/4-3' (string)
- linux.sysfs_path_device = '/sys/devices/pci0000:00/0000:00:10.3/usb4/4-3'
(string)
- linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:10.3/usb4/4-3' (string)
- info.bus = 'usb_device' (string)
-
udi = '/org/freedesktop/Hal/devices/usb_device_0_0_206_-1_0000:00:10.3'
info.udi = '/org/freedesktop/Hal/devices/usb_device_0_0_206_-1_0000:00:10.3'
(string)
linux.kernel_devname = 'usb-0000:00:10.3' (string)