Bluetooth Headset fix.
For a long time I've had an issue with my Bluetooth Headset in OSX. It worked perfectly on other macs but not mine.
It would work fine if I turned it on and then plugged in the bluetooth dongle into the computer. If I plugged the dongle in first and then powered up the headset it would connect to the computer and then hang waiting for a RFCom channel kernel: [IOBluetoothSCOAudioDevice][waitForRFCOMMChannel] - Waiting. The Headset itself would then shutdown (which is similar but very different to the expected behaviour of going into standby mode)
I finally figured out how to fix this ( Seems obvious now).In the file /var/root/Library/Prefernces/blued.plist you need to chance the value of the keys AudioGatewayRFCOMMChannelID and AudioGatewayServiceRecordHandle. My original non working values were 11 for both so I changed them both to 1 and now everything works perfectly. To edit this file you'll need to do the following...
sudo sh (or su)
cp /var/root/Library/Preferences/blued.plist ./
In Property List Editor ...
- Change AudioGatewayRFCOMMChannelID value to 1
- Change AudioGatewayServiceRecordHandle value to 1
- Save blued.plist
Back in Terminal...
sudo sh ( or su)
chown root blued.plist
cp blued.plist /var/root/Library/Preferences/
and your done! :)