[pkg-fso-maint] fsodeviced: not started by init
arne anka
openmoko at ginguppin.de
Sun Jan 17 14:17:23 UTC 2010
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)?
- 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?
here's my /etc/freesmartphone/fsodeviced.conf (why has the file to be
named fsodevice_d_.conf while the sections inside must be fsodevice_?)
#######################################################################################
# FSO Device Daemon
########################################################################################
[logging]
# Log level: DEBUG, INFO (default), WARNING, ERROR
# Override via environment as FSO_LOG_LEVEL
log_level = WARNING
# Where to log to: none (default), stderr, stderr:colors, file, syslog
# Override via environment as FSO_LOG_TO
log_to = file
# Log Destination (valid only for log_to = file)
# Override via environment as FSO_LOG_DESTINATION
log_destination = /var/log/fsodeviced.log
[fsodevice]
# no settings yet
[fsodevice.accelerometer]
# Which accelerometer variant plugin to use: none (default), lis302
device_type = lis302
[fsodevice.accelerometer_lis302]
# Which input node to read from
inputnode = /input/event2
# How many samples to process, when in use
sample_rate = 100
# Threshhold to program, when in use
threshold = 100
# Scale to program, when in use
full_scale = 2.3
[fsodevice.player_alsa]
# No settings yet
[fsodevice.player_canberra]
# No settings yet
[fsodevice.alsa_audio]
# Which Audio Player variant plugin to use: none (default), canberra, alsa
player_type = canberra
[fsodevice.kernel26_display]
# No settings yet
[fsodevice.kernel26_leds]
# No settings yet
[fsodevice.kernel26_powersupply]
# No settings yet
[fsodevice.kernel26_rtc]
# No settings yet
[fsodevice.kernel_info]
# No settings yet
[fsodevice.kernel_input]
# Which input objects to ignore (by product id substring)
#ignore_by_id = Microsoft;Macintosh
# Which input objects to ignore (by physical path substring)
#ignore_by_path = usb
# Which buttons/switches to report.
# Format: <name>,<type>,<keycode>,<report hold events as well>
#report1 = AUX,key,169,1
#report4 = HEADSET,switch,2,0
[fsodevice.kernel_idle]
# Which input objects to ignore (by product id substring)
#ignore_by_id = Microsoft;Macintosh
# Which input objects to ignore (by physical path substring)
ignore_by_path = usb
idle = 5
idle_dim = 10
idle_prelock = 6
lock = 2
suspend = 1
# Enable this on openmoko devices
[fsodevice.powercontrol_openmoko]
# Enable this on thinkpad devices
#[fsodevice.powercontrol.thinkpad]
More information about the pkg-fso-maint
mailing list