Based on BlueZ under Linux

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.