[pkg-fso-maint] fsodeviced: not started by init

Heiko Stübner heiko at sntech.de
Sun Jan 17 18:27:01 UTC 2010


Am Sonntag 17 Januar 2010 15:17:23 schrieb arne anka:
> after todays issues with auto suspend i found today fso-decied as extra
> package and installed it.
> the first snag was the missing conf, which i created by c&p from the fso
> git, see below (as usual, i undertsand only half of it -- what, frinst,
> does "Which input objects to ignore" mean and when is that applicable?).
> the second may be to disable odeviced in frameworkd.conf (the last started
> of the two implemantations will else produce errors because the dbus name
> is already taken).
> 
> but now i experience something weird with init: in the normal course of
> action fsodeviecd is apparently never started although it works when
> called manually, either directly or by the init script.
> - first question: why is it orderd before fso-frameworkd (S01fso-deviced
> vs S02fso-frameworkd)?
The init script isn't ordered and does not declare any dependencies as fso-
deviced doesn't need the framework.
The init script didn't start fso-deviced on boot for you - correct?

> - how is the dependency between the two (i got the impression, fsodeviced
> does log _only_ when frameworkd was started before)
> - why do both start fsousaged and which one should really?
Dependency-wise it seems to me that fso-deviced feeds information to the 
framework. fso-usaged is only a dbus-service. When the first app requests 
something from usaged and dbus sees that it isn't started it will start it.
Both fso-deviced and fso-framework use fso-usaged so whoever comes first will 
make dbus start it.
As fso-deviced isn't accessed by the framework by default but the other way 
around it has to be started by an init script.



> here's my /etc/freesmartphone/fsodeviced.conf (why has the file to be
> named fsodevice_d_.conf while the sections inside must be fsodevice_?)
don't ask me about naming conventions ;-)
And please see my "where no man (except shr) has gone before" mail for my 
config stolen from the shr-guys.


Heiko



More information about the pkg-fso-maint mailing list