[pkg-fso-maint] fso-frameworkd: consider moving /usr/share/openmoko/scenarios/gsmhandset.state to /etc to make it conffile
luca at pca.it
Tue Sep 30 13:02:04 CEST 2008
FWIW, I haven't had the time to look deep into this issues.
On Tue, 30 Sep 2008 12:24:21 +0200, Timo Juhani Lindfors wrote:
> Joachim Breitner <nomeata at debian.org> writes:
>> I’m not sure how well that would work with the revamped sound handling
>> in the next release of the framework, maybe Guillaume or whoever works
> There is now a 'scenario_dir' option in frameworkd.conf which defaults
> to /etc/alsa/scenario
These scenarios doesn't belong to ALSA and, even "worse", are not
directly managed by any upstream ALSA utils. Instead, they're specific
to frameworkd: why not default to /etc/freesmartphone/scenarios?
This is how I see it, from an outside POV, but still according to the
default scenarios, not to be modified by the end-users since they are
in a read-only "position" 
modified scnearios, since they are configuration files 
When frameworkd needs a scenario it looks for it in /e/f/s/ and if it
doesn't find it it loads the default one, i.e. the one from /u/s/f/s/.
I can see only one problem with /u/s/f/s/: usually, there's not one
general scenario, but each one is specific to the sound chip. In this
case, the solution would be something like
# this is for unmodified scenarios, please don't change it
default_scenarios_dir = /usr/share/openmoko/scenarios/
# this is for customized scenarios
scenarios_dir = /etc/freesmarphone/scenarios
This will also help each distribution (like Debian) to untight scenarios
file from frameworkd: e.g., Debian could ship frameworkd "binaries" in
fso-frameworkd and scenarios in openmoko-scenarios .
On Debian, one thing that you should consider about mixer levels is that
as soon as you install alsa-utils, by default mixer levels are stored
and restored on shutdown and bootup, respectively.
> how about migrating the debian package to use that?
This is clearly an upstream problem, which means that I'd prefer to wait
for upstream to solve it :-D
Gismo / Luca
 this package name is just an *example*
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 314 bytes
Desc: not available
More information about the smartphones-standards