Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Apr 2012 11:15:39 +0900 (JST)
From:      Takashi Matsubara <t-matubara@miracle.ocn.ne.jp>
To:        freebsd-questions@freebsd.org
Subject:   Gnome2.32 Doesn't auto mount sd cards
Message-ID:  <20120421.111539.702773873740288808.t-matubara@miracle.ocn.ne.jp>

next in thread | raw e-mail | index | archive | help
Hello,
gnome-mount -t -d /dev/mmcsd0s1
-/media/.hal-mtab is-
 /dev/mmcsd0s1   1001    0       msdosfs nosuid,longnames,-u=1001,-L=ja_JP.UTF-8,-D=CP932        /media/mmcsd0s1

gnome-umount -t -d /dev/mmcsd0s1
It is OK.

It is a question from here. 
With my computer of Nautilus, since a mass storage drive appears, 
if it clicks, "A place cannot be mounted" will be displayed. 
Although it thinks that a setup of HAL is insufficient, 
how to write a configuration file(.fdi) is not known. 
Would you teach? 

-uname -a is-
FreeBSD tamago-two.tamago.local 9.0-STABLE FreeBSD 9.0-STABLE #15: Mon Apr 16 20:36:00 JST 2012     matubara@tamago-two.tamago.local:/usr/obj/usr/src/sys/TAMAGO-TWO  amd64
-pciconf -lv is-
sdhci0@pci0:13:0:0:     class=0x080500 card=0x213317aa chip=0xe8221180 rev=0x01 hdr=0x00
    vendor     = 'Ricoh Co Ltd'
    device     = 'MMC/SD Host Controller'
    class      = base peripheral
    subclass   = SD host controller
none3@pci0:13:0:1:      class=0x088000 card=0x213417aa chip=0xe2301180 rev=0x01 hdr=0x00
    vendor     = 'Ricoh Co Ltd'
    device     = 'Memory Stick Host Controller'
    class      = base peripheral

-lshal is-
udi = '/org/freedesktop/Hal/devices/pci_1180_e822'
  freebsd.driver = 'sdhci'  (string)
  freebsd.unit = 0  (0x0)  (int)
  info.parent = '/org/freedesktop/Hal/devices/pci_8086_3b4a'  (string)
  info.product = 'MMC/SD Host Controller'  (string)
  info.subsystem = 'pci'  (string)
  info.udi = '/org/freedesktop/Hal/devices/pci_1180_e822'  (string)
  info.vendor = 'Ricoh Co Ltd'  (string)
  pci.device_class = 8  (0x8)  (int)
  pci.device_protocol = 0  (0x0)  (int)
  pci.device_subclass = 5  (0x5)  (int)
  pci.freebsd.bus = 13  (0xd)  (int)
  pci.freebsd.device = 0  (0x0)  (int)
  pci.freebsd.function = 0  (0x0)  (int)
  pci.freebsd.secondary_bus = 0  (0x0)  (int)
  pci.product = 'MMC/SD Host Controller'  (string)
  pci.product_id = 59426  (0xe822)  (int)
  pci.subsys_product_id = 8499  (0x2133)  (int)
  pci.subsys_vendor = 'Lenovo'  (string)
  pci.subsys_vendor_id = 6058  (0x17aa)  (int)
  pci.vendor = 'Ricoh Co Ltd'  (string)
  pci.vendor_id = 4480  (0x1180)  (int)
 
