Ok, so the Ubuntu Phone's audio stack is pretty much set for Ubuntu 13.10, so perhaps it's time to show what I've been up to. The first patch is jack detection and is pretty much independent. It adds support for Android switch jack detection. Then follows two small patches which are both prerequisites for the last one, which adds support for talking to the Android audio HAL for setting up and tearing down voice calls. Any comments, questions, etc? David Henningsson (4): alsa: Add extcon (Android switch) jack detection alsa-ucm: Don't probe UCM card: Add hook before profile changes alsa: Add module to talk to the Android audio hal to set up voice calls configure.ac | 17 + src/Makefile.am | 13 + src/daemon/default.pa.in | 4 + src/modules/alsa/alsa-extcon.c | 272 ++++++++++++++ src/modules/alsa/alsa-extcon.h | 33 ++ src/modules/alsa/alsa-ucm.c | 8 +- src/modules/alsa/alsa-ucm.h | 1 + src/modules/alsa/module-alsa-card.c | 5 + src/modules/alsa/module-android-audio-hal.c | 508 +++++++++++++++++++++++++++ src/pulsecore/card.c | 2 + src/pulsecore/core.h | 1 + 11 files changed, 861 insertions(+), 3 deletions(-) create mode 100644 src/modules/alsa/alsa-extcon.c create mode 100644 src/modules/alsa/alsa-extcon.h create mode 100644 src/modules/alsa/module-android-audio-hal.c -- 1.7.9.5