diff options
author | Klaus Kurzmann <mok@mnet-online.de> | 2009-07-15 04:07:19 +0000 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-01-28 14:20:04 +0100 |
commit | 2d211aad4c60b66b1f48cb434e0e6c9276805243 (patch) | |
tree | 2a3f974a4b76223237b65248f254fe8988675407 | |
parent | 52d6b631f8aa02856fe00285bb9a6f9071240a4b (diff) | |
download | openembedded-2d211aad4c60b66b1f48cb434e0e6c9276805243.tar.gz |
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?
-rw-r--r-- | 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 ab5dea1bde..47316a2293 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/ |