Editing User:Jebba/Ofono

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
-
=Using oFono on N900=
 
-
The ofono package is now in extras-devel, so just install it via that.
 
-
 
-
==Starting for first time==
 
-
To start the first time, reboot, or run:
 
-
 
-
sudo gainroot
 
-
 
-
/etc/init.d/ofono start
 
-
 
-
==Start on boot (or not)==
 
-
It appears oFono will start on boot. If you *don't* want this, run:
 
-
 
-
sudo gainroot
 
-
 
-
update-rc.d -f ofono remove
 
-
 
-
==Test==
 
-
To see if you can communicate with the device (*not* as root):
 
-
 
-
dbus-send --system --print-reply --dest=org.ofono /isimodem0  org.ofono.Modem.GetProperties
 
-
 
-
==f1rst call==
 
-
To make a call, run this as root:
 
-
 
-
dbus-send --print-reply --system --dest=org.ofono /isimodem0 org.ofono.VoiceCallManager.Dial string:"5551212" string:""
 
-
 
-
==More to come==
 
-
An early first taste, have fun!
 
-
 
-
==See also==
 
-
* [http://talk.maemo.org/showthread.php?t=39400 oFono thread on talk]
 
-
 
-
* [http://lists.maemo.org/pipermail/maemo-developers/2010-January/023450.html thread on maemo-devel]
 
-
 
-
=Using oFono in Pass thru mode=
 
-
You probably don't want to use this mode if you just want to use oFono on N900 to make calls.
 
-
 
-
In this mode, you use a laptop that connect to your N900 via USB. This is kind of pointless "now" that oFono is working directly on the device, but perhaps there is a thing or two that can be done this way that can't be done directly (such as SMS ???).
 
-
 
* Quick and dirty.
* Quick and dirty.
* [http://ofono.org/ oFono] website.
* [http://ofono.org/ oFono] website.
-
==Build ofono==
+
=Build ofono=
On laptop.
On laptop.
Line 57: Line 17:
-
==modem.conf==
+
=modem.conf=
On laptop.
On laptop.
Line 67: Line 27:
  Baud=115200
  Baud=115200
-
==dbus==
+
=dbus=
On laptop.
On laptop.
Line 79: Line 39:
-
==Connect N900==
+
=Connect N900=
Plug in fone to laptop via USB. Select "PC Suite" mode.
Plug in fone to laptop via USB. Select "PC Suite" mode.
-
==ofonod==
+
=ofonod=
On laptop.
On laptop.
Line 96: Line 56:
-
==enable modem==
+
=enable modem=
On laptop, in different xterm as the ofonod is happily running in other xterm.
On laptop, in different xterm as the ofonod is happily running in other xterm.
Line 107: Line 67:
You can watch the fun go by in the other terminal.
You can watch the fun go by in the other terminal.
-
==Make f1rst fone call==
+
=Make f1rst fone call=
On laptop.
On laptop.
Line 114: Line 74:
  ./test/test-voicecall 5551212
  ./test/test-voicecall 5551212
-
==Chill==
+
=Chill=
Ok, so that works. Now you can try some other scripts in test/
Ok, so that works. Now you can try some other scripts in test/
-
==dbus-send==
+
=dbus-send=
Here's a few dbus sends, I've only tested one so far.
Here's a few dbus sends, I've only tested one so far.
Line 152: Line 112:
=Thanks=
=Thanks=
-
Much thanks to zhenhua in #ofono for his help and to Aki Niemi for N900 packages and hints.
+
Much thanks to zhenhua1 in #ofono for his help :)

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)