You are not logged in.

#1 2007-01-04 13:13:24

iggy
Member
From: Germany, L.E. - Leipzig
Registered: 2004-10-17
Posts: 367

need help for ivman, good howto or so

hello!

i want to use ivman for automounting. so i have installed hal, dbus and ivman. but i dont found any information how to configure ivman. also ivman doesnt work correct. mounts usb-stick only one time, doesnt mount dvd...

can someone post me a complete guidance for ivman? that would be nice. if it works perfect i will add this to the wiki!

thx, mfg iggy


sorry for my bad english smile

Offline

#2 2007-01-05 16:41:42

iggy
Member
From: Germany, L.E. - Leipzig
Registered: 2004-10-17
Posts: 367

Re: need help for ivman, good howto or so

no one here who uses successfully ivman?


sorry for my bad english smile

Offline

#3 2007-01-05 17:07:04

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: need help for ivman, good howto or so

iggy wrote:

no one here who uses successfully ivman?

/me uses HAL on home machine with Gnome
and udev+autofs on server with Xfce.
The last time I tried ivman it mounted my partitions in such crazy way that even those in fstab didn't work.


to live is to die

Offline

#4 2007-01-06 02:24:59

iggy
Member
From: Germany, L.E. - Leipzig
Registered: 2004-10-17
Posts: 367

Re: need help for ivman, good howto or so

i got this error by putting in a cd into the drive:

IvmConfig/IvmConfigCommon.c:166 (ivm_device_is_mountable) UDI /org/freedesktop/Hal/devices/storage_serial_36WN300180 is device /dev/hdb
IvmConfig/IvmConfigCommon.c:186 (ivm_device_is_mountable) Device /dev/hdb can't be mounted because it is not a volume

the cd will not be unmounted automatically. there is also no response while pluggin in a usb-storage-device. sad

i start ivman via .xinitrc

ivman-launch --exit-with-session xinit &

plz help me


sorry for my bad english smile

Offline

#5 2007-01-30 04:24:24

vogt
Member
From: Toronto, Canada
Registered: 2006-11-25
Posts: 389

Re: need help for ivman, good howto or so

similar problems here, though sometimes it works

but it chose a random name for the mount point; the cd with the name Lt Kije was actualy in /dev/sr1, and it didnt get mounted

manager.c:1476 (main) Entering main loop.
IvmConfig/IvmConfigCommon.c:166 (ivm_device_is_mountable) UDI /org/freedesktop/Hal/devices/volume_label_Lt_Kije is device /dev/sr0
IvmConfig/IvmConfigCommon.c:319 (ivm_device_is_mountable) Device /dev/sr0 appears to be mountable
IvmConfig/IvmConfigCommon.c:166 (ivm_device_is_mountable) UDI /org/freedesktop/Hal/devices/volume_label_Lt_Kije is device /dev/sr0
IvmConfig/IvmConfigCommon.c:319 (ivm_device_is_mountable) Device /dev/sr0 appears to be mountable
hal_interface.c:163 (hal_device_property_modified) Mounted: /org/freedesktop/Hal/devices/volume_label_Lt_Kije

and similarly to your problem, i've had

IvmConfig/IvmConfigCommon.c:166 (ivm_device_is_mountable) UDI /org/freedesktop/Hal/devices/storage_model_CD_ROM_CRD_8482B is device /dev/sr1
IvmConfig/IvmConfigCommon.c:186 (ivm_device_is_mountable) Device /dev/sr1 can't be mounted because it is not a volume

theres a pretty good article here

it might even be some kind of syntactical error on part of ivman mounting whatever, because if you started it with something like ivman --nofork -d -c /etc/ivman, it would tell you which command it uses to mount things, which is, in my case at least, pmount-hal

and since

pmount-hal /org/freedesktop/Hal/devices/storage_model_CD_ROM_CRD_8482B
pmount /dev/sr1

both worked, each and every time, regardless of what ivman would do, i think that the problem would lie somewhere in either the permissions ivman gets or something else

Offline

#6 2007-01-30 23:10:41

iggy
Member
From: Germany, L.E. - Leipzig
Registered: 2004-10-17
Posts: 367

Re: need help for ivman, good howto or so

when i start ivman after a fresh boot i will mount the first inserted cd/dvd and/or usb-drive. but ivman doesn't report something, when i plug-off one of the devices. what can i do?


sorry for my bad english smile

Offline

#7 2007-01-31 01:17:40

vogt
Member
From: Toronto, Canada
Registered: 2006-11-25
Posts: 389

Re: need help for ivman, good howto or so

probably because its not configured to unmount the device when it gets unplugged, though its safer to unmount BEFORE you unplug it, though if you have it mounted with the sync option, it shouldnt matter.

something like this in IvmConfigActions.xml this should work in theory, though it doesn't seem to do very much.

<ivm:Match name="ivm.mountable" value="true">
 <ivm:Option name="mount" value="true" />
<ivm:Option name="execun" value="punmount '$hal.volume.mount_point$'"/>
/ivm:Match>
....

though you could just bypass hal and ivman, and use some udev rules and auto-eject-cdrom that was suggested by Lanrat on the mailing list here

Last edited by vogt (2007-01-31 01:28:27)

Offline

#8 2007-01-31 20:48:33

iggy
Member
From: Germany, L.E. - Leipzig
Registered: 2004-10-17
Posts: 367

Re: need help for ivman, good howto or so

vogt wrote:

though you could just bypass hal and ivman, and use some udev rules and auto-eject-cdrom that was suggested by Lanrat on the mailing list here

yeah! that is what i'm looking for! thanks, i will try it! wink

EDIT: one thing i still miss is firewire! sad

Last edited by iggy (2007-01-31 20:53:44)


sorry for my bad english smile

Offline

#9 2007-02-01 00:47:22

vogt
Member
From: Toronto, Canada
Registered: 2006-11-25
Posts: 389

Re: need help for ivman, good howto or so

do firewire devices/partitions become sd(x)(y)?
if you were to manually mount them, in which case the udev mounting rules handling usb devices should work for them, except that you wouldn't get a different name signifying that it was firewire.

Offline

#10 2007-02-02 02:18:39

iggy
Member
From: Germany, L.E. - Leipzig
Registered: 2004-10-17
Posts: 367

Re: need help for ivman, good howto or so

today i tested auto-eject-cdrom, but i have a problem! the function mount_cdrom (in the auto-eject-cdrom.c file) is working correct, the cdrom is mounted and i can use it! but when i press the eject-button on my drive the eject_request-function is not called! (tested it with printf) what can be the problem? i'm not a c-geek! sad

doing "eject /dev/hdb" is working great. so there must be a problem with the eject-event of my the drive! plz help!

EDIT: found out, that the auto-eject-cdrom-app uses old cdrom-events handled by the cdrom kernel-modul. also i found out, that not every drive is sending a signal when eject-button is pressed. what can i do?

Last edited by iggy (2007-02-02 12:44:28)


sorry for my bad english smile

Offline

Board footer

Powered by FluxBB