User:Jebba/Ofono

Quick and dirty.


Contents

Build ofono

On laptop.

Check build deps, and make sure your ./bootstrap-configure finds them all.

git clone git://git.kernel.org/pub/scm/network/ofono/ofono.git

cd ofono

./bootstrap-configure

make


modem.conf

On laptop.

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's using, depends if you make install or not i think).

[atgen]
Driver=atgen
Device=/dev/ttyACM0
Baud=115200

dbus

On laptop.

If not doing make install, you'll need to copy this file over:

cd ofono

cp -p ./src/ofono.conf /etc/dbus-1/system.d/ofono.conf
  • You then need to reload dbus. Reboot is a lame way to restart it. Heh. Or reload messagebus or whatever.


Connect N900

Plug in fone to laptop via USB. Select "PC mode" or wtf it's called in English.


ofonod

On laptop.

Run this as root:

cd ofono

export OFONO_AT_DEBUG=1

./src/ofonod -nd

Now ofonod daemon is running, so you can watch wtf is going on in that xterm.