udi = '/org/freedesktop/Hal/devices/pci_1180_e230'
  info.parent = '/org/freedesktop/Hal/devices/pci_8086_3b4a'  (string)
  info.product = 'Memory Stick Host Controller'  (string)
  info.subsystem = 'pci'  (string)
  info.udi = '/org/freedesktop/Hal/devices/pci_1180_e230'  (string)
  info.vendor = 'Ricoh Co Ltd'  (string)
  pci.device_class = 8  (0x8)  (int)
  pci.device_protocol = 0  (0x0)  (int)
  pci.device_subclass = 128  (0x80)  (int)
  pci.freebsd.bus = 13  (0xd)  (int)
  pci.freebsd.device = 0  (0x0)  (int)
  pci.freebsd.function = 1  (0x1)  (int)
  pci.freebsd.secondary_bus = 0  (0x0)  (int)
  pci.product = 'Memory Stick Host Controller'  (string)
  pci.product_id = 57904  (0xe230)  (int)
  pci.subsys_product_id = 8500  (0x2134)  (int)
  pci.subsys_vendor = 'Lenovo'  (string)
  pci.subsys_vendor_id = 6058  (0x17aa)  (int)
  pci.vendor = 'Ricoh Co Ltd'  (string)
  pci.vendor_id = 4480  (0x1180)  (int)
 
-lshal(When Insert SD) is-
udi = '/org/freedesktop/Hal/devices/pci_1180_e822_storage'
  block.device = '/dev/mmcsd0'  (string)
  block.is_volume = false  (bool)
  block.major = 0  (0x0)  (int)
  block.minor = 149  (0x95)  (int)
  block.storage_device = '/org/freedesktop/Hal/devices/pci_1180_e822_storage'  (string)
  freebsd.device_file = '/dev/mmcsd0'  (string)
  freebsd.driver = 'mmcsd'  (string)
  freebsd.unit = 0  (0x0)  (int)
  info.capabilities = {'block', 'storage'} (string list)
  info.category = 'storage'  (string)
  info.parent = '/org/freedesktop/Hal/devices/pci_1180_e822'  (string)
  info.product = 'Storage Device'  (string)
  info.subsystem = 'block'  (string)
  info.udi = '/org/freedesktop/Hal/devices/pci_1180_e822_storage'  (string)
  storage.automount_enabled_hint = false  (bool)
  storage.bus = 'platform'  (string)
  storage.drive_type = 'disk'  (string)
  storage.hotpluggable = false  (bool)
  storage.media_check_enabled = false  (bool)
  storage.model = ''  (string)
  storage.no_partitions_hint = false  (bool)
  storage.originating_device = ''  (string)
  storage.removable = false  (bool)
  storage.removable.support_async_notification = false  (bool)
  storage.requires_eject = false  (bool)
  storage.vendor = ''  (string)
 
udi = '/org/freedesktop/Hal/devices/volume_uuid_D854_5247'
  block.device = '/dev/mmcsd0s1'  (string)
  block.is_volume = true  (bool)
  block.major = 0  (0x0)  (int)
  block.minor = 150  (0x96)  (int)
  block.storage_device = '/org/freedesktop/Hal/devices/pci_1180_e822_storage'  (string)
  info.capabilities = {'block', 'volume'} (string list)
  info.category = 'volume'  (string)
  info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list)
  info.parent = '/org/freedesktop/Hal/devices/pci_1180_e822_storage'  (string)
  info.product = 'Volume (vfat)'  (string)
  info.subsystem = 'block'  (string)
  info.udi = '/org/freedesktop/Hal/devices/volume_uuid_D854_5247'  (string)
  org.freedesktop.Hal.Device.Volume.method_argnames = {'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'} (string list)
  org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount', 'Eject'} (string list)
  org.freedesktop.Hal.Device.Volume.method_signatures = {'ssas', 'as', 'as'} (string list)
  volume.block_size = 512  (0x200)  (uint64)
  volume.fstype = 'vfat'  (string)
  volume.fsusage = 'filesystem'  (string)
  volume.fsversion = 'FAT16'  (string)
  volume.ignore = false  (bool)
  volume.is_disc = false  (bool)
  volume.is_mounted = false  (bool)
  volume.is_mounted_read_only = false  (bool)
  volume.is_partition = true  (bool)
  volume.label = ''  (string)
  volume.mount.valid_options = {'ro', 'noexec', 'noatime', 'longnames', 'shortnames', 'nowin95', '-u=', '-g=', '-m=', '-M=', '-L=', '-D=', 'large'} (string list)
  volume.mount_point = ''  (string)
  volume.num_blocks = 1002263  (0xf4b17)  (uint64)
  volume.partition.media_size = 513158656  (0x1e962e00)  (uint64)
  volume.partition.number = 2  (0x2)  (int)
  volume.partition.scheme = 'mbr'  (string)
  volume.partition.start = 119296  (0x1d200)  (uint64)
  volume.partition.type = '0x0'  (string)
  volume.size = 513158656  (0x1e962e00)  (uint64)
  volume.uuid = 'D854-5247'  (string)
 
