<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<pre>Hi Zhenhua,<br> <br> I installed ofono-phonesim from Synaptic Package Manager (Ubuntu Lucid have this facility). I guess it is with <br>bootscrap-configure only. So that I am able to find ofono directory in /etc (/etc/ofono). I placed my modem.conf file <br>inside /etc/ofono. <br><br>After that also it is giving the same problem... I tried to list the modem with the following command...<br><br><br>./ofono/test/list-modems <br><br>===============================================================================================================================<br>Traceback (most recent call last):<br> File "./ofono/test/list-modems", line 7, in <module><br> manager = dbus.Interface(bus.get_object('org.ofono', '/'),<br> File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 244, in get_object<br> follow_name_owner_changes=follow_name_owner_changes)<br> File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 241, in __init__<br> self._named_service = conn.activate_name_owner(bus_name)<br> File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 183, in activate_name_owner<br> self.start_service_by_name(bus_name)<br> File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 281, in start_service_by_name<br> 'su', (bus_name, flags)))<br> File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking<br> message, timeout)<br>dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided by any .service files<br><br>===============================================================================================================================<br><br>regards,<br>Krishna K Kandula.<br><br>Hi Krishna,<br><br>        From: <a href="http://lists.ofono.org/listinfo/ofono">ofono-bounces at ofono.org</a> [mailto:<a href="http://lists.ofono.org/listinfo/ofono">ofono-bounces at ofono.org</a>] On Behalf Of krishna k<br>        Sent: Monday, May 10, 2010 4:13 PM<br>        To: <a href="http://lists.ofono.org/listinfo/ofono">ofono at ofono.org</a><br>        Subject: How to start ofono-phonesim in ubuntu-10.04 -reg<br>        <br>        <br>        Hi Yoon, <br>        <br>        I placed modem.conf file under /etc/ofono, and i tried with ./test/list-modems script. Still it is not showing any <br>        thing on command line. I tried to enable the phonesim0 modem with following command and i am getting the same o/p<br><br>[Zhenhua] Do you build oFono with bootscrap-configure? If does, you will have '--prefix=/usr --sysconfdir=/etc ...' configuration. So oFono reads configuration from /etc/ofono. Without that, you might put modem.conf under /usr/local/etc/ofono. Btw, you could raise your question on our IRC room #ofono at irc.freenode.net as well.<br>        <br>        ======================================================================================================================<br>        <br>        ./enable-modem /phonesim0<br>        <br>        ******************etc.....<br>        <br>        dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "SetProperty" <br>        with signature "sb" on interface "org.ofono.Modem" doesn't exist.<br>        <br>        ======================================================================================================================<br>        <br>        The same error as below. It is not able to detect the phonesim0?<br>        <br>        regards,<br>        Krishna K Kandula.<br>        <br>        Hi Krishna,<br>        <br>        You should put your modem.conf file under /etc/ofono/.<br>        <br>        Thanks,<br>        Yoon<br>        <br>        From: ofono-bounces at ofono.org <<a href="http://lists.ofono.org/listinfo/ofono">http://lists.ofono.org/listinfo/ofono</a>> [mailto:ofono-bounces at ofono.org <<a href="http://lists.ofono.org/listinfo/ofono">http://lists.ofono.org/listinfo/ofono</a>> ] On Behalf Of krishna k<br>        Sent: Monday, May 10, 2010 3:43 PM<br>        To: ofono at ofono.org <<a href="http://lists.ofono.org/listinfo/ofono">http://lists.ofono.org/listinfo/ofono</a>> <br>        Subject: How to start ofono-phonesim in ubuntu-10.04 -reg<br>        <br>        <br>        Hi Zhenhua,<br>        <br>        Thanks for your reply..<br>        <br>        I added the following code in /usr/share/alsa/pcm/modem.conf file...<br>        <br>        1.<br>        #<br>        #Sample for using phone simulator<br>        #<br>        [phonesim]<br>        Driver=phonesim<br>        Address=127.0.0.1<br>        port=12345<br>        <br>        -----------------------------------------------------------------------------------------------------------------------------------------<br>        I tried to ./list_modems. I got nothing on command prompt. According to my knowledge i should get the available modems (atleast phonesim0)<br>        I tried to enable the modem using the following command..<br>        <br>        ./enable-modem /phonesim0<br>        <br>        I got <br>        output as follows...<br>        <br>        ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>        <br>        Connecting<br>         modem /phonesim0...<br>        <br>        Traceback <br>        (most recent call last):<br>        <br>         File <br>        "./enable-modem", line 20, in <module><br>        <br>         <br>        modem.SetProperty("Powered", dbus.Boolean(1))<br>        <br>         File <br>        "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 68, in __call__<br>        <br>         return<br>         self._proxy_method(*args, **keywords)<br>        <br>         File <br>        "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__<br>        <br>         <br>        **keywords)<br>        <br>         File <br>        "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in <br>        call_blocking<br>        <br>         <br>        message, timeout)<br>        <br>        dbus.exceptions.DBusException:<br>         org.freedesktop.DBus.Error.UnknownMethod: Method "SetProperty" with <br>        signature "sb" on interface "org.ofono.Modem" doesn't exist<br>        <br>        --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>        Have a nice time.<br>        <br>        Regards,<br>        Krishna K Kandula<br></pre>                                            <br /><hr />The latest auto launches and test drives <a href='http://autos.in.msn.com/' target='_new'>Drag n' drop</a></body>
</html>