L'Xtreme

Are we there yet?

Playing with Bluetooth(TM)

A while ago, I bought this Bluetooth headset from Motorola, to be able to talk handsfree with my GSM. Since both work perfectly together, I was very much interested whether it also could cooperate with my Bluetooth USB dongle. After Googling for some time, I found this site, which contains a driver for ALSA to use a Bluetooth headset as input/output device. Using the patch for Linux 2.6.7 (also mentioned on the same site), I was able to get a working connection between my headset and my computer! Here's a tiny HowTo on how I did it:

Mini how to get a bluetooth headset working with Linux

 [localhost:~/btsco-0.3]$ patch -p1 < btsco-0.3.1.debian.patch
 patching file btsco.c
 [localhost:~/btsco-0.3]$ ./configure --prefix=/opt/btsco \
 --with-alsa-prefix=/usr/lib/alsa --with-alsa-inc-prefix=/usr/include/alsa \
 --with-kernel=2.6.7
 ...
 [localhost:~/btsco-0.3]$ make && make install
[localhost:~/btsco-0.3]$ /opt/btsco/bin/btsco 00:07:A4:01:1F:76 1
Device is 0:0
Voice setting: 0x0060
RFCOMM channel connected
[localhost:~/btsco-0.3]$ aplay -D plughw:Headset /home/jawi/test.wav

References

  1. http://www.dcs.gla.ac.uk/~jp/snd-bt-sco/
  2. http://www.gargan.org/linux/snd-bt-sco/