Comment 47 for bug 109763

Revision history for this message
David C (da-cas) wrote : [Bug #109763] Insert a rewriteable or blank disc when trying to use CD/DVD Creator, with blank disc

Cha0s: can you let us know what device you had success with?

ThomasLee82:
The problem will persist in all future versions until the HAL team decide to support old (non-MMC2) CD-RW drives.
They did not appear interested in my patch, presumably because they do not believe that there are (significant numbers of) users with old drives.

However, the fact that your device doesn't work is interesting, as the patch was to allow reporting of the media size using the HAL property "volume.disc.capacity". I think that is the only effect of the change I made. From the lshal output, I see that your device appears to be doing this, so I must assume that either the device is MMC-2 or my patch is installed.

Therefore I have to ask what the error is that you are observing?

I have identical entries in my lshal output for all the volume.* entries.
The following is cut from YOUR lshal output:
udi = '/org/freedesktop/Hal/devices/volume_empty_cd_r'
  block.device = '/dev/hdd' (string)
  block.is_volume = true (bool)
  block.major = 22 (0x16) (int)
  block.minor = 64 (0x40) (int)
  block.storage_device = '/org/freedesktop/Hal/devices/storage_model_SAMSUNG_CD_R/RW_SW_252S' (string)
  info.capabilities = {'volume.disc', '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_SAMSUNG_CD_R/RW_SW_252S' (string)
  info.udi = '/org/freedesktop/Hal/devices/volume_empty_cd_r' (string)
  linux.fstab.mountpoint = '/media/cdrom0' (string)
  linux.fstab.options = 'user,noauto' (string)
  linux.hotplug_type = 3 (0x3) (int)
  linux.sysfs_path = '/sys/block/hdd/fakevolume' (string)
  org.freedesktop.Hal.Device.Volume.method_argnames = {'extra_options', 'extra_options'} (string list)
  org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-storage-eject', 'hal-storage-eject'} (string list)
  org.freedesktop.Hal.Device.Volume.method_names = {'Eject', 'Eject'} (string list)
  org.freedesktop.Hal.Device.Volume.method_signatures = {'as', 'as'} (string list)
  storage.model = '' (string)
  volume.block_size = 0 (0x0) (int)
  volume.disc.capacity = 735051776 (0x2bd00000) (uint64)
  volume.disc.has_audio = false (bool)
  volume.disc.has_data = false (bool)
  volume.disc.is_appendable = false (bool)
  volume.disc.is_blank = true (bool)
  volume.disc.is_rewritable = false (bool)
  volume.disc.type = 'cd_r' (string)
  volume.fstype = '' (string)
  volume.fsusage = '' (string)
  volume.fsversion = '' (string)
  volume.is_disc = true (bool)
  volume.is_mounted = false (bool)
  volume.is_mounted_read_only = false (bool)
  volume.is_partition = false (bool)
  volume.label = '' (string)
  volume.linux.is_device_mapper = false (bool)
  volume.mount_point = '' (string)
  volume.num_blocks = 4 (0x4) (int)
  volume.size = 2048 (0x800) (uint64)
  volume.uuid = '' (string)

_________________________________________________________________
Get free emoticon packs and customisation from Windows Live.
http://www.pimpmylive.co.uk