How to start ofono-phonesim in ubuntu-10.04 -reg

Zhang, Zhenhua zhenhua.zhang at intel.com
Sun May 9 23:55:06 PDT 2010


Hi Krishna,

	From: ofono-bounces at ofono.org [mailto:ofono-bounces at ofono.org] On Behalf Of krishna k
	Sent: Monday, May 10, 2010 2:43 PM
	To: ofono at ofono.org
	Subject: How to start ofono-phonesim in ubuntu-10.04 -reg
	
	
	
	Hi Zhenhua,
	
	Thanks for your reply..
	
	I added the following code in /usr/share/alsa/pcm/modem.conf file...

[Zhenhua] Please put modem.conf under /etc/ofono. You should see phonesim0 from list_modems output like your E71 modem.
	
	1.
	#
	#Sample for using phone simulator
	#
	[phonesim]
	Driver=phonesim
	Address=127.0.0.1
	port=12345
	
	-----------------------------------------------------------------------------------------------------------------------------------------
	I tried to ./list_modems. I got nothing on command prompt. According to my knowledge i should get the available modems (atleast phonesim0)
	I tried to enable  the modem using the following command..
	
	./enable-modem /phonesim0
	
	I got 
	output as follows...
	
	----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
	
	Connecting
	 modem /phonesim0...
	
	Traceback 
	(most recent call last):
	
	  File 
	"./enable-modem", line 20, in <module>
	
	    
	modem.SetProperty("Powered", dbus.Boolean(1))
	
	  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 "SetProperty" with 
	signature "sb" on interface "org.ofono.Modem" doesn't exist
	
	--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
	
	
	Have a nice time.
	
	Regards,
	Krishna K Kandula
	
	
	
________________________________

	The battle for the FIH Hockey World Cup Drag n' drop <http://specials.msn.co.in/sp10/hockey/index.aspx>  



More information about the ofono mailing list