Saturday, October 25, 2008

Bluetooth Headset with Web Browsers and etc in MacOSX

It is weird that MacOSX does not have a good support for Bluetooth. I
have just bougth Sony Wireless Stereo Headset (Bluetooth) DR-BT22 from a
Sony Style store. My operating system version is MacOSX 10.5.5. By
default, this headset works well with Skype, X-Lite (an VoIP phone
software), iTunes (both local mp3 files and online radio), Quicktime, and
other standalone applications. However, I cannot listen to any online
music through any web browser (I tried Safari, Opera and Firefox). What
happened is that all the online music stopped working at all.

The problem is that I can't listen to any online music through any web
browser with my Bluetooth headset.

Luckily, I found this article:

Here is the essential part of the article:
First, 2 files needed,

a. a2dpcastAudioDevice.tgz:

b. the updated a2dpcast:

Then run terminal from Application/Utilities/terminal and install the
kernel extension for the audio device (replace DOWNLOAD_DIR with the path
to where your browser downloads stuff to) - you need your admin password
to do sudo:

1. cd /
2. sudo tar xfzp DOWNLOAD_DIR/a2dpcastAudioDevice.tgz --same-owner
3. sudo kextload /System/Library/Extensions/AudioReflectorDriver.kext

Copy a2dpcast to /usr/local/bin (replace A2DPEXTRACTDIR with the path to
where your extracted the downloaded - you need your
admin password to do sudo:

1. sudo cp A2DPEXTRACTDIR/a2dpcast-0.3/a2dpcast /usr/local/bin

Run a2dpcast with your Bluetooth address

1. /usr/local/bin/a2dpcast aa-bb-cc-dd-ee-ff 27

Keep a2dpcast running, leave the terminal open, then run whatever program
that you want, the sound will be streamed automatically to your headset.
Again, do not close the terminal until you have enough enjoying your
bluetooth headset

To get your mac address of your Bluetooth Headset, you can go to:

Finder > Applications > Utilities > System Profiler > Bluetooth

There you find your headset model and the mac address of your headset is

Hope that help!


Post a Comment