HAL, floppy drive, volume isn't present.

nuser fakeact at bol.com.br
Sun Jul 9 15:34:50 PDT 2006


 I'm using Debian Etch, hal 0.5.7-2, dbus 0.62-4.
 I was told on the Thunar mailing list (file manager based on gtk2) that it can automatically mount devices which HAL tells the volume for that device. Of course it doesn't find a volume there, there is no floppy disk, the same happens with the cdrom drive, usb port. But, when I plug a pendrive or insert a cdrom, a object for each volume inside the device is created, right? When I insert a disk on the cdrom drive:
 
DeviceAdded, udi=/org/freedesktop/Hal/devices/volume_label_MYFILES

 How can I solve this? Where sits the "problem" for no being able to have hal to tell when I insert a disk on the floppy drive? Not even when I mounted the disk, restarted hald, the volume was not listed.

 thanks

it's a legacy floppy drive, i guess
---------------------------------------------------
udi = '/org/freedesktop/Hal/devices/platform_floppy_0'
  info.udi = '/org/freedesktop/Hal/devices/platform_floppy_0'  (string)
  linux.subsystem = 'platform'  (string)
  linux.hotplug_type = 1  (0x1)  (int)
  info.product = 'Platform Device (floppy.0)'  (string)
  platform.id = 'floppy.0'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  info.bus = 'platform'  (string)
  linux.sysfs_path_device = '/sys/devices/platform/floppy.0'  (string)
  linux.sysfs_path = '/sys/devices/platform/floppy.0'  (string)
---------------------------------------------------
udi = '/org/freedesktop/Hal/devices/platform_floppy_0_storage'
  volume.mount.valid_options = {'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'noexec', 'quiet', 'utf8', 'shortname=', 'codepage=', 'iocharset=', 'umask=', 'uid='} (string list)
  org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-system-storage-mount', 'hal-system-storage-unmount', 'hal-system-storage-eject'} (string list)
  org.freedesktop.Hal.Device.Volume.method_signatures = {'ssas', 'as', 'as'} (string list)
  org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount', 'Eject'} (string list)
  info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list)
  block.storage_device = '/org/freedesktop/Hal/devices/platform_floppy_0_storage'  (string)
  info.udi = '/org/freedesktop/Hal/devices/platform_floppy_0_storage'  (string)
  info.capabilities = {'storage', 'block'} (string list)
  info.category = 'storage'  (string)
  storage.requires_eject = false  (bool)
  storage.hotpluggable = false  (bool)
  storage.removable = true  (bool)
  storage.physical_device = '/org/freedesktop/Hal/devices/platform_floppy_0'  (string)
  storage.drive_type = 'floppy'  (string)
  info.product = 'PC Floppy Drive'  (string)
  info.vendor = ''  (string)
  storage.vendor = 'PC Floppy Drive'  (string)
  storage.model = ''  (string)
  storage.automount_enabled_hint = true  (bool)
  storage.media_check_enabled = false  (bool)
  storage.no_partitions_hint = true  (bool)
  storage.bus = 'platform'  (string)
  block.is_volume = false  (bool)
  block.minor = 0  (0x0)  (int)
  block.major = 2  (0x2)  (int)
  block.device = '/dev/fd0'  (string)
  linux.hotplug_type = 3  (0x3)  (int)
  info.parent = '/org/freedesktop/Hal/devices/platform_floppy_0'  (string)
  linux.sysfs_path_device = '/sys/block/fd0'  (string)
  linux.sysfs_path = '/sys/block/fd0'  (string)
---------------------------------------------------



More information about the hal mailing list