Saturday, January 20, 2007


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[0]: [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...

In terminal...
sudo sh (or su)
cp /var/root/Library/Preferences/blued.plist ./
chown blued.plist
exit
open blued.plist

In Property List Editor ...
  1. Change AudioGatewayRFCOMMChannelID value to 1

  2. Change AudioGatewayServiceRecordHandle value to 1

  3. Save blued.plist


Back in Terminal...
sudo sh ( or su)
chown root blued.plist
cp blued.plist /var/root/Library/Preferences/
exit

and your done! :)