• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Low Power RF & Wireless Connectivity » Bluetooth® Applications » OMAP4460 Bluetooth Audio issus
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

OMAP4460 Bluetooth Audio issus

OMAP4460 Bluetooth Audio issus

This question is not answered
sunny sour
Posted by sunny sour
on Dec 27 2012 01:23 AM
Prodigy235 points

HI I am using  the http://omapedia.org/wiki/4AI.1.7_OMAP4_Icecream_Sandwich_Panda_Notes for my 4460 pandaboard.

According to http://e2e.ti.com/support/omap/f/849/t/226568.aspx, If I want to  hear the music  through the BT

I should :

1) Use the DVI port if you are using a Pandaboard

2) Pair your BT headset or device

3) Go to the BluetoothSCOA application and check the option to enable music via media player

4) Open media player and start the playback.

 

But could I use the Advanced Audio Distribution Profile (A2DP) instand of the Hands-Free Profile ?

Because the sound of that is very bad and I want to use the HCI_TX & HCI_RX to send the sond.

Also it seem very strange to go to the BluetoothSCOA application and check the option to enable music via media player.

 

Thanks

 

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • yaoguang hu1
    Posted by yaoguang hu1
    on Jan 05 2013 21:52 PM
    Prodigy20 points

    Hi

     I have the same problem.

    Can you soveld it.

     Thanks

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Archee Woo
    Posted by Archee Woo
    on Jan 05 2013 21:55 PM
    Prodigy90 points

    Oh,Yeah!   I also found this problem!   Does TI not support A2DP? On my project, we need A2DP feature!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • sunny sour
    Posted by sunny sour
    on Jan 08 2013 03:51 AM
    Prodigy235 points

    maybe it lack of the wpan

    but I don't know how to do it yet.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Israel Cepeda
    Posted by Israel Cepeda
    on Jan 10 2013 16:09 PM
    Expert5515 points

    Hi Sunny,

    The use of BluetoothSCOA is just to let android know that now the audio have to go to the Bluetooth port instead of the speakers or the headset, and set the path.

    Regards!

    ICe

    Please click the Verify Answer button on this post if it answers your question
    _______________________________________________________
    Be sure to read the OMAP4 and OMAP5 Forum Guidelines and FAQ
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • sunny sour
    Posted by sunny sour
    on Jan 10 2013 19:46 PM
    Prodigy235 points

    It's very glad to see you again..

    I know that the BluetoothSCOA is let android know that now the audio have to go to the Bluetooth port .

    But there are two preoblems:

    1.  I have paired my BT headset . why it can't tell the android to let the audio go to the Bluetooth port ?  As normal,  it will let the audio of android go to the a2dp.

    2. When I use the BluetoothSCOA. it will send the audio to the Bluetooth port . But it uses the pcm (Hands-Free Profile  right ?) ,the sound of that is very bad .

    Can it use the HCI_TX & HCI_RX  port ?(Hands-Free Profile right ?)

    *********************************************************************************************************

    I modify the device.mk, add the audio.a2dp.default lib

    # BlueZ a2dp Audio HAL module
    PRODUCT_PACKAGES += audio.a2dp.default

    and i see the log:

    ******************************************************************************************************

    D/BluetoothA2dpService(  183): A2DP: onSinkPropertyChanged newState is: 2mPlayingA2dpDevice: null
    D/BluetoothA2dpService(  183): A2DP state : device: 8C:64:22:C0:B1:CD State:1->2
    I/BluetoothProfileState(  183): Message:Entering Stable State
    D/audio_hw_primary(  109): adev_get_supported_devices(0xf98b10)
    D/A2DP    (  109): a2dp_init rate: 44100 channels: 2
    D/A2DP    (  109): a2dp_thread started
    D/A2DP    (  109): bluetooth_init
    I/AudioFlinger(  109): AudioFlinger's thread 0xface50 ready to run
    I/AudioFlinger(  109): AudioFlinger's thread 0xfa3c40 ready to run
    D/A2DP    (  109): a2dp_stop

    *********************************************************************************************************

    but it can't let the music go to the a2dp....... why?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • sunny sour
    Posted by sunny sour
    on Jan 10 2013 20:17 PM
    Prodigy235 points

    It's the full log:

    **************************************************************************************************************************************

    I/BluetoothProfileState(  171): Message:Entering PendingCommandState State
    I/BluetoothDeviceProfileState(  171): Entering OutgoingHandsfree state with: 1
    D/Bluetooth HSHFP(  297): Device: 8C:64:22:C0:B1:CD Headset  state0 -> 1
    D/CachedBluetoothDevice(  356): Command sent successfully:CONNECT Address:8C:64:22:C0:B1:CD Profile:HEADSET
    D/BluetoothService(  171): CONNECTION_STATE_CHANGE: 8C:64:22:C0:B1:CD: 0 -> 1
    D/BluetoothA2dpService(  171): connectSink(8C:64:22:C0:B1:CD)
    I/BluetoothProfileState(  171): Message:Entering PendingCommandState State
    D/CachedBluetoothDevice(  356): Command sent successfully:CONNECT Address:8C:64:22:C0:B1:CD Profile:A2DP
    D/Bluetooth HSHFP(  297): SDP UUID: TYPE_HANDSFREE
    I/BT HSHFP(  297): Created RFCOMM socket fd 73.
    I/BT HSHFP(  297): async connect is in progress (Operation now in progress)
    V/BluetoothEventManager(  356): Received android.bluetooth.headset.profile.action.CONNECTION_STATE_CHANGED
    D/CachedBluetoothDevice(  356): onProfileStateChanged: profile HEADSET newProfileState 1
    D/BluetoothEventLoop(  171): Device property changed: 8C:64:22:C0:B1:CD property: Connected value: true
    I/BluetoothEventLoop.cpp(  171): agent_event_filter: Received method org.bluez.Agent:RequestPairingConsent
    I/BT HSHFP(  297): Successful RFCOMM socket connect.
    D/Bluetooth HSHFP(  297): RFCOMM connection attempt took 5267 ms
    D/Bluetooth HSHFP(  297): Rfcomm connected
    D/Bluetooth HSHFP(  297): Device: 8C:64:22:C0:B1:CD Headset  state1 -> 2
    V/BluetoothEventManager(  356): Received android.bluetooth.headset.profile.action.CONNECTION_STATE_CHANGED
    D/CachedBluetoothDevice(  356): onProfileStateChanged: profile HEADSET newProfileState 2
    I/BluetoothProfileState(  171): Message:Entering Stable State
    D/Bluetooth HSHFP(  297): Saved priority 8C:64:22:C0:B1:CD = 1000
    D/BluetoothService(  171): CONNECTION_STATE_CHANGE: 8C:64:22:C0:B1:CD: 1 -> 2
    I/BluetoothDeviceProfileState(  171): Entering ACL Connected state with: 102
    I/BluetoothDeviceProfileState(  171): Entering OutgoingA2dp state with: 3
    D/BluetoothA2dpService(  171): A2DP state : device: 8C:64:22:C0:B1:CD State:0->1
    I/BluetoothDeviceProfileState(  171): Entering ACL Connected state with: 102
    D/BluetoothA2dpService(  171): A2DP: onSinkPropertyChanged newState is: 1mPlayingA2dpDevice: null
    [  775.767974] input: AVRCP as /devices/virtual/input/input3
    D/EventHub(  171): No input device configuration file found for device 'AVRCP'.
    I/EventHub(  171): New device: id=4, fd=221, path='/dev/input/event2', name='AVRCP', classes=0x80000001, configuration='', keyLayout='/system/usr/keylayout/AVRCP.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false
    I/InputReader(  171): Device added: id=4, name='AVRCP', sources=0x00000101
    V/BluetoothEventManager(  356): Received android.bluetooth.a2dp.profile.action.CONNECTION_STATE_CHANGED
    D/CachedBluetoothDevice(  356): onProfileStateChanged: profile A2DP newProfileState 1
    D/BluetoothA2dpService(  171): A2DP: onSinkPropertyChanged newState is: 2mPlayingA2dpDevice: null
    D/BluetoothA2dpService(  171): A2DP state : device: 8C:64:22:C0:B1:CD State:1->2
    I/BluetoothProfileState(  171): Message:Entering Stable State
    D/A2DP    (  106): a2dp_init rate: 44100 channels: 2
    D/A2DP    (  106): a2dp_thread started
    D/A2DP    (  106): bluetooth_init
    I/AudioFlinger(  106): AudioFlinger's thread 0x1bd87f0 ready to run
    I/AudioFlinger(  106): AudioFlinger's thread 0x1bdb1c8 ready to run
    D/A2DP    (  106): a2dp_stop
    I/Bluetooth HeadsetBase(  297): Error processing <AT*SEAUDIO=7,7009>
    I/Bluetooth HeadsetBase(  297): Error processing <AT*SEABS=0, 100>
    I/Bluetooth HeadsetBase(  297): Error processing <AT+GCLIP=1>
    D/dalvikvm(  356): GC_CONCURRENT freed 417K, 10% free 7438K/8199K, paused 2ms+11ms
    V/BluetoothEventManager(  356): Received android.bluetooth.a2dp.profile.action.CONNECTION_STATE_CHANGED
    D/CachedBluetoothDevice(  356): onProfileStateChanged: profile A2DP newProfileState 2
    I/Bluetooth HeadsetBase(  297): Error processing <AT*SEAM="MW600",13>
    I/Bluetooth HeadsetBase(  297): Error processing <AT+CLAN?>
    I/Bluetooth HeadsetBase(  297): Error processing <AT*EIPS=2,1>
    I/Bluetooth HeadsetBase(  297): Error processing <AT+COLP=1>
    I/Bluetooth HeadsetBase(  297): Error processing <AT+CCLK?>
    I/AudioService(  171):  AudioFocus  abandonAudioFocus() from android.media.AudioManager@410de8d8com.android.music.MediaPlaybackService$3@410dd2a0
    I/ActivityManager(  171): Start proc com.android.musicfx for broadcast com.android.musicfx/.ControlPanelReceiver: pid=820 uid=10029 gids={3003, 3002}
    D/dalvikvm(  104): GC_EXPLICIT freed 36K, 5% free 6520K/6851K, paused 5ms+5ms
    V/MusicFXControlPanelReceiver(  820): onReceive
    V/MusicFXControlPanelReceiver(  820): Action: android.media.action.CLOSE_AUDIO_EFFECT_CONTROL_SESSION
    V/MusicFXControlPanelReceiver(  820): Package name: com.android.music
    V/MusicFXControlPanelReceiver(  820): Audio session: 56
    V/MusicFXControlPanelEffect(  820): closeSession(android.app.ReceiverRestrictedContext@410d0a68, com.android.music, 56)
    D/dalvikvm(  104): GC_EXPLICIT freed <1K, 5% free 6520K/6851K, paused 4ms+5ms
    D/dalvikvm(  104): GC_EXPLICIT freed <1K, 5% free 6520K/6851K, paused 3ms+2ms

     

     

     

     

     

     


    D/LocalBluetoothManager(  356): setting foreground activity to null
    D/dalvikvm(  263): GC_CONCURRENT freed 447K, 9% free 6714K/7303K, paused 4ms+5ms
    I/ActivityManager(  171): START {act=android.intent.action.RINGTONE_PICKER cmp=android/com.android.internal.app.RingtonePickerActivity (has extras)} from pid 356
    D/dalvikvm(  171): GC_CONCURRENT freed 474K, 9% free 9039K/9863K, paused 5ms+9ms
    D/dalvikvm(  356): GC_CONCURRENT freed 370K, 8% free 7545K/8199K, paused 4ms+5ms
    I/ActivityManager(  171): Displayed android/com.android.internal.app.RingtonePickerActivity: +370ms
    E/ASFDummyExtractor(  106): isASFParserAvailable
    W/ASFDummyExtractor(  106): ASF parser is not available
    I/AudioSink(  106): Channelcount = 1
    I/AudioPlayer(  106): mLatencyUs = 348000

    *******************************************************************************************************************

    I/Bluetooth HeadsetBase(  297): Error processing <AT*SEAM="MW600",13>
    I/Bluetooth HeadsetBase(  297): Error processing <AT+CLAN?>
    I/Bluetooth HeadsetBase(  297): Error processing <AT*EIPS=2,1>
    I/Bluetooth HeadsetBase(  297): Error processing <AT+COLP=1>
    I/Bluetooth HeadsetBase(  297): Error processing <AT+CCLK?>

    I fond this errors in other machines too ,but they can play the music.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Israel Cepeda
    Posted by Israel Cepeda
    on Jan 22 2013 11:36 AM
    Expert5515 points

    Hi Sunny,

    That is because the audio manager for panda is very basic, it is not able to handle several streams and only supports that profile for BT. It is up to the community to make it more complex and support even more profiles. You may want to ask to the panda mailing list how to do that.

    Regards!

    ICe

    Please click the Verify Answer button on this post if it answers your question
    _______________________________________________________
    Be sure to read the OMAP4 and OMAP5 Forum Guidelines and FAQ
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use