Hal and storage.removable.media_available

Alexander Logvinov freebsd at akavia.ru
Mon Jan 12 05:22:23 PST 2009


Hello!

 I can't burn disc with brasero because it doesn't find available
 discs. But nautilus-cd-burner-2.24.0 works fine.

# brasero
** (brasero:34770): WARNING **: Hal connection problem :  No property storage.removable.media_available on device with id /org/freedesktop/Hal/devices/storage_model_CD_W540E_0
** (brasero:34770): WARNING **: Hal connection problem :  No property storage.removable.media_available on device with id /org/freedesktop/Hal/devices/storage_model_DVD_RW_ND_4571A

# mount | grep cd
/dev/cd0 on /media/Backup_281208 (udf, local, nosuid, read-only)

 Where /dev/cd0 is NEC DVD_RW with Verbatim DVD-RW 4.7GB disc.

# dmesg
cd0 at ata1 bus 0 target 0 lun 0
cd0: <_NEC DVD_RW ND-4571A 1-01> Removable CD-ROM SCSI-0 device 
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
cd1 at ata1 bus 0 target 1 lun 0
cd1: <TEAC CD-W540E 1.0K> Removable CD-ROM SCSI-0 device 
cd1: 33.000MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Medium not present

# uname -sr
FreeBSD 7.1-STABLE

# pkg_info -Ix hal
hal-0.5.11_10       Hardware Abstraction Layer for simplifying device access
hal-info-20080508_1 Additional FDI files to further classify HAL devices

# hal-device /org/freedesktop/Hal/devices/storage_model_DVD_RW_ND_4571A
udi = '/org/freedesktop/Hal/devices/storage_model_DVD_RW_ND_4571A'
  storage.vendor = '_NEC'  (string)
  storage.cdrom.dvdrw = false  (bool)
  storage.cdrom.dvdram = true  (bool)
  block.is_volume = false  (bool)
  storage.cdrom.dvdplusr = true  (bool)
  block.storage_device = '/org/freedesktop/Hal/devices/storage_model_DVD_RW_ND_4571A'  (string)
  storage.cdrom.dvdplusrw = true  (bool)
  info.udi = '/org/freedesktop/Hal/devices/storage_model_DVD_RW_ND_4571A'  (string)
  storage.cdrom.dvdplusrdl = true  (bool)
  info.subsystem = 'block'  (string)
  storage.cdrom.dvdplusrwdl = false  (bool)
  freebsd.driver = 'cd'  (string)
  info.product = 'DVD_RW ND-4571A'  (string)
  storage.cdrom.bd = false  (bool)
  freebsd.unit = 0  (0x0)  (int)
  storage.cdrom.bdr = false  (bool)
  storage.cdrom.bdre = false  (bool)
  storage.cdrom.hddvd = false  (bool)
  storage.cdrom.hddvdr = false  (bool)
  storage.cdrom.hddvdrw = false  (bool)
  info.vendor = '_NEC'  (string)
  storage.cdrom.support_media_changed = false  (bool)
  storage.cdrom.read_speed = 8467  (0x2113)  (int)
  storage.cdrom.write_speed = 8467  (0x2113)  (int)
  freebsd.device_file = '/dev/cd0'  (string)
  info.capabilities = { 'block', 'storage', 'storage.cdrom' } (string list)
  info.category = 'storage.cdrom'  (string)
  block.device = '/dev/cd0'  (string)
  storage.lun = 0  (0x0)  (int)
  block.major = 0  (0x0)  (int)
  block.freebsd.cam_path = '2,0,0'  (string)
  block.minor = 88  (0x58)  (int)
  storage.bus = 'scsi'  (string)
  info.addons = { 'hald-addon-storage' } (string list)
  storage.drive_type = 'cdrom'  (string)
  info.interfaces = { 'org.freedesktop.Hal.Device.Storage', 'org.freedesktop.Hal.Device.Storage', 'org.freedesktop.Hal.Device.Storage.Removable' } (string list)
  org.freedesktop.Hal.Device.Storage.method_names = { 'Eject', 'CloseTray' } (string list)
  storage.removable = true  (bool)
  org.freedesktop.Hal.Device.Storage.method_signatures = { 'as', 'as' } (string list)
  storage.requires_eject = true  (bool)
  org.freedesktop.Hal.Device.Storage.method_argnames = { 'extra_options', 'extra_options' } (string list)
  storage.hotpluggable = false  (bool)
  org.freedesktop.Hal.Device.Storage.method_execpaths = { 'hal-storage-eject', 'hal-storage-closetray' } (string list)
  storage.media_check_enabled = true  (bool)
  storage.cdrom.write_speeds = { '8467', '7056', '5645', '4234', '2822', '1411' } (string list)
  storage.automount_enabled_hint = true  (bool)
  storage.firmware_revision = '1-01'  (string)
  storage.cdrom.cdr = true  (bool)
  storage.no_partitions_hint = true  (bool)
  storage.cdrom.cdrw = true  (bool)
  info.parent = '/org/freedesktop/Hal/devices/ide_host_1_scsi_host_scsi_device_lun0'  (string)
  storage.removable.support_async_notification = false  (bool)
  storage.originating_device = '/org/freedesktop/Hal/devices/ide_host_1_scsi_host_scsi_device_lun0'  (string)
  storage.cdrom.dvd = true  (bool)
  storage.model = 'DVD_RW ND-4571A'  (string)
  storage.cdrom.dvdr = true  (bool)


 What's wrong?

-- 
WBR,
 Alexander                          mailto:freebsd at akavia.ru



More information about the freebsd-gnome mailing list