As you may know, we are willing to migrate to FSO. As part of it, we made ogsmd running on H:1 and we will rewrite phone-kit to use libfso-glib instead of libgsmd.
Until we get all the stuff packaged, here are the step to make ogsmd running on a Hackable:1 rev4 installation.
We will use a git version that I know working. On your computer:
git clone git://git.freesmartphone.org/framework.git cd framework git checkout 17898fc0f73453c11d1b1e8db57f8e8a0cfbc943 . cd .. scp -r framework root@192.168.0.202: # I assume that it is you FR's IP
SSH into your freerunner and:
cd framework python setup.py install cd ..Install the muxer
We will use SHR packages which a copy of them is on our trac.
wget "http://trac.hackable1.org/trac/raw-attachment/wiki/ogsmd/fso-abyss_0.3.5+gitr67+ff68be1581069ca494a559e85f6299246888d3b5-r0_armv4t.ipk" ar -x fso-abyss_0.3.5+gitr67+ff68be1581069ca494a559e85f6299246888d3b5-r0_armv4t.ipk tar -xvzf data.tar.gz -C / wget "http://trac.hackable1.org/trac/raw-attachment/wiki/ogsmd/libgsm0710mux0_0.3.5+gitr35+8e3e7533b286d8086bce8fa09bce23bb9f18bb98-r1_armv4t.ipk" ar -x libgsm0710mux0_0.3.5+gitr35+8e3e7533b286d8086bce8fa09bce23bb9f18bb98-r1_armv4t.ipk tar -xvzf data.tar.gz -C / wget "http://trac.hackable1.org/trac/raw-attachment/wiki/ogsmd/libgsm0710-0_1.1.1+gitr15+3bb80ba6cc9f86ed3996f88bfa2986cc572489d6-r1_armv4t.ipk" ar -x libgsm0710-0_1.1.1+gitr15+3bb80ba6cc9f86ed3996f88bfa2986cc572489d6-r1_armv4t.ipk tar -xvzf data.tar.gz -C / wget "http://trac.hackable1.org/trac/raw-attachment/wiki/ogsmd/libfsotransport0_0.9.3+gitr367+3c3e1b862cdde806cef8f502dfe79f1d48f1c5d7-r6.1_armv4t.ipk" ar -x libfsotransport0_0.9.3+gitr367+3c3e1b862cdde806cef8f502dfe79f1d48f1c5d7-r6.1_armv4t.ipk tar -xvzf data.tar.gz -C / wget "http://trac.hackable1.org/trac/raw-attachment/wiki/ogsmd/libfsobasics0_0.8.1.0+gitr367+3c3e1b862cdde806cef8f502dfe79f1d48f1c5d7-r6.1_armv4t.ipk" ar -x libfsobasics0_0.8.1.0+gitr367+3c3e1b862cdde806cef8f502dfe79f1d48f1c5d7-r6.1_armv4t.ipk tar -xvzf data.tar.gz -C /
We will use SHR frameworkd.conf:
wget "http://git.shr-project.org/git/?p=shr-themes.git;a=blob_plain;f=frameworkd/frameworkd-config-shr/om-gta02/frameworkd.conf;hb=HEAD" -O /etc/frameworkd.conf
If the following file doesn't exists, libgsm0710mux segfaults (see http://trac.freesmartphone.org/ticket/467)
cat << __EOF > /etc/abyss.conf [omuxerd] autoopen = 1 autoclose = 1 autoexit = 1 [session] mode = 1 framesize = 98 port = /dev/ttySAC0 speed = 115200 [device] wakeup_threshold = 6 wakeup_waitms = 200 __EOF
And if this one doesn't exists, fso-abyss claims it doesn't provide any channel
touch /etc/cornucopia.conf
A file may have permissions problem, first check it:
ls -l /usr/lib/dbus-1.0/dbus-daemon-launch-helper
If the group isn't messagebus:
chgrp messagebus /usr/lib/dbus-1.0/dbus-daemon-launch-helper chmod u+s /usr/lib/dbus-1.0/dbus-daemon-launch-helper # because chgrp removes the SUIDLaunch Ogsmd
Let's kill the old stuff...
killall -9 ogsmd...and launch te framework:
frameworkd -s ogsmdIf no error (Python Traceback) occurs, we can move on:
libfso-glib sample
Install libfso-glib
wget "http://trac.hackable1.org/trac/raw-attachment/wiki/libfso-glib/libfso-glib0_0.2.0-gitrx44+9d292508739452b55b80ec40ec57405a5de2159f-r0_armv4t.ipk" ar -x libfso-glib0_0.2.0-gitrx44+9d292508739452b55b80ec40ec57405a5de2159f-r0_armv4t.ipk tar -xvzf data.tar.gz -C /
Install the sample (See the sources)
wget http://trac.hackable1.org/trac/raw-attachment/wiki/libfso-glib/sample-libfso-glib_0.1-1_armel.deb dpkg -i sample-libfso-glib_0.1-1_armel.deb sample-wYou will be asked for your PIN (unless you are already authentified) and you will be registered.
Then, it will catch several signals. after that, you can call yourself and see the signals "CallStatus" be matched. These signals are sent whenever the status of a call (which ID is specified, i.e. "1") change. (ie "incoming" or "release"). See FSO doc for further information.
And now what ? You can already, by reading freesmartphone.h, find any interesting function you need and write nice applications.
Any question ?
If you have any question about this manipulation or about Hackable:1, feel free to ask in the comments.



Hi,
Where is the file freesmartphone.h?
How do you build or where do you find "ipk libfso-glib"? I ask you that Because I have not some functions in my freesmartphone.h that you call in sample-w program.(free_smartphone_gsm_device_dbus_proxy_new)
And I don't see anywhere in spec one reference to this function.
Thanks for the tuto.