Hardy: bluetooth headset (sound + mic)

Francisco Borges francisco.borges at gmail.com
Sat Mar 1 19:42:52 UTC 2008


Hello,

I have a bluetooth headset which I could pair with Gutsy, and get it
to work with Skype. The command line dance is:

~ # modprobe snd-bt-sco
~ # /etc/init.d/bluetooth restart
~ # /etc/init.d/alsa-utils restart
~ # hcitool cc 00:1D:25:B7:C2:C8
~ # btsco -v -s 00:1D:25:B7:C2:C8

However, if I do the same right now on Hardy. Skype will freeze.

Knowing that (http://wiki.bluez.org/wiki/HOWTO/AudioDevices#HeadsetProfile)
btsco is supposed to be obsolete. I am trying to configure my headset
with ~/.asoundrc.

~ % cat .asoundrc
pcm.bluetooth {
   type bluetooth
      device 00:1D:25:B7:C2:C8
      profile "headset"
}

Everything seems to be all right:

==========================
/proc/asound % cat Headset/pcm0p/info
card: 1
device: 0
subdevice: 0
stream: PLAYBACK
id: Bluetooth SCO PCM
name: BT SCO PCM
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 0

 /proc/asound % cat Headset/pcm0c/info
card: 1
device: 0
subdevice: 0
stream: CAPTURE
id: Bluetooth SCO PCM
name: BT SCO PCM
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1

=============================

But Skype still doens't work (though it doesn't freeze). And I can't
get any playback on it using mplayer:

% mplayer -ao alsa:device=bluetooth /usr/share/sounds/alsa/Front_Center.wav

Does anybody knows how to get it to work? Or at least how to better
diagnose the problem?

Things I would really appreciate if someone could tell me are:

- A good way to test a MIC on the command line?
- A good way to test for the state of alsa on the command line?


Cheers,
-- 
Francisco




More information about the ubuntu-users mailing list