[oe-commits] Klaus Kurzmann : patch for bluetooth audio.conf

git version control git at git.openembedded.org
Sun Jan 24 10:39:19 UTC 2010


Module: openembedded.git
Branch: holger/staging-branch
Commit: 8093229e822ca5f58ccbd4f53d56a74c2b0ca720
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=8093229e822ca5f58ccbd4f53d56a74c2b0ca720

Author: Klaus Kurzmann <mok at mnet-online.de>
Date:   Wed Jul 15 04:07:19 2009 +0000

patch for bluetooth audio.conf

Hello all,

to get audio routing for bluetooth headsets correct on OpenMoko phones we need
the attached patch to bluez.inc which changes audio.conf to enables the
SCORouting=PCM option.

Is this something that can be done globally? Or will it break on other
hardware? If it cannot be done globally, what is the correct way to do that?
We (SHR distro) could do that with a distro override, but if it has the
possibility to break other hardware we would not want that ;) We would rather
add a machine override then. Right now bluez4 is *not* machine dependent and
the config files are included in the base package. I see two ways to do that:

a) make bluez4 machine dependent and add overrides for om-gta01/2
b) extract the config files into some bluez4-config package and provide a
different one for om-gta01/2

Thoughts?

---

 recipes/bluez/bluez4.inc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/recipes/bluez/bluez4.inc b/recipes/bluez/bluez4.inc
index ab5dea1..47316a2 100644
--- a/recipes/bluez/bluez4.inc
+++ b/recipes/bluez/bluez4.inc
@@ -43,6 +43,7 @@ EXTRA_OECONF = "\
 "
 
 do_install_append() {
+        sed -i 's/#SCORouting=PCM/SCORouting=PCM/' ${S}/audio/audio.conf
         install -m 0644 ${S}/audio/audio.conf ${D}/${sysconfdir}/bluetooth/
         install -m 0644 ${S}/network/network.conf ${D}/${sysconfdir}/bluetooth/
         install -m 0644 ${S}/input/input.conf ${D}/${sysconfdir}/bluetooth/





More information about the Openembedded-commits mailing list