Re: GTA02, FSO in debian/sid: buttons do not work, led neither

2012-03-30 Thread arne anka

Hi Arne,

please try this config

aux should suspend device and LEDs light when charging with adapter


indeed, the new rules.yaml looks quite different (and while looking at it  
i dimly recall those parts).

i moved even the *conf files in place.

suspend works now, that phoneui-quick-settings throws the error to be  
expected (command missing).

but LEDs still do not really do anything.
when resuming, the PWR button shortly glows orange and that's it.
no orange nor blue when on usb -- how do i configure blue to be lit as  
long the freerunner is awake?


last but not least:
- is there a reason why those files are not included in the debian  
packages?

- what are fsotdld.conf and fsodatad.conf for?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


GTA02, FSO in debian/sid: buttons do not work, led neither

2012-03-25 Thread arne anka

hi,

a) both in my own installation with install.sh and timo's (j.) minimal  
installation the power button has no effect -- no suspend or even  
gracefull shutdown is initiated.
although the button press ist recognized in dmesg, no fso*log nor  
frameworkd.log shows anything (everything set to DEBUG).


in the configurations nothing about buttons is really to be found (except  
that stanza in frameworkd.conf or fsodevicd or so, don't have the device  
active right no since suspend does not work) and the options are as arcane  
and undocumented as ever ...


b) LEDs, despite being configured in rules.yaml, do not work. there's an  
occasional flashing but nothing of the expected (and configured) behaviour.


i am absolutely sure, it is not a hardware issue, but has to do with FSO.

does anybody else see those issues?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: GTA02, FSO in debian/sid: buttons do not work, led neither

2012-03-25 Thread Rico Rommel
Hi Arne,

please try this config

aux should suspend device and LEDs light when charging with adapter

Rico[frameworkd]
# indicates this configuration version, do not change
version = 1
# the default log_level, if not specified per subsystem or module
# available log levels are: DEBUG, INFO, WARNING, ERROR, CRITICAL
log_level = ERROR
# the global log_destination. Uncomment to enable
log_to = file
#log_to = file
#log_to = syslog
# if logging to a file, specify the destination
log_destination = /var/log/frameworkd.log
# persistance format, one of pickle, yaml
persist_format = pickle
rootdir = ../etc/freesmartphone:/etc/freesmartphone:/usr/etc/freesmartphone

[odeviced]
# set 1 to disable a module
disable = 1

[odeviced.kernel26]
# set 1 to disable a module
disable = 1
# poll capacity once every 5 minutes
# (usually, you do not have to change this)
capacity_check_timeout = 300
# set 0 to disable FB_BLANK ioctl to blank framebuffer
# (if you have problems on Openmoko GTA02)
fb_blank = 1

[odeviced.audio]
# set 1 to disable a module
disable = 1
# set directory where the alsa audio scenarios are stored
scenario_dir = /usr/share/openmoko/scenarios
# set default scenario loaded at startup
default_scenario = stereoout

[odeviced.idlenotifier]
# set 1 to disable a module
disable = 1
# don't read from accellerometers for GTA02
ignoreinput = 2,3
# configure timeouts (in seconds) here. A value of 0
# means 'never fall into this state' (except programatically)
idle = 10
idle_dim = 20
idle_prelock = 12
lock = 2
suspend = 0

[odeviced.input]
# set 1 to disable a module
disable = 1
# don't read from accellerometers for GTA02
ignoreinput = 2,3
# format is keyname,type,input device keycode,report held seconds in 
addition to press/release
report1 = AUX,key,169,1
report2 = POWER,key,116,1
report3 = USB,key,356,0
report4 = HEADSET,switch,2,0

[odeviced.powercontrol-neo]
# set 1 to disable a module
disable = 1

# disable accelerometer since it uses LOADS of CPU resources
[odeviced.accelerometer]
disable = 1
accelerometer_type = gta02

[ogsmd]
# set log_level to INFO for ogsmd to avoid a bug
log_level = INFO
# set 1 to disable a module
disable = 1
# choose your modem type, available types are: ti_calypso, freescale_neptune, 
singleline, muxed4line, option, ...
modemtype = ti_calypso
# if you have a ti_calypso, you can choose the deep sleep mode. Valid values 
are: never, adaptive (default), always
ti_calypso_deep_sleep = adaptive
# if you have a ti_calypso, you can choose the dsp mode for audio enhancement. 
Valid values are:
#short-aec: Short Echo Cancellation (max)
#long-aec:  Long Echo Cancellation (max)
#long-aec:6db: Long Echo Cancellation (-6db)
#long-aec:12db: Long Echo Cancellation (-12db)
#long-aec:18db: Long Echo Cancellation (-18db)
#nr: Noise Reduction (max)
#nr:6db: Noise Reduction (-6db)
#nr:12db: Noise Reduction (-12db)
#nr:18db: Noise Reduction (-18db)
#aec+nr: Long Echo Cancellation (max) plus Noise Reduction (max) [default]
#none: No audio processing.
ti_calypso_dsp_mode = aec+nr
# choose your muxer, available types are: gsm0710muxd [default], fso-abyss
#ti_calypso_muxer = fso-abyss

[ogpsd]
# set 1 to disable a module
disable = 1
# possible options are NMEADevice, UBXDevice, GTA02Device, EtenDevice
device = GTA02Device
# possible options are SerialChannel, GllinChannel, UDPChannel, FileChannel
channel = SerialChannel
# For UDPChannel the path defines the port to listen to
path = /dev/ttySAC1

[ousaged]
# set 1 to disable a module
# you need to disable ousaged if you want to use the new implementation: 
fso-usaged
disable = 1
# choose whether resources should be disabled at startup, at shutdown, always 
(default), or never.
sync_resources_with_lifecycle = always

[ousaged.generic]

[opreferencesd]
# set 1 to disable a module
disable = 0
log_level = WARNING

[opreferencesd.opreferences]

[oeventsd]
# set 1 to disable a module
disable = 0
log_level = WARNING

[oeventsd.oevents]

[onetworkd]
[onetworkd.network]

[ophoned]
disable=1
[ophoned.ophoned]

[opimd]
# set 1 to disable a module
disable = 0
#contacts_default_backend = CSV-Contacts
#messages_default_backend = SQlite-Messages
#calls_default_backend = SQLite-Calls
#dates_default_backend = SQLite-Dates
#notes_default_backend = SQLite-Notes
#tasks_default_backend = SQLite-Tasks
#contacts_merging_enabled = 1
#messages_default_folder = Unfiled
#messages_trash_folder = Trash
#sim_messages_default_folder = SMS
rootdir = 
../etc/freesmartphone/opim:/etc/freesmartphone/opim:/usr/etc/freesmartphone/opim

[opimd.opimd]

[otimed]
disable = 1
# a list of time/zone sources to use or NONE
timesources = GPS,NTP
zonesources = GSM
# use an ip address here, otherwise DNS resolution will block
ntpserver = 134.169.172.1

[otimed.otimed]


rules.yaml
Description: application/yaml
###
# FSO Data Daemon Configuration File -- for SYSTEM INTEGRATORS only