aboutsummaryrefslogtreecommitdiffstats
path: root/fsodeviced
Commit message (Collapse)AuthorAgeFilesLines
* fsodeviced: gta04_quirks/info: DRY - use preset dataLukas Märdian2012-12-031-1/+2
| | | | Signed-off-by: Lukas Märdian <luk@slyon.de>
* fsodeviced: gta04_quirks/info check model on startupLukas Märdian2012-11-281-1/+6
| | | | Signed-off-by: Lukas Märdian <luk@slyon.de>
* fsodeviced: gta04_quirks/info: set model valueLukas Märdian2012-11-281-0/+1
| | | | Signed-off-by: Lukas Märdian <luk@slyon.de>
* fsodeviced: gta04_quirks: add info plugin (like kernel_info)slyon/gta04-check-revisionLukas Märdian2012-11-144-17/+108
| | | | Signed-off-by: Lukas Märdian <luk@slyon.de>
* fsodeviced: alsa: fix off-by-one in verifying control indexPaul Fertser2012-11-101-1/+1
| | | | | | | This prevents crash on load in case the scenario has more elements than the currently running kernel provides. Signed-off-by: Paul Fertser <fercerpav@gmail.com>
* ffsodeviced: GTA04 alsa hardware scenarios: Fix scenarios switching while ↵Denis 'GNUtoo' Carikli2012-10-204-4/+0
| | | | | | | | | | | playing sound/music This is a port of the 8bcbd05480af9afc79a142c7f18e22a30f74d927 fix: (ffsodeviced: GTA04 alsa scenarios: Fix scenarios switching while playing sound/music) I couldn't test on the hardware since I only have an A3 version. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
* fsodeviced: GTA04 alsa configuration: really activate gsmheadset.Denis 'GNUtoo' Carikli2012-10-111-1/+1
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
* fsodeviced: GTA04 alsa configuration: add gsmheadset configuration.Denis 'GNUtoo' Carikli2012-10-112-2/+71
| | | | | | | | | With lastest kernel patch( GTA04 audio headset jack detect.) the scenarios should stop bouncing between gsmheadset and gsmhandset. So we can now activate the gsmheadset. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
* fsodeviced: GTA04: fix ln argument orderLukas Märdian2012-09-241-1/+1
| | | | Signed-off-by: Lukas Märdian <lukasmaerdian@gmail.com>
* fsodeviced: GTA04: link to alsa-scenarios for linux-3.5Lukas Märdian2012-09-241-0/+1
| | | | Signed-off-by: Lukas Märdian <lukasmaerdian@gmail.com>
* fsodeviced: configuration: make a herring -> crespo symlink.Denis 'GNUtoo' Carikli2012-08-301-0/+9
| | | | | | | | The Nexus S device is mostly known as crespo(for instance in cyanogenmod and derivatives like replicant), and is known as herring only trough its kernel board name. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
* Merge branch 'master' of ssh://freesmartphone.org/cornucopiaLukas Märdian2012-08-274-3/+1
|\
| * ffsodeviced: GTA04 alsa scenarios: Fix scenarios switching while playing ↵Denis 'GNUtoo' Carikli2012-08-223-3/+0
| | | | | | | | | | | | | | | | | | sound/music Without that fix we have: [ 146.366760] twl4030-codec twl4030-codec: operation mode cannot be changed on-the-fly Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
| * fsodeviced: GTA04 config: add headset definition.Denis 'GNUtoo' Carikli2012-08-221-0/+1
| | | | | | | | | | | | | | | | | | | | With that it switches scenarios automatically under the shr-image. However a bug still persist: [ 146.366760] twl4030-codec twl4030-codec: operation mode cannot be changed on-the-fly So you have to plug the headset before starting the music. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
* | fsodeviced: gta04: conf: add preliminary hwrouting scenariosLukas Märdian2012-08-274-0/+284
|/ | | | | | | * Thanks to jeepingben for creating them. * They still need to be integrated. Signed-off-by: Lukas Märdian <lukasmaerdian@gmail.com>
* fsodeviced: conf: gta04: kernel_idle: ignore bma150 (fixes SHR#2049)Lukas Märdian2012-08-131-0/+1
| | | | | | * bma150 prevents the gta04 from accessing the idle states Signed-off-by: Lukas Märdian <lukasmaerdian@gmail.com>
* fsodeviced: GTA04 alsa configuration: fix the headset scenarioDenis 'GNUtoo' Carikli2012-08-121-2/+2
| | | | | | | | | | | Without that fix we have: [ERROR] RouterLibAlsa <>: Got error while parsing line 37 of scenario headset: [ERROR] RouterLibAlsa <>: Expected 0 value parameters, got 1 After fixing that error we have still no sound in the headset. This commit also fixes the absence of sound in the headset. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
* fsodeviced: GTA04 alsa configuration: add headset scenarioDenis 'GNUtoo' Carikli2012-08-113-2/+72
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
* fsodeviced: gta04 config: repair the wifi.Denis 'GNUtoo' Carikli2012-08-081-1/+4
| | | | | | | | | | Without that fix wlan0 doesn't come up(ifconfig wlan0 up was necessary). That fix is necesasry because of commit 0009935df42d5aa6a7098cbe623b153ab2412dc9 (fsodeviced: kernel26_rfkill: don't deal with network interface or bluetooth daemon) Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
* fsodeviced: drop router_qdsp5 plugin; it's not used anymoreSimon Busch2012-07-296-888/+0
|
* fsodeviced: router_alsa: use AbstractObject class as base and use our own ↵Simon Busch2012-07-282-21/+25
| | | | logger instead of framework one
* fsodeviced: router_alsa: don't hand over invalid control id's to ALSA; fixes ↵Simon Busch2012-07-282-6/+14
| | | | #683
* Bump version of all components to 0.13.0 for the next release cycleSimon Busch2012-07-271-1/+1
|
* fsodeviced: update README fileSimon Busch2012-07-271-0/+34
|
* Bump required libfso-glib version of all componentsSimon Busch2012-07-271-1/+1
|
* fsodeviced: plugins: router_alsa: save only controls of the specified scenarioSimon Busch2012-07-271-2/+2
| | | | | Until now we saved all available ALSA mixer controls ignoring that a scenario maybe just contains a subset of this.
* fsodeviced: plugins: router_alsa: check if scenario is available before ↵Simon Busch2012-07-273-5/+8
| | | | trying to save it
* Update .gitignore files for test related filesSimon Busch2012-07-241-2/+2
|
* Update copyright notice for all source filesSimon Busch2012-07-1947-52/+52
|
* fsodeviced: add different command line options for testing and informational ↵Simon Busch2012-07-174-1/+45
| | | | purpose
* fsodeviced: herring_quirks: implement ALSA power control pluginSimon Busch2012-07-162-0/+131
|
* fsodeviced: n900_quirks: implement plugin with all quirks for the n900 deviceSimon Busch2012-07-1616-1037/+858
|
* fsodeviced: lib: a resource can specify it's default policySimon Busch2012-07-161-1/+9
|
* fsodeviced: lib: resource: respect specified exceptions by our base classSimon Busch2012-07-151-1/+1
|
* fsodeviced: herring_quirks: remove ALSA stream keeperSimon Busch2012-07-153-37/+1
| | | | This will be replaced later with a ALSA related power control implementation.
* fsodeviced: conf: herring: load alsa stream keeper and make sure the alsa ↵Simon Busch2012-07-151-8/+10
| | | | router is initialized before
* fsodeviced: fix the nokia N900 stereoout and headset scenarios.Denis 'GNUtoo' Carikli2012-07-142-2/+0
| | | | | | | | | | | | | | | | Without that fix fsodeviced will refuses to start and fails with that message: fsodeviced: control.c:1680: snd_ctl_elem_list_get_id: Assertion `idx < obj->used' failed. That is because the 'Media Volume' control is not a hardware control but a software one (created by /etc/asound.conf): it appears only after playing some sound. And so when fsodeviced starts no sound has been played yet, so it's not there, and that makes fsodeviced fails to start. Since the 'Media Volume' control was removed from the scenarios, I assumed that it would be at its maximum, and to avoid issues I had to ajust the volume of some control in the stereoout scenario. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
* fsodeviced: herring_quirks: fix flaw with string formattingSimon Busch2012-07-121-1/+1
|
* fsodeviced: kernel26_rfkill: fix typoSimon Busch2012-07-121-1/+1
|
* fsodeviced: conf: herring: update configuration for latest changesSimon Busch2012-07-121-0/+8
|
* fsodeviced: herring_quirks: cleanup and make resume handler configurableSimon Busch2012-07-123-5/+6
|
* fsodeviced: herring_quirks: implement powercontrol for WiFi deviceSimon Busch2012-07-123-0/+102
|
* fsodeviced: fix the GTA04 stereoout and gsmhandset scenario.Denis 'GNUtoo' Carikli2012-07-122-4/+2
| | | | | | | | | | | | | | | | Without that fix fsodeviced will refuses to start and fails with that message: fsodeviced: control.c:1680: snd_ctl_elem_list_get_id: Assertion `idx < obj->used' failed. That is because the 'Media Volume' control is not a hardware control but a software one (created by /etc/asound.conf): it appears only after playing some sound. And so when fsodeviced starts no sound has been played yet, so it's not there, and that makes fsodeviced fails to start. Since the 'Media Volume' control was removed from the scenarios, I assumed that it would be at its maximum, and to avoid issues I had to ajust the volume of some control in the stereoout scenario. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
* fsodeviced: kernel26_rfkill: add config option to ignore wifi rfkillSimon Busch2012-07-091-0/+8
|
* fsodeviced: conf: herring: enable smooth disabling of the displaySimon Busch2012-07-091-0/+1
|
* fsodeviced: kernel26_rfkill: let our logger decide when to enable debug modeSimon Busch2012-07-091-4/+2
|
* fsodeviced: kernel26_rfkill: cleanup code / respect compiler warningsSimon Busch2012-07-091-21/+3
|
* fsodeviced: kernel26_rfkill: don't deal with network interface or bluetooth ↵Simon Busch2012-07-091-72/+0
| | | | daemon
* fsodeviced: herring_quirks: enable ALSA stream keeper only when config ↵Simon Busch2012-07-091-1/+3
| | | | option is set
* fsodeviced: complete the GTA04 stereoout scenario.Denis 'GNUtoo' Carikli2012-07-081-0/+64
| | | | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>