[pkg-fso-maint] fso-abyss
Heiko Stübner
heiko at sntech.de
Sat Apr 18 13:05:06 UTC 2009
Hi Joachim,
Am Samstag 18 April 2009 schrieb Joachim Breitner:
> are you subscribed to pkg-fso-maint now?
sure
> > what I really meant was more along best practices for packaging or
> > sometimes a push in the right direction :-). For the 3 packages I tried
> > to follow the library guidelines in the developer-documentation and make
> > lintian happy.
>
> sounds good. Of course we will have a look at your packages before
> uploading them.
again sure :-)
> > As for fso-gsm0711d vs. abyss: they conflict with each other as both use
> > "org.freesmartphone.GSM.Mux" as sender and receiver in their
> > dbus-configs.
>
> I guess they should conflict with each other then, and fso-frameworkd
> should depend on fso-gsm0711d | fso-abyss – or we drop fso-gsm0711d
> right away. It’s not being developed any more by FSO, is it?
First of all, it started again today without further meddlings, so it seems my
modifications to the dbus-configs war successful.
I have attached my configs if someone wants to try abyss too.
For dropping gsm0710muxd: my framework snapshot from yesterday works with both
muxers, I don't know what pitfalls are waiting and fso-gsm0710muxd is still
the default in frameworkd.
Also the vala-code of libgsm0710mux and fso-abyss doesn't currently build with
valac 0.7 currently in debian. It needs vala 0.6 which means it isn't auto-
buildable at the moment. I built it directly on my phone.
My next step will be looking into building the vala-things with the vala
currently in debian.
> > Abyss needs its own config-file too (/etc/abyss.conf) where the for
> > example the modem-device /dev/ttySAC0 is filed. Should fso-config-gtaXX
> > provide this file?
>
> Maybe Timo’s solution is more elegant: udev rules that pick, for each
> device, the right file and make a symlink. This seems to be better than
> having config files for each device.
>
> Or abyss gets its own hardware detection code. Plugging into hal
> maybe :-)
It seems fso-abyss will reach the end of its life soon, as the vala
implementation of frameworkd cornocupia will use libgsm0701mux directly and
according to the git-description abyss itself will then be a debug-tool like
zhone is now.
So I wouldn't invest to much energy in extra-curricular activities in the
abyss code itself :-).
As for udev-rules for selecting the correct config, as I'm not that fluent in
writing these, so if someone wants to give it a try I would be happy.
Heiko
-------------- next part --------------
[omuxerd]
# set to 1, when the first AllocChannel request opens a session
autoopen = 1
# set to 1, when the last ReleaseChannel closes the session
autoclose = 1
# set to 1, when closing the session should close the program
autoexit = 1
[session]
# set 0 for 07.10 basic multiplexing, 1 for advanced
mode = 1
# set maximum 07.10 frame size
framesize = 89
# configure modem port
port = /dev/ttySAC0
speed = 115200
[device]
# if the device needs a wakeup before transmitting data,
# set the number of seconds after which is falls asleep.
# 0 = disable
wakeup_threshold = 0
# set number of milliseconds to wait after wake up
# before transmitting again
wakeup_waitms = 0
-------------- next part --------------
[frameworkd]
version = 1
log_level = INFO
#log_to = syslog
[odeviced.audio]
# set default alsa scenario
default_scenario = stereoout
# set path to alsa scenario files
scenario_dir = /usr/share/openmoko/scenarios
[odeviced.idlenotifier]
# don't read from accellerometers for GTA02
ignoreinput=2,3
[odeviced.input]
# don't read from accellerometers for GTA02
ignoreinput=2,3
# keys
report1 = AUX,key,169,1
report2 = POWER,key,116,1
report3 = USB,key,356,0
report4 = HEADSET,switch,2,0
# disable accelerometer since it uses LOADS of CPU resources
[odeviced.accelerometer]
disable = 1
accelerometer_type = gta02
[ogsmd]
# GTA02 has TI Calypso
modemtype = ti_calypso
#ti_calypso_deep_sleep = never
ti_calypso_muxer = fso-abyss
[ogpsd]
device = GTA02Device
channel = SerialChannel
path = /dev/ttySAC1
[opreferencesd]
rootdir = ../etc/freesmartphone/opreferences:/etc/freesmartphone/opreferences:/usr/etc/freesmartphone/opreferences
[oeventsd]
rules_file = ../etc/freesmartphone/oevents/rules.yaml:/etc/freesmartphone/oevents/rules.yaml:/usr/etc/freesmartphone/oevents/rules.yaml
[opimd]
disable = 1
-------------- next part --------------
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy user="root">
<allow own="org.freesmartphone.omuxerd"/>
<allow send_path="/org/freesmartphone/GSM/Muxer"/>
<allow send_destination="org.freesmartphone.GSM.MUX"/>
<allow receive_sender="org.freesmartphone.GSM.MUX"/>
</policy>
</busconfig>
-------------- next part --------------
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy user="root">
<allow own="org.pyneo.muxer"/>
<allow send_path="/org/pyneo/Muxer"/>
<!-- <allow send_destination="org.freesmartphone.GSM.MUX"/>
<allow receive_sender="org.freesmartphone.GSM.MUX"/>-->
</policy>
</busconfig>
More information about the pkg-fso-maint
mailing list