Ogsmd on Hackable:1
This page explains how to install ogsmd on H:1 before we get it packaged.
There also is a tutorial on libfso-glib which provides C functions to use FSO's features: libfso-glib
I assume that you know how to connect you FR and that its IP is 192.168.0.202
Install the packages
Since we have not pakaged them yet, there is a copy of each of them in this page, coming from SHR.
First, you will need the framework. We will get it from the FSO's Git:
git clone git://git.freesmartphone.org/framework.git cd framework git checkout 17898fc0f73453c11d1b1e8db57f8e8a0cfbc943 . cd .. scp -r framework root@192.168.0.202:
SSH into your FR and:
cd framework python setup.py install cd ..
We now install the muxer and its dependencies:
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 this 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 i 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 SUID
Kill the old stuff:
killall -9 gsmd
launch the framework:
frameworkd -s ogsmd
If that works (no Python Traceback), we can move on to libfso-glib
Attachments
-
fso-abyss_0.3.5+gitr67+ff68be1581069ca494a559e85f6299246888d3b5-r0_armv4t.ipk
(20.2 KB) -
added by Deubeuliou 2 years ago.
-
libfsobasics0_0.8.1.0+gitr367+3c3e1b862cdde806cef8f502dfe79f1d48f1c5d7-r6.1_armv4t.ipk
(12.7 KB) -
added by Deubeuliou 2 years ago.
-
libfsotransport0_0.9.3+gitr367+3c3e1b862cdde806cef8f502dfe79f1d48f1c5d7-r6.1_armv4t.ipk
(9.5 KB) -
added by Deubeuliou 2 years ago.
-
libgsm0710-0_1.1.1+gitr15+3bb80ba6cc9f86ed3996f88bfa2986cc572489d6-r1_armv4t.ipk
(5.9 KB) -
added by Deubeuliou 2 years ago.
-
libgsm0710mux0_0.3.5+gitr35+8e3e7533b286d8086bce8fa09bce23bb9f18bb98-r1_armv4t.ipk
(23.1 KB) -
added by Deubeuliou 2 years ago.
