How to start ofono-phonesim in ubuntu-10.04 -reg
by Pranay Bahadur Singh - ERS, HCL Tech
Hi,
I am getting problem while starting ofono-phonesim-1.16 in ubuntu-10.04.
I installed ofono-phonesim from synaptic package manager in ubuntu lucid
(10.04) and i am trying start the simulator with the following ...
1. I modified modem.conf file with following content...
==================================
[phonesim]
Driver=phonesim
Address=127.0.0.1
Port=12345
==================================
Copied modem.conf file to /ofono/ folder
2. phonesim -p 12345 -gui /ofono/phonesim/src/default.xml
But it is not displaying anything on the screen.
I also tried all changes suggested by other members of forum, but getting same problem.
During power up the phonesim following error is coming (Unable to hop onto D-Bus):
root@pranay-desktop:/home/pranay/ofono/phonesim-1.16#<mailto:root@pranay-desktop:/home/pranay/ofono/phonesim-1.16#> sudo ofonod -nd *
ofonod[19304]: oFono version 1.2
ofonod[19304]: Unable to hop onto D-Bus: Name already in use
ofonod[19304]: Exit
Test to enable the ofono-phonesim modem support also fails:
root@pranay-desktop:/home/pranay/ofono/phonesim-1.16#<mailto:root@pranay-desktop:/home/pranay/ofono/phonesim-1.16#> /home/pranay/ofono/ofono-1.2/test/enable-modem
Traceback (most recent call last):
File "/home/pranay/ofono/ofono-1.2/test/enable-modem", line 13, in <module>
modems = manager.GetModems()
File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 68, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
**keywords)
File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "GetModems" with signature "" on interface "org.ofono.Manager" doesn't exist
Test to online the ofono-phonesim modem support also fails:
root@pranay-desktop:/home/pranay/ofono/phonesim-1.16#<mailto:root@pranay-desktop:/home/pranay/ofono/phonesim-1.16#> /home/pranay/ofono/ofono-1.2/test/online-modem
Traceback (most recent call last):
File "/home/pranay/ofono/ofono-1.2/test/online-modem", line 12, in <module>
modems = manager.GetModems()
File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 68, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
**keywords)
File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "GetModems" with signature "" on interface "org.ofono.Manager" doesn't exist
Can anyone please help me out if already resolved this problem?
Thanks in Advance.
Thanks & Regards,
Pranay Singh
+91-9650855977
________________________________
::DISCLAIMER::
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------