Pairing with Amazon Echo: Don't want Sink and Source

Asked by Kris Linquist on 2017-02-20

Pulseaudio 5.

I'm trying to pair a raspberry pi with my Amazon Echo where the Echo will function as a bluetooth speaker. The Echo supports being a bluetooth speaker... AND it supports sending audio to an external bluetooth speaker.

The problem is ... it pairs as both a sink and a source. Audio goes to the echo ... then back again!

I've tried adding the following to my /etc/bluetooth/audio.conf:
Disable=Source
DisablePlugins=Source

Even setting my BT class as 0x00010C, which is "laptop computer."

Any ideas on how I can stop this "double pairing"?

Thanks!

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu pulseaudio Edit question
Assignee:
No assignee Edit question
Last query:
2017-02-21
Last reply:
2017-02-21

What is the output of:

wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh && chmod +x ./alsa-info.sh && ./alsa-info.sh

Thanks

Kris Linquist (klinquist) said : #2

Nice little troubleshooting script!

http://www.alsa-project.org/db/?f=d199e6e1678c0732375a81b84f6b6f00f7623845

Some additional information:
/etc/bluetooth/audio.conf:

[General]
Enable = Sink, Control
Disable = Headset, Gateway, Source
AutoConnect=true

Exerpt from pacmd list-cards
1 card(s) available.
    index: 0
 name: <bluez_card.0C_47_C9_0F_28_58>
 driver: <module-bluez5-device.c>
 owner module: 24
 properties:
  device.description = "Echo-1TC"
  device.string = "0C:47:C9:0F:28:58"
  device.api = "bluez"
  device.class = "sound"
  device.bus = "bluetooth"
  device.form_factor = "speaker"
  bluez.path = "/org/bluez/hci0/dev_0C_47_C9_0F_28_58"
  bluez.class = "0x0c0414"
  bluez.alias = "Echo-1TC"
  device.icon_name = "audio-speakers-bluetooth"
 profiles:
  a2dp_source: High Fidelity Capture (A2DP Source) (priority 10, available: yes)
  a2dp: High Fidelity Playback (A2DP Sink) (priority 10, available: unknown)
  off: Off (priority 0, available: yes)
 active profile: <a2dp_source>
 sources:
  bluez_source.0C_47_C9_0F_28_58/#3: Echo-1TC
 ports:
  speaker-output: Speaker (priority 0, latency offset 0 usec, available: unknown)
   properties:

  speaker-input: Bluetooth Input (priority 0, latency offset 0 usec, available: yes)
   properties:

As you can see, this card has both a2dp and a2dp_source profiles. I can activate the a2dp profile, but I don't know how to change its priority so that it's default - or even better, delete that profile.

When I start pulseaudio, I see the following in syslog:
Feb 21 15:02:48 stringify-pi bluetoothd[601]: Endpoint registered: sender=:1.15 path=/MediaEndpoint/A2DPSource
Feb 21 15:02:48 stringify-pi bluetoothd[601]: Endpoint registered: sender=:1.15 path=/MediaEndpoint/A2DPSink

I want to delete the endpoint /MediaEndpoint/AD2PSource

Thank you for your assistance!

What is the output of:

lsb_release -a

Thanks

Kris Linquist (klinquist) said : #4

No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 8.0 (jessie)
Release: 8.0
Codename: jessie

Then you are using Raspian. Not Ubuntu. It's not supported here. I suggest you post on the Raspian forum

Can you help with this problem?

Provide an answer of your own, or ask Kris Linquist for more information if necessary.

To post a message you must log in.