<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=201.127.228.169</id>
	<title>Maemo Wiki Mirror - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=201.127.228.169"/>
	<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php/Special:Contributions/201.127.228.169"/>
	<updated>2026-04-22T19:08:51Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=User:Jebba/Ofono&amp;diff=48759</id>
		<title>User:Jebba/Ofono</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=User:Jebba/Ofono&amp;diff=48759"/>
		<updated>2010-01-06T03:44:43Z</updated>

		<summary type="html">&lt;p&gt;201.127.228.169: /* Thanks */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* Quick and dirty.&lt;br /&gt;
&lt;br /&gt;
* [http://ofono.org/ oFono] website.&lt;br /&gt;
&lt;br /&gt;
=Build ofono=&lt;br /&gt;
On laptop.&lt;br /&gt;
&lt;br /&gt;
Check build deps, and make sure your ./bootstrap-configure finds them all.&lt;br /&gt;
&lt;br /&gt;
 git clone git://git.kernel.org/pub/scm/network/ofono/ofono.git&lt;br /&gt;
 &lt;br /&gt;
 cd ofono&lt;br /&gt;
 &lt;br /&gt;
 ./bootstrap-configure&lt;br /&gt;
 &lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=modem.conf=&lt;br /&gt;
On laptop.&lt;br /&gt;
&lt;br /&gt;
You need a modem.conf file like this. I put it in /etc/ofono/modem.conf and /usr/local/etc/ofono/modem.conf... (havent confirmed which it&#039;s using, depends if you make install or not i think).&lt;br /&gt;
&lt;br /&gt;
 [atgen]&lt;br /&gt;
 Driver=atgen&lt;br /&gt;
 Device=/dev/ttyACM0&lt;br /&gt;
 Baud=115200&lt;br /&gt;
&lt;br /&gt;
=dbus=&lt;br /&gt;
On laptop.&lt;br /&gt;
&lt;br /&gt;
If not doing make install, you&#039;ll need to copy this file over:&lt;br /&gt;
&lt;br /&gt;
 cd ofono&lt;br /&gt;
 &lt;br /&gt;
 cp -p ./src/ofono.conf /etc/dbus-1/system.d/ofono.conf&lt;br /&gt;
&lt;br /&gt;
* You then need to reload dbus. Reboot is a lame way to restart it. Heh. Or reload messagebus or whatever.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Connect N900=&lt;br /&gt;
Plug in fone to laptop via USB. Select &amp;quot;PC Suite&amp;quot; mode.&lt;br /&gt;
&lt;br /&gt;
=ofonod=&lt;br /&gt;
On laptop.&lt;br /&gt;
&lt;br /&gt;
Run this as root:&lt;br /&gt;
&lt;br /&gt;
 cd ofono&lt;br /&gt;
 &lt;br /&gt;
 export OFONO_AT_DEBUG=1&lt;br /&gt;
 &lt;br /&gt;
 ./src/ofonod -nd&lt;br /&gt;
&lt;br /&gt;
Now ofonod daemon is running, so you can watch wtf is going on in that xterm.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=enable modem=&lt;br /&gt;
On laptop, in different xterm as the ofonod is happily running in other xterm.&lt;br /&gt;
&lt;br /&gt;
DO *NOT* run this as root. Run as regular user:&lt;br /&gt;
&lt;br /&gt;
 cd ofono&lt;br /&gt;
 &lt;br /&gt;
 ./test/enable-modem&lt;br /&gt;
&lt;br /&gt;
You can watch the fun go by in the other terminal.&lt;br /&gt;
&lt;br /&gt;
=Make f1rst fone call=&lt;br /&gt;
On laptop.&lt;br /&gt;
&lt;br /&gt;
DO *NOT* run this as root. Run as regular user, substituing 5551212 for who you want to call:&lt;br /&gt;
&lt;br /&gt;
 ./test/test-voicecall 5551212&lt;br /&gt;
&lt;br /&gt;
=Chill=&lt;br /&gt;
Ok, so that works. Now you can try some other scripts in test/&lt;br /&gt;
&lt;br /&gt;
=dbus-send=&lt;br /&gt;
Here&#039;s a few dbus sends, I&#039;ve only tested one so far.&lt;br /&gt;
&lt;br /&gt;
ofono-dial&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 sudo dbus-send --print-reply --system --dest=org.ofono /atgen0 org.ofono.VoiceCallManager.Dial string:&amp;quot;48990591&amp;quot; string:&amp;quot;&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
ofono-get-properties&lt;br /&gt;
 #/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 sudo dbus-send --system --print-reply --dest=org.ofono /atgen0 org.ofono.Modem.GetProperties&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ofono-get-properties-sms&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 sudo dbus-send --system --print-reply --dest=org.ofono /atgen0 org.ofono.SmsManager.GetProperties&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
ofono-power-on&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
  sudo dbus-send --system --type=method_call --print-reply \&lt;br /&gt;
  --dest=org.ofono  /atgen0 org.ofono.Modem.SetProperty string:&amp;quot;Powered&amp;quot; \&lt;br /&gt;
  variant:boolean:true&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
ofono-register&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 sudo dbus-send --system --print-reply --type=method_call --dest=org.ofono /atgen0 org.ofono.NetworkRegistration.Register&lt;br /&gt;
&lt;br /&gt;
=Thanks=&lt;br /&gt;
Much thanks to zhenhua1 in #ofono for his help :):P&lt;/div&gt;</summary>
		<author><name>201.127.228.169</name></author>
	</entry>
</feed>