Re: [Utopia] Not sure if this is the correct mailing list or not - HAL and G-V-M



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Steev wrote:
> I have hal 0.5.3 installed, and gnome-volume-manager seems to no longer
> mount volumes automatically - I use pmount 0.9.3, and I have tried this
> with, gnome-volume-manager-1.3.2, i tried revision 164 from cvs, and I
> tried from cvs about an hour ago or so, which is tagged 1.3.3.
> 
> Each time, I get nnothing when I plug in my usb hd (or any device for
> that matter)
> 
> This is the output that I get (with it plugged in)
> 
> manager.c/421: setting[0]: bool: autobrowse = 1
> manager.c/421: setting[1]: bool: autoburn = 1
> manager.c/416: setting[2]: string: autoburn_audio_cd_command = sonance
> --burn-cdmanager.c/416: setting[3]: string: autoburn_photo_cd_command =
> f-spot --burn-cd
> manager.c/416: setting[4]: string: autoburn_data_cd_command = nautilus
> --no-desktop burn:
> manager.c/421: setting[5]: bool: autoipod = 1
> manager.c/416: setting[6]: string: autoipod_command = sonance
> --ipod-available=%h
> manager.c/421: setting[7]: bool: automount_drives = 1
> manager.c/421: setting[8]: bool: automount_media = 1
> manager.c/421: setting[9]: bool: autophoto = 1
> manager.c/416: setting[10]: string: autophoto_command = f-spot --import %m
> manager.c/421: setting[11]: bool: autoplay_cda = 1
> manager.c/416: setting[12]: string: autoplay_cda_command = gnome-cd
> --unique --play --device %d
> manager.c/421: setting[13]: bool: autoplay_dvd = 1
> manager.c/416: setting[14]: string: autoplay_dvd_command = totem dvd://
> manager.c/421: setting[15]: bool: autoprinter = 1
> manager.c/416: setting[16]: string: autoprinter_command = gnome-cups-add
> manager.c/421: setting[17]: bool: autorun = 0
> manager.c/416: setting[18]: string: autorun_path =
> .autorun:autorun:autorun.sh
> manager.c/416: setting[19]: string: eject_command = /usr/bin/eject
> 
> ** (gnome-volume-manager:20248): WARNING **: manager.c/1590: mount_all:
> no device for udi=/org/freedesktop/Hal/devices/volume_uuid_1C98_52D7: (null)
> 
> 
> Upon removal, I get
> manager.c/1268: Device removed:
> /org/freedesktop/Hal/devices/volume_uuid_1C98_52D7
> manager.c/1268: Device removed:
> /org/freedesktop/Hal/devices/usb_device_917_206_SDC0004A5F_if0_scsi_host_scsi_device_lun0
> manager.c/1268: Device removed:
> /org/freedesktop/Hal/devices/usb_device_917_206_SDC0004A5F_if0_scsi_host
> manager.c/1268: Device removed:
> /org/freedesktop/Hal/devices/storage_model_MK2004GAL
> manager.c/1268: Device removed:
> /org/freedesktop/Hal/devices/usb_device_917_206_SDC0004A5F_if0
> manager.c/1268: Device removed:
> /org/freedesktop/Hal/devices/usb_device_917_206_SDC0004A5F
> 
> and upon re-insertion, I get
> 
> manager.c/1181: New Device:
> /org/freedesktop/Hal/devices/usb_device_917_206_SDC0004A5F
> manager.c/1181: New Device:
> /org/freedesktop/Hal/devices/usb_device_917_206_SDC0004A5F_if0
> manager.c/1181: New Device:
> /org/freedesktop/Hal/devices/usb_device_917_206_SDC0004A5F_if0_scsi_host
> manager.c/1181: New Device:
> /org/freedesktop/Hal/devices/usb_device_917_206_SDC0004A5F_if0_scsi_host_scsi_device_lun0
> manager.c/1181: New Device:
> /org/freedesktop/Hal/devices/storage_model_MK2004GALmanager.c/1187: not
> a mountable volume: /org/freedesktop/Hal/devices/storage_model_MK2004GAL
> manager.c/1181: New Device:
> /org/freedesktop/Hal/devices/volume_uuid_1C98_52D7
> Error: UDI '/dev/sda1' does not exist
> 
> The hal-device info for my HD is
> 
> steev mebius ~ $ hal-device
> /org/freedesktop/Hal/devices/volume_uuid_1C98_52D7
> udi = '/org/freedesktop/Hal/devices/volume_uuid_1C98_52D7'
>   volume.policy.desired_mount_point = 'FIREFLY'  (string)
>   volume.policy.mount_filesystem = 'vfat'  (string)
>   volume.policy.should_mount = true  (bool)
>   info.udi = '/org/freedesktop/Hal/devices/volume_uuid_1C98_52D7'  (string)
>   volume.partition.msdos_part_table_type = 12  (0xc)  (int)
>   info.product = 'FIREFLY'  (string)
>   volume.size = 19995623424  (0x4a7d50000)  (uint64)
>   volume.num_blocks = 39053952  (0x253ea80)  (int)
>   volume.block_size = 512  (0x200)  (int)
>   volume.partition.number = 1  (0x1)  (int)
>   info.capabilities = { 'volume', 'block' } (string list)
>   info.category = 'volume'  (string)
>   volume.is_partition = true  (bool)
>   volume.is_disc = false  (bool)
>   volume.is_mounted = false  (bool)
>   volume.mount_point = ''  (string)
>   volume.label = 'FIREFLY'  (string)
>   volume.uuid = '1C98-52D7'  (string)
>   volume.fsversion = 'FAT32'  (string)
>   volume.fsusage = 'filesystem'  (string)
>   volume.fstype = 'vfat'  (string)
>   block.storage_device =
> '/org/freedesktop/Hal/devices/storage_model_MK2004GAL'  (string)
>   block.is_volume = true  (bool)
>   block.minor = 1  (0x1)  (int)
>   block.major = 8  (0x8)  (int)
>   block.device = '/dev/sda1'  (string)
>   linux.hotplug_type = 3  (0x3)  (int)
>   info.parent = '/org/freedesktop/Hal/devices/storage_model_MK2004GAL'
> (string)  linux.sysfs_path_device = '/sys/block/sda/sda1'  (string)
>   linux.sysfs_path = '/sys/block/sda/sda1'  (string)
> 
> I use the following options with configure for gnome-volume-manager
> 
> mount_path=/usr/bin/pmount-hal umount_path=/usr/bin/pumount
> --with-eject-command=/usr/bin/eject
> 
> steev mebius ~ $ ls -l /dev/sda1
> brw-rw----  1 root disk 8, 1 Jul 24 20:53 /dev/sda1
> 
> I can't figure this out at all, any ideas anyone?
> 
> --
> Steev Klimaszewski
> www.steev.net
> steev steev net
> _______________________________________________
> utopia-list mailing list
> utopia-list gnome org
> http://mail.gnome.org/mailman/listinfo/utopia-list
> 

Ok, I sort of have this figured out, but I am not too sure on why it
works now.  It is defiantely in gnome-volume-manager, I used ghex2 and
changed the /usr/bin/pmount-hal %d to /usr/bin/pmount-hal %h and it
works now, but I can't figure out where in the source that this should
be changed.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC5HmD1c+EtXTHkJcRAhVHAJ0XtKx1qIAcqDbmXS7e/KoiN+r5KQCghtbA
My6iQgYNkbrWL468XZPtDP8=
=1tT7
-----END PGP SIGNATURE-----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]