Running Bluetooth Headset on Linux

Date January 27, 2009

As i said before in a previous blog, i got a new headset as a gift from my uncle,, mm i tried to configure it in the first day but i failed,,, today i played again and yes i got it working,, here how i configured it. I use Fedora 8 (yes i know currently there is F10 😛 ), my headset vendor is Teac, you will need to install the following packages: bluez-utils, bluez-utils-alsa also gnome-bluetooth if you use gnome and wanna add it to the panel. now use hcitool to seach about the device:
[idle-boy@localhost Enigma]$ hcitool scan Scanning ... 00:1F:5C:87:95:D7 idle-BoY 00:09:DD:70:D9:AA Stereo Headset
Now set your Headset to paring mode and do the following command to connect (as root):
[root@localhost ~]# hcitool cc 00:09:DD:70:D9:AA
Add the following to your ~/.asoundrc file (a file alsa use):
pcm.bluetoothraw { type bluetooth device 00:09:DD:70:D9:AA profile "auto" } pcm.bluetooth { type plug slave { pcm "bluetoothraw" } }
thats all, at least for me 🙂 ,, i use mplayer,, to play a song:
[idle-boy@localhost Enigma]$ mplayer -ao alsa:device=bluetooth */*
for more info and other players, see this Documentation: http://wiki.bluez.org/wiki/HOWTO/AudioDevices weeeeeew so nice to move your head without cables 😛
Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • StumbleUpon
  • Technorati
  • Reddit
  • Webnews
  • MisterWong
  • Y!GG

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>