--------------------
@hife and @Mary Sherman (spot9019): Thanks for the speedy replies!
--------------------
@hife: Thanks for describing your workaround in greater detail.
I've already tried the a2dp.py script, it doesn't fix the problem for
me. I just downloaded again the latest version and tried again, no joy:
--------------------
```
morse@n1 ~> ./a2dp.py
Connection MADE
Selecting device:
1. 0C:47:C9:0A:F6:F8 Amazon Tap-364
2. 00:0C:8A:58:F6:CA Bose SoundLink Mobile speaker II
3. 28:FD:80:00:86:85 Earin L
4. 50:F5:DA:A6:3F:EA Echo-JS6
Select device[1]:
4
Device MAC: 50:F5:DA:A6:3F:EA
Device ID: bluez_card.50_F5_DA_A6_3F_EA
Sink: bluez_sink.50_F5_DA_A6_3F_EA
Updating default sink to bluez_sink.50_F5_DA_A6_3F_EA
Setting the off profile
Disconnecting the device.
Connecting again.
Cannot find `bluez_card.50_F5_DA_A6_3F_EA` using `pactl list cards short`.
Retrying 4 more times
Cannot find `bluez_card.50_F5_DA_A6_3F_EA` using `pactl list cards short`.
Retrying 3 more times
Cannot find `bluez_card.50_F5_DA_A6_3F_EA` using `pactl list cards short`.
Retrying 2 more times
Cannot find `bluez_card.50_F5_DA_A6_3F_EA` using `pactl list cards short`.
Retrying 1 more times
Device ID: bluez_card.50_F5_DA_A6_3F_EA
Setting the a2dp profile
Updating default sink to bluez_sink.50_F5_DA_A6_3F_EA
Ignoring: Command: pacmd list-sink-inputs | grep "index:" failed with status: 1
stderr:
Exiting bluetoothctl
"Enjoy" the HiFi stereo music :)
morse@n1 ~> pacmd list-sink-inputs
0 sink input(s) available.
```
--------------------
When I run this a2dp.py script and get the output above, the following
are posted in syslog:
--------------------
```
Jun 3 13:10:19 n1 acpid: input device has been disconnected, fd 22
Jun 3 13:10:24 n1 bluetoothd[929]: a2dp-source profile connect failed for
50:F5:DA:A6:3F:EA: Device or resource busy
Jun 3 13:10:24 n1 kernel: [124613.035699] input: 50:F5:DA:A6:3F:EA as
/devices/virtual/input/input26
Jun 3 13:10:27 n1 bluetoothd[929]: /org/bluez/hci0/dev_50_F5_DA_A6_3F_EA/fd14:
fd(22) ready
```
--------------------
When I run "pactl list sinks", I see sinks #0 and #1 as the built-in headphone
jack, and then the Amazon Echo as sink #15 in a suspended state:
--------------------
```
Sink #15
State: SUSPENDED
Name: bluez_sink.50_F5_DA_A6_3F_EA
Description: Echo-JS6
Driver: module-bluez5-device.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 49
Mute: Nein
Volume: front-left: 65536 / 100% / 0,00 dB, front-right: 65536 / 100%
/ 0,00 dB
balance 0,00
Base Volume: 65536 / 100% / 0,00 dB
Monitor Source: bluez_sink.50_F5_DA_A6_3F_EA.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY
Properties:
bluetooth.protocol = "a2dp_sink"
device.description = "Echo-JS6"
device.string = "50:F5:DA:A6:3F:EA"
device.api = "bluez"
device.class = "sound"
device.bus = "bluetooth"
device.form_factor = "speaker"
bluez.path = "/org/bluez/hci0/dev_50_F5_DA_A6_3F_EA"
bluez.class = "0x0c0414"
bluez.alias = "Echo-JS6"
device.icon_name = "audio-speakers-bluetooth"
Profile:
speaker-output: Lautsprecher (priority: 0)
Aktive Profile: speaker-output
Formate:
pcm
```
--------------------
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/1582213
Title:
[xenial] Bluetooth device doesn't play any sound in A2DP mode unless
set to HSP/HFP first
Status in bluez package in Ubuntu:
Invalid
Status in pulseaudio package in Ubuntu:
Fix Released
Status in pulseaudio source package in Xenial:
In Progress
Bug description:
[Impact]
Bluetooth device doesn't play any sound in A2DP mode unless set to HSP/HFP
first. A2DP is the high quality profile used for Bluetooth speakers and music
in general.
[Test Case]
1. Pair a Bluetooth audio device with Ubuntu.
2. Verify in Sound settings you have it set to A2DP mode.
3. Turn off and then on the Bluetooth device.
4. Verify the device has reconnected and if not, force it to in the Bluetooth
indicator menu.
5. Open Sound settings again, select the device and verify it's reappeared in
A2DP mode.
6. Click 'Test Sound'.
Expected: Sound can be heard from the Bluetooth device.
[Regression Potential]
Low. The SRU focuses on Bluetooth logic in pulseaudio, so that is the main
area affected. A combination of related A2DP bugs in pulseaudio in xenial means
it is difficult to get working at all without this patch. So highly unlikely
Bluetooth audio support could get worse. Since pulseaudio itself is being
modified there is always a regression potential in support for other audio
devices, but several audio devices have been tested and all continue to work
well with the patch.
[Other notes]
Related to bug 1283003 and bug 1438510. Possibly others too.
Please note that Bluetooth and Bluetooth audio support in xenial is
still not perfect. This SRU only aims to address a few of the most
troublesome issues. Please consider the fact that this is an
incremental improvement and some people are still likely to experience
some bugs related to pulseaudio and Bluetooth, even after this SRU.
The patch was authored by Luke Yelavich with help from Konrad
Zapałowicz. And it has received further testing over the past two
months by Konrad, Jim Hodapp and Daniel van Vugt. The debdiff proposed
here only changes the changelog wording from Luke's original PPA.
[Original Description]
I have a Sennheiser MM 450-X headset.
In 15.10, connection & playback was straightforward.
In 16.04, the headset connects, and shows up as default playback
device on `pavucontrol`, but there is no sound.
A functional workaround is to, after having connected it, to go the
`Configuration` tab, and in the `Profile` dropdown, to choose `...
HSP/HFP`, which will make them play as expected (but in low quality),
then switch to `... A2DP Sink` (they will play in high quality).
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: pulseaudio-module-bluetooth 1:8.0-0ubuntu3
ProcVersionSignature: Ubuntu 4.4.0-22.39-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl nvidia_uvm nvidia_drm
nvidia_modeset nvidia
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC1: myuser 2936 F.... pulseaudio
/dev/snd/controlC2: myuser 2936 F.... pulseaudio
/dev/snd/controlC0: myuser 2936 F.... pulseaudio
Date: Mon May 16 14:18:58 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-03-11 (66 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160224)
PulseList:
Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not
accessible: Permission denied
No PulseAudio daemon running, or not running as session daemon.
SourcePackage: pulseaudio
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/22/2015
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F5
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: F2A88XN-WIFI
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias:
dmi:bvnAmericanMegatrendsInc.:bvrF5:bd04/22/2015:svnGigabyteTechnologyCo.,Ltd.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rnF2A88XN-WIFI:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To be filled by O.E.M.
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1582213/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp