All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] patch for bluetooth audio.conf
@ 2009-07-15 14:07 Klaus 'mrmoku' Kurzmann
  2009-07-15 14:16 ` Phil Blundell
  0 siblings, 1 reply; 4+ messages in thread
From: Klaus 'mrmoku' Kurzmann @ 2009-07-15 14:07 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 883 bytes --]

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?
-- 

Klaus 'mrmoku' Kurzmann



[-- Attachment #2: bluez4.patch --]
[-- Type: text/x-patch, Size: 542 bytes --]

diff --git a/recipes/bluez/bluez4.inc b/recipes/bluez/bluez4.inc
index 4c3bfb8..4cb3bc8 100644
--- a/recipes/bluez/bluez4.inc
+++ b/recipes/bluez/bluez4.inc
@@ -41,6 +41,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/

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-07-15 19:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-15 14:07 [RFC] patch for bluetooth audio.conf Klaus 'mrmoku' Kurzmann
2009-07-15 14:16 ` Phil Blundell
2009-07-15 17:24   ` Klaus 'mrmoku' Kurzmann
2009-07-15 18:46     ` Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.