Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Bluetooth audio in OSX Lion

In Snow leopard, I would use a plantronics bluetooth headset for facetime and skype chats. Now, in Lion, I can't. I keep getting a bluetooth audio error. I live in a dead zone, so this is a pretty important thing for me.


The console shows the following errors:


7/22/11 3:21:11.000 PM kernel: REQUIRE failure: mClientResponseTimedOut == false - file: /SourceCache/IOBluetoothFamily/IOBluetoothFamily-2500.4.17/Core/Family/Drivers/ IOBluetoothSCOAudioDriver/IOBluetoothSCOAudioDevice.cpp:711

7/22/11 3:21:11.000 PM kernel: REQUIRE failure: result == kIOReturnSuccess - file: /SourceCache/IOBluetoothFamily/IOBluetoothFamily-2500.4.17/Core/Family/Drivers/ IOBluetoothSCOAudioDriver/IOBluetoothSCOAudioEngine.cpp:270

I have also noticed that odd things happen to my audio as long as the device is paired, wether or not it is active. Audio is sometimes output as mono, volume controls do not work for the line out, and audio mutes (even thoguh it is shown as unmuted) at random moments. None of this can be resolved as long as the headset is paired.

Is there anything I can do to get my iMac to use the bluetooth earpiece that worked just fine in Snow Leopard?

iMac 7,1, Mac OS X (10.7)

Posted on Jul 22, 2011 12:30 PM

Reply
Question marked as Best reply

Posted on Apr 9, 2017 5:02 PM

I did download and install the latest xCode, once it is installed.

User uploaded file


Click in the Xcode icon and open it.

In the top menu: Click on Xcode

User uploaded file


then 'Open Developer Tools' -> 'More Developer Tools'


You will need to sign in or create an account as Xcode developer. When you sign in just type in the search field 'hardware io'.


User uploaded file


Select and download the latest version of Hardware IO Tools for Xcode.


Once is download open the *.dmg file. In the other hand, in your application Xcode app folder do a right click and select: 'show package content'


User uploaded file

Drag and drop all the tools from the 'hardware io' dmg file you just downloaded and place them in the 'contents->applications folder inside the Xcode app folder.

User uploaded file

Now if you open the Xcode->Open Developers tools->Bluethoot Explorer

User uploaded file



With Bluethoot Explorer open select from the top menu: Tools->Audio Options


User uploaded file

I played with the options and realized that the problem was in my case with the bit rate. So I increased the number of packets that can be buffered to 50 and also the latency.


There are many bluethoot tools and graphs that you can use to troubleshoot and check where is the problem with the Xcode Hardware IO.


Let me know, with what configuration you were able to fix your problem.


Greetings.



User uploaded file

391 replies

Dec 6, 2012 12:56 PM in response to andymag

What does this mean? That you have no bluetooth issues in a 2.4ghz environment? I never said all 2.4ghz environments cause the issue, just that congested ones *might* since they cause interference with the bluetooth band.


My own experience is that *all* of my devices (a 2008 Macbook, 2011 MBP 15", ICS Android tablet, JB Android phone, iPhone 4S, and Blackberry Playbook) all have issues with bluetooth when I have the 2.4Ghz band enabled. On the 5ghz band there is little to no problem. (Lots of others in my neighborhood use the 2.4ghz band so there's interference caused from outside my home too.) Things might be different for others, but I recommend exploring this radio band issue as a potential cause.

Dec 6, 2012 5:33 PM in response to coolspot

sweet, for anyone else reading, the solution was to type this into the terminal…

defaults delete com.apple.BluetoothAudioAgent "Apple Initial Bitpool (editable)"


and that got rid of it, thanks for the confidence boost coolspot. I started doing stuff like that but didn't want to break anything. It's all working great now, with these settings…


defaults read com.apple.BluetoothAudioAgent

{

"Apple Bitpool Max (editable)" = 75;

"Apple Bitpool Min (editable)" = 45;

"Apple Initial Bitpool (editable)" = 20;

"Negotiated Bitpool" = 45;

"Negotiated Bitpool Max" = 53;

"Negotiated Bitpool Min" = 45;

"Stream - Flush Ring on Packet Drop (editable)" = 0;

"Stream - Max Outstanding Packets (editable)" = 25;

"Stream Resume Delay" = "0.75";

}


Thanks again!

Dec 8, 2012 12:50 AM in response to molecule-eye

Thanks for the post. I changed the Mhz on my Wireless Utility (have Airport Extreme) and everything works great--I tried 5 Mhz but it didn't work as well at 801.11n. Bluetooth now works like a charm in every app that I want to use it for--movies through the browser, of iTunes and sound in general as beforre under Snow Leopard. I was going crazy before and could not get even a connection at all with the Sony Bluetooth Headphones. Thanks.

Feb 25, 2013 9:59 AM in response to sgamgee

sgamgee,

Entering this into the Terminal will get you back to the default...


defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Max (editable)" 64

defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Min (editable)" 35

defaults write com.apple.BluetoothAudioAgent "Apple Initial Bitpool (editable)" 40

defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool" 35

defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool Max" 53

defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool Min" 35

defaults write com.apple.BluetoothAudioAgent "Stream - Max Outstanding Packets (editable)" 15


hope that helps

Aug 19, 2013 2:05 PM in response to MentalUproar

Using a Logitech BT Wireless Speaker Adapter w/a MBP Mid-2010, have been reconfiguring the BT pref files for some time now. FIgured it was time to contribute.


Most recent settings are as follows:

"Apple Bitpool Max (editable)" 80

"Apple Bitpool Min (editable)" 53

"Apple Initial Bitpool (editable)" 40

"Disable HFP" Integer 1

Enable AptX Codec

"Negotiated Bitpool" 58

"Negotiated Bitpool Max" 58

"Negotiated Bitpool Min" 48

"Stream - Flush Ring on Packet Drop (editable)" 30"Stream - Max Outstanding Packets (editable)" 15

Stream - Use dynamic bitpool (editable) 15

"Stream Resume Delay" "0.75"


In the Bluetooth Settings for this particular device,

* On and Discoverable = Checked

under Advanced

* 1st three boxes are checked, Reject Incoming Audio = unchecked

* Serial Ports (on = checked, key = unchecked, Name = Bluetooth-PDA-Sync, Type = RS-232)


Going to test, will report back.

Aug 22, 2013 5:03 AM in response to MentalUproar

So I've tried following everyone's ideas, and settings etc.


I just could not get my Jabra Halo 2 to work properly. I get static, dropping, music stops/starts


Finally, after all this time I found the problem.


While playing the music and trying to troubleshoot it I wanted to pack my mouse away so I turned OFF my Bluetooth Magic Mouse and voila! the sound immediately corrected and sounded perfect.


So I turned the mouse back on - 30 seconds later the Music is all choppy and disconnects.


Turned mouse off - immediately works fine.


So, if you are at your wits end and you have any other bluetooth device connected try turning it off and see if that helps.

Aug 22, 2013 10:29 AM in response to dimitri_01

Never thought to try that, I use a Magic Mouse but whenever the popping would start I'd just shut down BT and restart it. Great sugguestion dimitri.


To follow up my post above, this combination is working incredibly well. For my setup at least it appears I've finally found a workable combination! After about a year of toying with the BT pref file this is pretty exciting.


Should also note that I've been using this great little app called Pref Setter to make said adjustments. Works great with Lion/ML and best of all it's free.


https://www.macupdate.com/app/mac/17002/pref-setter

Bluetooth audio in OSX Lion

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.