Missing Infos about CD/DVD writer

Toni Zimmer T.Zimmer at science-computing.de
Wed Aug 20 08:04:07 PDT 2008


Hello,

wee got here some CentOS installations where the cd writer maybe is not correct detected, leading to problems with
mounting an inserted CD or DVD:


> lshal
..
..
udi = '/org/freedesktop/Hal/devices/pci_8086_2682_scsi_host_4_scsi_device_lun0'
  info.udi = '/org/freedesktop/Hal/devices/pci_8086_2682_scsi_host_4_scsi_device_lun0'  (string)
  linux.subsystem = 'scsi'  (string)
  linux.hotplug_type = 1  (0x1)  (int)
  scsi.type = 'cdrom'  (string)
  scsi.vendor = 'Optiarc'  (string)
  scsi.model = 'DVD-ROM DDU1671S'  (string)
  info.product = 'SCSI Device'  (string)
  info.linux.driver = 'sr'  (string)
  scsi.lun = 0  (0x0)  (int)
  scsi.target = 0  (0x0)  (int)
  scsi.bus = 0  (0x0)  (int)
  scsi.host = 1  (0x1)  (int)
  info.parent = '/org/freedesktop/Hal/devices/pci_8086_2682_scsi_host_4'  (string)
  info.bus = 'scsi'  (string)
  linux.sysfs_path_device = '/sys/devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0'  (string)
..
..


whereas on a workstation where everything seems to be fine, the following output is generated:
> lshal
..
..
udi =
'/org/freedesktop/Hal/devices/storage_model_DVD_ROM_DDU1671S'org.freedesktop.Hal.Device.Storage.method_execpaths =
{'hal-storage-eject', 'hal-storage-closetray'} (string list)
  org.freedesktop.Hal.Device.Storage.method_argnames = {'extra_options', 'extra_options'} (string list)
  org.freedesktop.Hal.Device.Storage.method_signatures = {'as', 'as'} (string list)
  org.freedesktop.Hal.Device.Storage.method_names = {'Eject', 'CloseTray'} (string list)
  info.interfaces = {'org.freedesktop.Hal.Device.Storage', 'org.freedesktop.Hal.Device.Storage'} (string list)
  info.addons = {'hald-addon-storage'} (string list)
  block.storage_device = '/org/freedesktop/Hal/devices/storage_model_DVD_ROM_DDU1671S'  (string)
  info.udi = '/org/freedesktop/Hal/devices/storage_model_DVD_ROM_DDU1671S'  (string)
  storage.cdrom.write_speed = 706  (0x2c2)  (int)
  storage.cdrom.read_speed = 8467  (0x2113)  (int)
  storage.cdrom.support_media_changed = true  (bool)
  storage.cdrom.hddvdrw = false  (bool)
  storage.cdrom.hddvdr = false  (bool)
  storage.cdrom.hddvd = false  (bool)
  storage.cdrom.bdre = false  (bool)
  storage.cdrom.bdr = false  (bool)
  storage.cdrom.bd = false  (bool)
  storage.cdrom.dvdplusrdl = false  (bool)
  storage.cdrom.dvdplusrwdl = false  (bool)
  storage.cdrom.dvdplusrw = false  (bool)
  storage.cdrom.dvdplusr = false  (bool)
  storage.cdrom.dvdram = false  (bool)
  storage.cdrom.dvdrw = false  (bool)
  storage.cdrom.dvdr = false  (bool)
  storage.cdrom.dvd = true  (bool)
  storage.cdrom.cdrw = false  (bool)
  storage.cdrom.cdr = false  (bool)
  storage.requires_eject = true  (bool)
  storage.hotpluggable = false  (bool)
  info.capabilities = {'storage', 'block', 'storage.cdrom'} (string list)
  info.category = 'storage'  (string)
  info.product = 'DVD-ROM DDU1671S'  (string)
  info.vendor = 'Optiarc'  (string)
  storage.size = 0  (0x0)  (uint64)
:process 6812: Applications must not close shared connections - see dbus_connection_close() docs. This is a bug in
the application.
  storage.removable = true  (bool)
  storage.removable.media_available = false  (bool)
  storage.physical_device = '/org/freedesktop/Hal/devices/pci_8086_2682_scsi_host_4_scsi_device_lun0'  (string
  storage.lun = 0  (0x0)  (int)
  storage.firmware_version = '1H17'  (string)
  storage.vendor = 'Optiarc'  (string)
  storage.model = 'DVD-ROM DDU1671S'  (string)
  storage.drive_type = 'cdrom'  (string)
  storage.automount_enabled_hint = true  (bool)
  storage.media_check_enabled = true  (bool)
  storage.no_partitions_hint = true  (bool)
  storage.bus = 'scsi'  (string)
  block.is_volume = false  (bool)
  block.minor = 0  (0x0)  (int)
  block.major = 11  (0xb)  (int)
  block.device = '/dev/scd0'  (string)
  linux.hotplug_type = 3  (0x3)  (int)
  info.parent = '/org/freedesktop/Hal/devices/pci_8086_2682_scsi_host_4_scsi_device_lun0'  (string)
  linux.sysfs_path_device = '/sys/block/sr0'  (string)
  linux.sysfs_path = '/sys/block/sr0'  (string)


 
Is there a way to convince hal to show the last information on the first installation, too (if this leads to let
the user (auto) mount media again)?



Kind regards

Toni Zimmer

-- 
Toni Zimmer                     science + computing ag
IT Services                     Hagellocher Weg 73
phone +49 7071 9457 485         72070 Tuebingen, Germany
fax   +49 7071 9457 411         www.science-computing.de
-- 
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Florian Geyer,
Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Prof. Dr. Hanns Ruder
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196 




More information about the hal mailing list