I thumbs up the request for a solution around using the bluetooth for mic/speaker headset.

I'm using the overo air plus a custom IO board, so whatever needs to be on the IO board I can accommodate as long as there is a software solution with it.

Is the "meego" a design open enough to include in my design?

Braon

On Thu, 2011-09-22 at 09:32 -0600, Brad Midgley wrote:
Victor,

Here's the best info we've got so far on the problem

1. voice headsets

Typically this is done with a pcm communication direct to a codec, so
audio content does not cross the cpu at all. The Gumstix folks added
this physical pathway in recent hardware and it remains to be
completely fleshed out in software. It requires a kernel change which
Ash outlined a while back. The userspace stuff has been done in
systems like meego. This means your userspace audio system needs to
have pulseaudio etc like meego.

This is what I learned from the meego devs: pulse expects the kernel
to provide an ALSA device abstraction for the PCM hardware link to the
Bluetooth controller. You can tell the bluetooth-device module the
name of this special ALSA device through the sco_sink and sco_source
parameters

Do you have an embedded system already set up? Is pulseaudio part of it?

It is theoretically possible as a fallback to carry voice audio across
the uart, but this seems to be blocked by a firmware issue in
switching the bt chip to this mode. It also requires 921k at the uart.

2. stereo/a2dp headphones

This requires 921k uart speeds. It seems there were kernel problems
that prevented the cpu from being set to 921k properly and that is
likely why the bluetooth chip doesn't respond when trying these rates.
I did several different ways to get the uart to talk to the bluetooth
chip at 921k using the linaro kernel which is supposed to have this
fix. Flow control on/off, different kernels, different initialization
timings, etc. Sometimes it actually worked, but I couldn't reliably
initialize at this rate. Watching the port with a scope to see what is
happening is beyond the level of effort I can put into it.

So... bottom line is there are a couple of fronts here.

The pcm driver does involve some considerable effort but unfortunately
I haven't had enough hobby time to do more. The uart issue is an old
one--it's the most overo specific and fixing it makes a lot of other
stuff that is already in place start working. We need to get Ash or
someone on board to help on both of these.

Brad

On Thu, Sep 22, 2011 at 1:21 AM, Victor Andres <victor@cymonline.com> wrote:
> Hi Brad,
>
> I'd like the headset for both, voice calls and audio. But for the begin only
> stereo (or mono) audio will be a good beginning (could use the bluetooth
> connection to reproduce an audio file in a bluetooth headset).
>
> And if we can't do that in Overo Board, I'd like to know if it's a hardware
> issue (as you said about the uart speed comunication) or just only we need
> develop a specific driver (or kernel change) for this situation.
>
> Víctor Andrés
>
>
> ----- Original Message -----
> From: "Brad Midgley" <bmidgley@gmail.com>
> To: "General mailing list for gumstix users."
> <gumstix-users@lists.sourceforge.net>
> Sent: Wednesday, September 21, 2011 10:05 PM
> Subject: Re: [Gumstix-users] Overo audio bluetooth headset
>
>
> Victor,
>
> To be clear, are you talking about a headset for voice calls, for
> stereo audio, or both?
>
> Brad
>
> On Tue, Sep 20, 2011 at 11:12 AM, Brad Midgley <bmidgley@gmail.com> wrote:
>> I started the work on doing this with a voice headset, at least the
>> userspace stuff. No, it's not possible to get stereo/a2dp audio since
>> the onboard device won't communicate fast enough over the uart. I
>> tried several things to get it to communicate faster.
>>
>> I believe we need a kernel change to make the voice headset change work.
>>
>> Ash, didn't you describe where that would fit? Have you mocked any of it
>> up?
>>
>> 2011/9/20 Víctor Andrés <victor@cymonline.com>:
>>>
>>> I restart this thread.
>>> Is it possible to connect a bluetooth headset to Overo and play sound on
>>> it?
>>> (using integrated Bluetooth module, not using one USB ).
>>>
>>> Thanks,
>>> Víctor Andrés
>>>
>>>
>>> Víctor Andrés wrote:
>>>>
>>>>
>>>>
>>>> It's possible, isn't it? does overo bluetooth support audio bluetooth
>>>> profile (HSP or HFP) ?
>>>>
>>>> Thanks
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://old.nabble.com/Overo-audio-bluetooth-headset-tp29963289p32501085.html
>>> Sent from the Gumstix mailing list archive at Nabble.com.
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> All the data continuously generated in your IT infrastructure contains a
>>> definitive record of customers, application performance, security
>>> threats, fraudulent activity and more. Splunk takes this data and makes
>>> sense of it. Business sense. IT sense. Common sense.
>>> http://p.sf.net/sfu/splunk-d2dcopy1
>>> _______________________________________________
>>> gumstix-users mailing list
>>> gumstix-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>>>
>>
>>
>>
>> --
>> Brad Midgley
>>
>
>
>
> --
> Brad Midgley
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>