Archive for December, 2009
Setting up Motorola S9 Bluetooth headset with Trendnet TBW-105UB Bluetooth USB adapter on ubuntu
On our current ruby/rails project, we have a distributed team and remote pairing is a daily chore. I recently bought iPhone and Motorola S9 bluetooth headset to listen to music and radio. I decided to get wireless headset working with my ubuntu laptop to help with remote pairing. After looking up which USB adapter work with Ubuntu, I decided to buy Trendnet TBW-105UB.
As mentioned on wiki, the USB adapter installed out of the box, without installing any driver and apt-get packages on my Karmic Koala (Ubuntu version 9.04). The bluetooth icon showed in my taskbar and it offered option to add new device. The GUI wizard searched for other bluetooth devices but couldn’t locate my S9 headset. After a few trial, I realized that I was making a few mistakes.
- The S9 is in pairing mode only for a few seconds when turned on. So, I couldn’t get it to pair if the headset is already on. I had to turn it off and then on while the Ubuntu bluetooth software is searching for device.
- The other mistake I was making was having iPhone bluetooth ON. The headset was already configured to pair with iPhone so as soon as it found iPhone, it would stop and not pair with ubuntu box. I had to turn off the bluetooth on iPhone so that headset would not find anything else before ubuntu.
Once I did this, ubuntu was able to find headset. But then it failed to pair successfully, probably because the 4-digit pin didn’t apply properly. I tried again and this time, I selected the specific pairing digits of “0000″ for headset. That worked and it paired successfully.
Now, I started an audio stream on my ubuntu laptop and guess what. No, it would still use my laptop speaker phone. I was close but not there yet.
I opened up the “Sound” Preferences dialog from “System” menu. There I found option to switch from default microphone and speaker to motorola headset. Once I switched both, it all worked.
Happy pairing!
How to diff git changes
git diff [commit_old]..[commit_new] # where commit_old and commit_new are first 6 characters of git commit SHA ID
If you need to diff with current head, its even easier:
git diff [commit_old]