2015年10月1日 星期四

How to Bluetooth Headset to work on Debian (A2DP)

1) Install the following packages
apt-get install gnome-bluetooth pulseaudio pulseaudio-module-bluetooth pavucontrol blueman bluetooth bluez 

2) Create the file ~/.asoundrc
pcm.!default plug:pulse 
pcm.pulse { 
type pulse 


3) Edit /etc/default/bluetooth to enable the following 
#HID2HCI_ENABLED=0
#HID2HCI_UNDO=0
HID2HCI_ENABLED=1 
HID2HCI_UNDO=1 

4) Reboot

5) You can check audio setting it created Headset device.