From affcab4d4682ab2b2db9d64425c7c4956ea6b6b4 Mon Sep 17 00:00:00 2001 From: Matt Porter Date: Wed, 13 Dec 2017 18:04:28 -0500 Subject: pulseaudio: disable exit-idle-time in daemon.conf With bluetooth connected, pulseaudio is segfaulting during idle shutdown. Implement a workaround to avoid idle shutdown by disabling the exit idle timer that is on by default. Bug-AGL: SPEC-1188 Change-Id: Ie5868ed2a89d275973a7aca2555a0216c67d090a Signed-off-by: Matt Porter --- ...0001-daemon-daemon.conf-disable-idle-exit.patch | 28 ++++++++++++++++++++++ .../pulseaudio/pulseaudio_10.0.bbappend | 1 + 2 files changed, 29 insertions(+) create mode 100644 meta-ivi-common/recipes-multimedia/pulseaudio/pulseaudio-10.0/0001-daemon-daemon.conf-disable-idle-exit.patch (limited to 'meta-ivi-common/recipes-multimedia/pulseaudio') diff --git a/meta-ivi-common/recipes-multimedia/pulseaudio/pulseaudio-10.0/0001-daemon-daemon.conf-disable-idle-exit.patch b/meta-ivi-common/recipes-multimedia/pulseaudio/pulseaudio-10.0/0001-daemon-daemon.conf-disable-idle-exit.patch new file mode 100644 index 000000000..98f7ce46b --- /dev/null +++ b/meta-ivi-common/recipes-multimedia/pulseaudio/pulseaudio-10.0/0001-daemon-daemon.conf-disable-idle-exit.patch @@ -0,0 +1,28 @@ +From 4410e137da046afd072435ae8cf99a677b277442 Mon Sep 17 00:00:00 2001 +From: Matt Porter +Date: Wed, 13 Dec 2017 17:24:10 -0500 +Subject: [PATCH] daemon: daemon.conf: disable idle exit + +Disable exit on idle by default. + +Signed-off-by: Matt Porter +--- + src/daemon/daemon.conf.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/daemon/daemon.conf.in b/src/daemon/daemon.conf.in +index f3a1cc32..5c5e948c 100644 +--- a/src/daemon/daemon.conf.in ++++ b/src/daemon/daemon.conf.in +@@ -39,7 +39,7 @@ ifelse(@HAVE_DBUS@, 1, [dnl + ; realtime-scheduling = yes + ; realtime-priority = 5 + +-; exit-idle-time = 20 ++exit-idle-time = -1 + ; scache-idle-time = 20 + + ; dl-search-path = (depends on architecture) +-- +2.11.0 + diff --git a/meta-ivi-common/recipes-multimedia/pulseaudio/pulseaudio_10.0.bbappend b/meta-ivi-common/recipes-multimedia/pulseaudio/pulseaudio_10.0.bbappend index f59ee89d5..6833ca94e 100644 --- a/meta-ivi-common/recipes-multimedia/pulseaudio/pulseaudio_10.0.bbappend +++ b/meta-ivi-common/recipes-multimedia/pulseaudio/pulseaudio_10.0.bbappend @@ -8,6 +8,7 @@ SRC_URI += " \ file://0005-sink-input-volume-Add-support-for-volume-ramp-factor.patch \ file://0006-sink-input-Remove-pa_sink_input_set_volume_ramp.patch;apply=no \ file://enable-ofono-hfp-backend.patch \ + file://0001-daemon-daemon.conf-disable-idle-exit.patch \ " PACKAGES =+ " pulseaudio-module-dev" -- cgit 1.2.3-korg