-lshal(When gnome-mount) is-
udi = '/org/freedesktop/Hal/devices/pci_1180_e822_storage'
  block.device = '/dev/mmcsd0'  (string)
  block.is_volume = false  (bool)
  block.major = 0  (0x0)  (int)
  block.minor = 147  (0x93)  (int)
  block.storage_device = '/org/freedesktop/Hal/devices/pci_1180_e822_storage'  (string)
  freebsd.device_file = '/dev/mmcsd0'  (string)
  freebsd.driver = 'mmcsd'  (string)
  freebsd.unit = 0  (0x0)  (int)
  info.capabilities = {'block', 'storage'} (string list)
  info.category = 'storage'  (string)
  info.parent = '/org/freedesktop/Hal/devices/pci_1180_e822'  (string)
  info.product = 'Storage Device'  (string)
  info.subsystem = 'block'  (string)
  info.udi = '/org/freedesktop/Hal/devices/pci_1180_e822_storage'  (string)
  storage.automount_enabled_hint = false  (bool)
  storage.bus = 'platform'  (string)
  storage.drive_type = 'disk'  (string)
  storage.hotpluggable = false  (bool)
  storage.media_check_enabled = false  (bool)
  storage.model = ''  (string)
  storage.no_partitions_hint = false  (bool)
  storage.originating_device = ''  (string)
  storage.removable = false  (bool)
  storage.removable.support_async_notification = false  (bool)
  storage.requires_eject = false  (bool)
  storage.vendor = ''  (string)

udi = '/org/freedesktop/Hal/devices/volume_uuid_D854_5247'
  block.device = '/dev/mmcsd0s1'  (string)
  block.is_volume = true  (bool)
  block.major = 0  (0x0)  (int)
  block.minor = 148  (0x94)  (int)
  block.storage_device = '/org/freedesktop/Hal/devices/pci_1180_e822_storage'  (string)
  info.capabilities = {'block', 'volume'} (string list)
  info.category = 'volume'  (string)
  info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list)
  info.parent = '/org/freedesktop/Hal/devices/pci_1180_e822_storage'  (string)
  info.product = 'Volume (vfat)'  (string)
  info.subsystem = 'block'  (string)
  info.udi = '/org/freedesktop/Hal/devices/volume_uuid_D854_5247'  (string)
  org.freedesktop.Hal.Device.Volume.method_argnames = {'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'} (string list)
  org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount', 'Eject'} (string list)
  org.freedesktop.Hal.Device.Volume.method_signatures = {'ssas', 'as', 'as'} (string list)
  volume.block_size = 512  (0x200)  (uint64)
  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 = ''  (string)
  volume.mount.valid_options = {'ro', 'noexec', 'noatime', 'longnames', 'shortnames', 'nowin95', '-u=', '-g=', '-m=', '-M=', '-L=', '-D=', 'large'} (string list)
  volume.mount_point = '/media/mmcsd0s1'  (string)
  volume.num_blocks = 1002263  (0xf4b17)  (uint64)
  volume.partition.media_size = 513158656  (0x1e962e00)  (uint64)
  volume.partition.number = 2  (0x2)  (int)
  volume.partition.scheme = 'mbr'  (string)
  volume.partition.start = 119296  (0x1d200)  (uint64)
  volume.partition.type = '0x0'  (string)
  volume.size = 513158656  (0x1e962e00)  (uint64)
  volume.uuid = 'D854-5247'  (string)

 Best regards



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120421.111539.702773873740288808.t-matubara>