Hardware: Moto H670 bluetooth headset (CSR chip)/Broadcom v2.0 Adapter
Software: Bluez-4.26/bluez-gnome-1.8/linux kernel 2.6.28
1) Bluetooth headset pairing, open your Bluetooth headset, enter the pairing mode, I am using Blue-wizard, is blue-gnome this thing to match, really can not find other methods. Before bluez-3.x in/var/lib/bluetooth/xx/pincodes directly write Pincode can, now seems to die, and before pairing, it is best to remove that pincodes, At least remove the pincode that is associated with your Bluetooth headset address.
2) Running BLUETOOTHD
First use, you can add-n-d in the back to see the debug information
3) in the home directory, create the. asoundrc file, as follows:
Pcm.headset {
Type Bluetooth
Device "00:1a:0e:1a:0e:90"
Profile "Voice"
}
4) test the Bluetooth headset
aplay-d Headset Demo.wav or choose headset in Skype.
Note:
In the configuration, my Bluetooth headset, is playing when the dead, there is no sound, you can see in the BLUETOOTHD debugging information "State Changed/org/bluez/19016/hci0/dev_00_1a_0e_1a_0e_ 90:headset_state_connect_in_progress-headset_state_connected "can also be from headset_state_connected to HEADSET_STATE_ PLAYING "is not a sound. At this time, you want to see if there is a problem with your Bluetooth adapter, my Broadcom is so.
You can use LSUSB to see your Bluetooth adapter DeviceID, and then add it in the DRIVER/BLUETOOTH/BTUSB.C. But it can also be modprobe btusb.
force_scofix=1, can also solve the problem.
Lsusb
Bus 002 Device 002:id
0a5c:2121Broadcom Corp. BCM2210 Bluetooth
btusb.c:104 Line
{Usb_device (0x0a5c, 0x2121),. Driver_info = Btusb_reset | BTUSB_WRONG_SCO_MTU},
Based on BlueZ under Linux