Audio and input support in KBluetooth :)

21 Mar 2010

Finally, the most wanted feature has landed in KBluetooth, support for Audio!

The support is divided in 4 blocks:

  1. Pair the device
    The support for pair the devices should be working, not only for HEADSETS but for everything.
  2. Connect to the service
    KBluetooth will detect if the paired device has audio service, and connect to it.
  3. Support for PulseAudio
    PulseAudio rocks, and since it rocks it will detect and configure the new device automagically :)
  4. Support for Alsa
    Alsa is not automagical like PulseAudio, so we've to write a few things in a file to get it working.

Everything is done by KBluetooth but Alsa support, so I'll explain how to get it working manually.

1-Pair it using kbluetooth-wizard (be sure that you're using kbluetooth-wizard an not kbluetooth-inputwizard)

2-Launch kbluetooth-devicemanager, click in your headset and write somewhere the Address (XX:XX:XX:XX:XX:XX)

3-Open with your favorite editor the file ~/.asoundrc (located in your home) and add:

pcm.bluetooth {
type bluetooth
device 00:11:22:33:44:55
profile "auto"
}

4-If you want use it with Phonon, try the following configuration (is not working totally but something is something :))

pcm.softvol {
type softvol
slave {
pcm "bluetooth"
}

control {
name "SoftMaster"
card 0
}
hint {
show on
description "BlueTooth Headset"
}
}
pcm.bluetooth {
type bluetooth
device 00:11:22:33:44:55
profile "auto"
}

With this, a Bluetooth device should appear in KDE-Multimedia configuration, but as I said is not full working (If I recall correctly the output was working perfectly but not the input).

As always, the corresponding video:
Download video

Cya!

=-=-=-=-=
Powered by Blogilo

Published on 21 Mar 2010 Find me on Twitter!