[Bug 159328] New: Iomega zip recognized twice

ROASCIO Paolo roa at libero.it
Fri Mar 14 20:57:12 GMT 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=159328         
           Summary: Iomega zip recognized twice
           Product: kde
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs kde org
        ReportedBy: roa libero it


Version:            (using KDE 3.5.9)
Installed from:    Compiled From Sources
Compiler:          gcc 4.1.1 
OS:                Linux

Hello,

Finally i get my iomega zip 750 (ide) work under linux & hal (udev, dbus and so on...)

Normally, an unmounted zip icon (named "zip unit") is placed on the desktop, if i insert a diskette in the driver it will be a windows with actions that pops up to ask what to do with the new media.

Whell i obtain two popups: the first for /dev/sdb (the one related to the icon on the desktop and titled "zip unit") and the second for /dev/sdb4 (the right zip partition, titled "ZIP750")but, for the last one, no icons appear on the desktop (this should be right).

If i chose "open in a new window" on the first popup, i get an error (because that is not the right zip partition), instead, the same action in the second popup opens konqueror with the content of the zip disk.

The icon on the desktop (related to /dev/sdb) is always unmounted, but, in device manager, i obtain two icons, one - useless - named "zip unit" figuring a zip disk, and one named "ZIP750" figuring an hard disk (in the context menu i haven't the eject option, but randomly, when i select the unmount option, the drive ejects the media)

lshal correctly reports 2 units (the disk and the volume) and confirm that hal recognizes the unit as zip drive (not floppy or disk):

udi = '/org/freedesktop/Hal/devices/storage_model_ZIP_750'
  block.device = '/dev/sdb'  (string)
  block.is_volume = false  (bool)
  block.major = 8  (0x8)  (int)
  block.minor = 16  (0x10)  (int)
  block.storage_device = '/org/freedesktop/Hal/devices/storage_model_ZIP_750'  (string)
  info.addons = {'hald-addon-storage', 'hald-addon-storage'} (string list)
  info.capabilities = {'storage', 'block'} (string list)
  info.category = 'storage'  (string)
  info.interfaces = {'org.freedesktop.Hal.Device.Storage', 'org.freedesktop.Hal.Device.Storage', 'org.freedesktop.Hal.Device.Storage', 'org.freedesktop.Hal.Device.Storage'} (string list)
  info.parent = '/org/freedesktop/Hal/devices/pci_1022_7441_scsi_host_0_scsi_device_lun0_0'  (string)
  info.product = 'ZIP 750'  (string)
  info.udi = '/org/freedesktop/Hal/devices/storage_model_ZIP_750'  (string)
  info.vendor = 'IOMEGA'  (string)
  linux.hotplug_type = 3  (0x3)  (int)
  linux.sysfs_path = '/sys/block/sdb'  (string)
  org.freedesktop.Hal.Device.Storage.method_argnames = {'extra_options', 'extra_options', 'extra_options', 'extra_options'} (string list)
  org.freedesktop.Hal.Device.Storage.method_execpaths = {'hal-storage-eject', 'hal-storage-closetray', 'hal-storage-eject', 'hal-storage-closetray'} (string list)
  org.freedesktop.Hal.Device.Storage.method_names = {'Eject', 'CloseTray', 'Eject', 'CloseTray'} (string list)
  org.freedesktop.Hal.Device.Storage.method_signatures = {'as', 'as', 'as', 'as'} (string list)
  storage.automount_enabled_hint = true  (bool)
  storage.bus = 'scsi'  (string)
  storage.drive_type = 'zip'  (string)
  storage.firmware_version = '80.a'  (string)
  storage.hotpluggable = false  (bool)
  storage.lun = 0  (0x0)  (int)
  storage.media_check_enabled = true  (bool)
  storage.model = 'ZIP 750'  (string)
  storage.no_partitions_hint = false  (bool)
  storage.originating_device = '/org/freedesktop/Hal/devices/pci_1022_7441_scsi_host_0_scsi_device_lun0_0'  (string)
  storage.partitioning_scheme = 'mbr'  (string)
  storage.physical_device = '/org/freedesktop/Hal/devices/pci_1022_7441_scsi_host_0_scsi_device_lun0_0'  (string)
  storage.removable = true  (bool)
  storage.removable.media_available = true  (bool)
  storage.removable.media_size = 752896000  (0x2ce04800)  (uint64)
  storage.requires_eject = true  (bool)
  storage.size = 0  (0x0)  (uint64)
  storage.vendor = 'IOMEGA'  (string)

udi = '/org/freedesktop/Hal/devices/volume_uuid_3044_1809'
  block.device = '/dev/sdb4'  (string)
  block.is_volume = true  (bool)
  block.major = 8  (0x8)  (int)
  block.minor = 20  (0x14)  (int)
  block.storage_device = '/org/freedesktop/Hal/devices/storage_model_ZIP_750'  (string)
  info.capabilities = {'volume', 'block'} (string list)
  info.category = 'volume'  (string)
  info.interfaces = {'org.freedesktop.Hal.Device.Volume', 'org.freedesktop.Hal.Device.Volume'} (string list)
  info.parent = '/org/freedesktop/Hal/devices/storage_model_ZIP_750'  (string)
  info.product = 'ZIP750'  (string)
  info.udi = '/org/freedesktop/Hal/devices/volume_uuid_3044_1809'  (string)
  linux.hotplug_type = 3  (0x3)  (int)
  linux.sysfs_path = '/sys/block/sdb/sdb4'  (string)
  org.freedesktop.Hal.Device.Volume.method_argnames = {'mount_point fstype extra_options', 'extra_options', 'extra_options', 'mount_point fstype extra_options', 'extra_options', 'extra_options'} (string list)
  org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-storage-mount', 'hal-storage-unmount', 'hal-storage-eject', 'hal-storage-mount', 'hal-storage-unmount', 'hal-storage-eject'} (string list)
  org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount', 'Eject', 'Mount', 'Unmount', 'Eject'} (string list)
  org.freedesktop.Hal.Device.Volume.method_signatures = {'ssas', 'as', 'as', 'ssas', 'as', 'as'} (string list)
  storage.model = ''  (string)
  volume.block_size = 512  (0x200)  (int)
  volume.fstype = 'vfat'  (string)
  volume.fsusage = 'filesystem'  (string)
  volume.fsversion = 'FAT16'  (string)
  volume.ignore = false  (bool)
  volume.is_disc = false  (bool)
  volume.is_mounted = true  (bool)
  volume.is_mounted_read_only = false  (bool)
  volume.is_partition = true  (bool)
  volume.label = 'ZIP750'  (string)
  volume.linux.is_device_mapper = false  (bool)
  volume.mount.valid_options = {'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'noexec', 'quiet', 'remount', 'exec', 'utf8', 'shortname=', 'codepage=', 'iocharset=', 'umask=', 'dmask=', 'fmask=', 'uid=', 'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'noexec', 'quiet', 'remount', 'exec', 'utf8', 'shortname=', 'codepage=', 'iocharset=', 'umask=', 'dmask=', 'fmask=', 'uid='} (string list)
  volume.mount_point = '/media/ZIP750'  (string)
  volume.num_blocks = 1470432  (0x166fe0)  (int)
  volume.partition.flags = {'boot'} (string list)
  volume.partition.label = ''  (string)
  volume.partition.media_size = 752896000  (0x2ce04800)  (uint64)
  volume.partition.number = 4  (0x4)  (int)
  volume.partition.scheme = 'mbr'  (string)
  volume.partition.start = 16384  (0x4000)  (uint64)
  volume.partition.type = '0x06'  (string)
  volume.partition.uuid = ''  (string)
  volume.size = 752861184  (0x2cdfc000)  (uint64)
  volume.unmount.valid_options = {'lazy', 'lazy'} (string list)
  volume.uuid = '3044-1809'  (string)

It seems that - for zip drives - kde recognizes either the unit (on the desktop and in device manager) and the volume (only in the device manager). The desired behaviour should be that only the volume is recognized either as a desktop icon (wich will be renamed with the volume name) and in the device manager.



More information about the Unassigned-bugs mailing list