Arduino Tian (an evolution of Arduino Yun) is a board that has a MIPS processor where Linux is runinng. The distribution used is Linino, derived from openWRT. On this board Wifi from Qualcomm and Bluetooth from CSR are embedded. Software version details: - kernel 3.18.11 - bluez5 version 5.23 - pulseaudio 6.0 - dbus 1.9 The Headset device is properly connected but using paplay: root at linino:~# paplay -v -d bluez_sink.5D_43_5A_03_31_EA /root/sample.wav Opening a playback stream with sample specification 's16be 2ch 44100Hz' and channel map 'front-left,front-right'. Connection established. Stream successfully created. Buffer metrics: maxlength=4194304, tlength=352800, prebuf=349276, minreq=3528 Using sample spec 's16be 2ch 44100Hz', channel map 'front-left,front-right'. Connected to device bluez_sink.5D_43_5A_03_31_EA (index: 1, suspended: no). it start to play the music but without any sound. Trying to change the card profile from HSP to A2DP with the command: pactl set-card-profile 0, a2dp_sink hangs the board and exit with connection failure: Timeout trying to trace the code, I noticed that it stops on the call stop_thread on module-bluez5-device.c Can you help me to understand why is hanging changing the profile? Is it possible to force the default to A2DP instead of HSP? Following some output: root at linino:~# root at linino:~# pactl list cards Card #0 Name: bluez_card.5D_43_5A_03_31_EA Driver: module-bluez5-device.c Owner Module: 17 Properties: device.description = "Marley Chant BT" device.string = "5D:43:5A:03:31:EA" device.api = "bluez" device.class = "sound" device.bus = "bluetooth" device.form_factor = "headset" bluez.path = "/org/bluez/hci0/dev_5D_43_5A_03_31_EA" bluez.class = "0x240404" bluez.alias = "Marley Chant BT" device.icon_name = "audio-headset-bluetooth" device.intended_roles = "phone" Profiles: headset_head_unit: Headset Head Unit (HSP/HFP) (sinks: 1, sources: 1, priority: 20, available: yes) a2dp_sink: High Fidelity Playback (A2DP Sink) (sinks: 1, sources: 0, priority: 10, available: yes) off: Off (sinks: 0, sources: 0, priority: 0, available: yes) Active Profile: headset_head_unit Ports: headset-output: Headset (priority: 0, latency offset: 0 usec) Part of profile(s): headset_head_unit, a2dp_sink headset-input: Headset (priority: 0, latency offset: 0 usec) Part of profile(s): headset_head_unit root at linino:~# pactl list sinks Sink #1 State: SUSPENDED Name: bluez_sink.5D_43_5A_03_31_EA Description: Marley Chant BT Driver: module-bluez5-device.c Sample Specification: s16le 1ch 8000Hz Channel Map: mono Owner Module: 17 Mute: no Volume: mono: 65536 / 100% balance 0.00 Base Volume: 65536 / 100% Monitor Source: bluez_sink.5D_43_5A_03_31_EA.monitor Latency: 0 usec, configured 0 usec Flags: HARDWARE HW_VOLUME_CTRL LATENCY Properties: bluetooth.protocol = "headset_head_unit" device.intended_roles = "phone" device.description = "Marley Chant BT" device.string = "5D:43:5A:03:31:EA" device.api = "bluez" device.class = "sound" device.bus = "bluetooth" device.form_factor = "headset" bluez.path = "/org/bluez/hci0/dev_5D_43_5A_03_31_EA" bluez.class = "0x240404" bluez.alias = "Marley Chant BT" device.icon_name = "audio-headset-bluetooth" Ports: headset-output: Headset (priority: 0) Active Port: headset-output Formats: pcm -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20150930/4247d158/attachment.html>