PDA

View Full Version : Bluetooth A2dp problem !



riyoua
2017-06-10, 01:48
hi ...
i have sony headset mdr-zx330bt .. i manage to make it connected ...
the problem is i can't change the profile to A2dp .. when using blueman-manager trying to to change the profile i got this error ..

https://image.ibb.co/hwY7Ha/Screenshot_from_2017_06_10_04_30_12.png

trying to change it with pavucontrol as i've read in debian official page is not working either , i manage to choose the profile , but when i exit and open it again i found nothing change

https://image.ibb.co/j2woOF/Screenshot_from_2017_06_10_04_34_16.png

any help here with detailed steps which i can follow ?

riyoua
2017-06-10, 16:11
the problem is here i guess when i apply this command :

pacmd set-card-profile 4 a2dp_sink

i get this error !
Failed to set card profile to 'a2dp_sink'.

riyoua
2017-06-10, 17:28
hoowaaaa , i managed to make it work after surfing the internet for two days ..

first of all you need to write down in terminal the following :

nano /etc/bluetooth/audio.conf

then you have to add this line :


Enable=Gateway,Source,Socket

now restart your bluetooth serivice by writing this in terminal :


service bluetooth restart

now pair and connect your bluetooth device using "bluetoothctl" or "blueman-manager", if your device already paired and connected , you don't need to pair it again after restarting the bluetooth service ...

now write down in terminal :

pactl list cards short
you should get something begins with "bluez_card.00" with the index number on the left for each card

and now with the final command :


pactl set-card-profile [index_number] a2dp_sink

congratulations now it's working ..
my os info : Linux kali 4.9.0-kali4-amd64 #1 SMP Debian 4.9.30-1kali1 (2017-06-06) x86_64 GNU/Linux
my Bluetooth module : module-bluez5-device.c

i hope you close this thread ... thanks