From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@openembedded.org
Subject: Re: [RFC] patch for bluetooth audio.conf
Date: Wed, 15 Jul 2009 20:46:58 +0200 [thread overview]
Message-ID: <h3l873$h5m$2@ger.gmane.org> (raw)
In-Reply-To: <200907151924.52172.mok@mnet-online.de>
On 15-07-09 19:24, Klaus 'mrmoku' Kurzmann wrote:
> Am Mittwoch 15 Juli 2009 16:16:13 schrieb Phil Blundell:
>> On Wed, 2009-07-15 at 16:07 +0200, Klaus 'mrmoku' Kurzmann wrote:
>>> 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?
>>
>> It will break on (some) other hardware. SCORouting is a binary setting:
>> you can send audio over the HCI, or through a dedicated port (PCM) but
>> not both. This change would lose on machines where the PCM interface
>> isn't connected to anything: in particular that probably means any
>> machine where the bluetooth hardware is on a usb dongle or CF card.
>>
>>> 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
>>
>> Option (a) sounds fairly unattractive. My first preference would be to
>> figure this out at runtime (eg by extending blueprobe to do it) rather
>> than in a static file; if that's impossible or impractical then your
>> option (b) is probably fine.
> As I'm told that making bluez autodetect that is difficult...
Blueprobe can already do autodetection and more, so I don't see what the
problem is.
prev parent reply other threads:[~2009-07-15 19:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='h3l873$h5m$2@ger.gmane.org' \
--to=k.kooi@student.utwente.nl \
--cc=openembedded-devel@lists.openembedded.org \
--cc=openembedded-devel@openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.