Comment 8 for bug 134297

Revision history for this message
Michael R. Head (burner) wrote : Re: Does bluetooth-alsa work in Ubuntu?

Oh... I see now... alsa won't advertise the a2dpd device. If I do:

"aplay -D a2dpd /usr/share/sounds/login.wav"

I get sound coming through my headphones.

OK, so I have some comments a few updates to the documentation.

bluetooth-alsa for Debian
-------------------------

1. Original cvs module name was "plugz".
   I have changed this to something more meaningful.

2. Sample configuration file is named sample.asoundrc.
   Copy it to ~/.asoundrc and if you have SCO device
   (most mono headsets) set default address of it.

-- I'm not using a SCO device, but where would I put the address if I did?

3. If you own an A2DP device (most stereo headsets)
   copy sample.a2dprc to ~/.a2dprc and set at last
   your bluetooth headset address.

-- Specifically, put the address of your headset on the "address=" line at the end of .a2dprc. You can determine the address by running "hcitool scan" (when the device is in pairing mode?)

4. SCO devices (most mono headsets) may need kernel patch.
   If it does not work for you try applying to your kernel
   patches found in /usr/share/doc/bluetooth-alsa/patches/.

-- I'd add a couple steps here about running a2dpd, setting the device into pairing mode, running a2dp Connect (maybe twice)

-- Then mention that it can be tested by running aplay -D a2dpd /usr/share/sounds/login.wav

-- I'd also point out that Totem can be set to use the headphones by doing:
gconftool -t string --set /system/gstreamer/0.10/default/musicaudiosink 'alsasink device=a2dpd'

5. For detail setup information refer to build.html.