# Bluetooth-alsa

Bluetooth audio for Linux

Overview | History | Future work | Download & build | Credits | Contact us

Please join us on the bluez-devel mailing list to work on this project or provide feedback.

Sourceforge also provides forums and a place to submit patches, but most of the BlueZ developers don't frequent the forums, so the mailing list is the best place to reach us.

If things aren't working as you expect, some of the things that can help us track it down are:

- Check to see you have installed bluez-passkey-gnome (debian, ubuntu)
- Whether there is a hub between your computer and bluetooth adapter (you should avoid this especially if it's a usb 2.0 hub)
- Manufacturer and model of headset and bluetooth adapter
- Output from `hciconfig -a`
- For using SCO, the output from `hciconfig hci0 revision` is helpful (Run hciconfig as root)
  - If it prints "SCO mapping: HCI" then your adapter should work.
  - If it prints "SCO mapping: PCM" then you might permanently change the setting using a command like "pskey mapsco 0" or "bccmd psset -s default 0x1ab 0" using bluez-utils-cvs but this is at your own risk.
  - If it doesn't print either of those, you probably need a different bluetooth adapter (preferably "CSR" based). You might be able to get a broadcom adapter to work but it may require that you boot with a kernel argument (the force_scofix parameter of the hci_usb driver?) to force sco mtu values
  - If the adapter is made by Silicon Wave, it will not work. No one has gotten these things to do audio in linux.
- Output from `hcitool info bdaddr` where bdaddr is the headset's address
- Output from `hcidump -X -V` while running btsco or a2play if appropriate
- Your kernel version and bluez userland versions or distro
- Result when trying it with a recent kernel if possible
- If you have a headset that can do a2dp, try both SCO and A2DP
- If you can try another bluetooth adapter or headset, let us know if that helps (the adapters are cheap now, eh? :)
- If you can't pair or connect with the headset, did you pair it with another device? Did it help to reset the pairing by removing /etc/bluetooth/link_key or /var/lib/bluetooth/[dongleaddr]/linkkeys or by putting the headset in pair mode? You may have to redo this often if you try to dual-boot windows or if you use the same dongle on another computer. Be sure to set "auth disable" and "encrypt disable" in /etc/bluetooth/hcid.conf.
- Change the pin helper. Strangely it started working for me one time by using: `pin_helper /usr/bin/bluez-pin;`
- Think about scatternets--if you have "master" in hcid.conf's lm setting, you are forcing the pc to be master. This may not jive well with a combo headset.