<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.3314" name=GENERATOR>
<STYLE>BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Verdana>I want to use dbus-send to send a method to umount the
usb volume.</FONT></DIV>
<DIV><FONT face=Verdana>However,the error is shown below:</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>dbus-send --system --print-reply
--dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/volume_uuid_4409_6AFB
org.freedesktop.Hal.Device.Volume.Unmount <BR>Error
org.freedesktop.DBus.Error.UnknownMethod: Method "UnMount" with signature "" on
interface "org.freedesktop.Hal.Device.Volume" doesn't exist</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana>I use "lshal" to see the hal info:</FONT></DIV>
<DIV><FONT size=2>udi =
'/org/freedesktop/Hal/devices/volume_uuid_4409_6AFB'<BR>
volume.unmount.valid_options = {'lazy'} (string list)<BR>
volume.mount.valid_options = {'ro', 'sync', 'dirsync', 'noatime', 'nodiratime',
'noexec', 'quiet', 'remount', 'exec', 'utf8', 'sho<BR>rtname=', 'codepage=',
'iocharset=', 'umask=', 'dmask=', 'fmask=', 'uid='} (string list)<BR>
org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-storage-mount',
'hal-storage-unmount', 'hal-storage-eject'} (string lis<BR>t)<BR>
org.freedesktop.Hal.Device.Volume.method_argnames = {'mount_point fstype
extra_options', 'extra_options', 'extra_options'}
(string<BR> list)<BR>
org.freedesktop.Hal.Device.Volume.method_signatures = {'ssas', 'as', 'as'}
(string list)<BR> org.freedesktop.Hal.Device.Volume.method_names =
{'Mount', 'Unmount', 'Eject'} (string list)<BR> info.interfaces =
{'org.freedesktop.Hal.Device.Volume'} (string list)<BR> volume.ignore =
false (bool)<BR> info.udi =
'/org/freedesktop/Hal/devices/volume_uuid_4409_6AFB' (string)</FONT></DIV>
<DIV>..........</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>As you can see,the Unmount method is right there.</DIV>
<DIV>How can I solve it?</DIV>
<DIV>Thanks!</DIV>
<DIV><FONT face=Verdana> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV align=left><FONT size=2>
<HR style="WIDTH: 122px; HEIGHT: 2px" SIZE=2>
</FONT></DIV>
<DIV><FONT color=#c0c0c0><FONT size=2><SPAN>zhihuaye</SPAN></FONT></DIV>
<DIV><FONT size=2>2008-06-05</FONT></FONT></DIV></FONT></BODY></HTML>