Reply To: [UPDATE BUG FIX] Bluetooth Addon BETA

Max2Play Home Forums Max2Play Add-ons [UPDATE BUG FIX] Bluetooth Addon BETA Reply To: [UPDATE BUG FIX] Bluetooth Addon BETA

18. Juli 2017 at 11:21 #29941

Still can’t use Amazon Echo (not Dot) as Bluetooth speaker with Max2Play.
Problem is Echo connects as a2dp_source-, is not listed as an available sink, and the set card profile commands (my card listed as no 1) fail as follows:
pactl set-card-profile 1 a2dp
Failure: Input/Output error
pacmd set-card-profile 1 a2dp
Failed to set card profile to ‚a2dp‘

Has anyone solved this yet?

#### Bluetooth Installation ####

#### Bluetooth Dongle ####
hci0: Type: BR/EDR Bus: USB
BD Address: 00:1A:7D:DA:71:0A ACL MTU: 310:10 SCO MTU: 64:8
UP RUNNING PSCAN
RX bytes:250252 acl:837 sco:0 events:119 errors:0
TX bytes:2746 acl:34 sco:0 commands:61 errors:0

#### DEVICE Echo-3WS ####
[40:B4:CD:2A:94:BB]
Name: Echo-3WS
Alias: Echo-3WS [rw]
Address: 40:B4:CD:2A:94:BB
Icon: audio-card
Class: 0xc0414
Paired: 1
Trusted: 1 [rw]
Blocked: 0 [rw]
Connected: 1
UUIDs: [AudioSource, AudioSink, AVRemoteControl, PnPInformation, 4e72b490-1d0f-bf92-0e47-a84e01000000]

#### DEVICE [Samsung] Office ####
[CC:B1:1A:8C:45:E6]
Name: [Samsung] Office
Alias: [Samsung] Office [rw]
Address: CC:B1:1A:8C:45:E6
Icon: audio-card
Class: 0x240404
Paired: 1
Trusted: 1 [rw]
Blocked: 0 [rw]
Connected: 0
UUIDs: [SerialPort, AudioSink, AVRemoteControlTarget, AVRemoteControl, 00001801-0000-1000-8000-00805f9b34fb]

#### PACMD LIST | grep active ####
active port: <analog-output>
active port: <speaker-input>
active profile: <output:analog-stereo>
active profile: <a2dp_source>

#### PACMD LIST | grep sink ####
Default sink name: alsa_output.platform-soc_audio.analog-stereo
name: <module-null-sink>
module.description = „Clocked NULL sink“
module.description = „When a bluetooth sink or source is added, load module-loopback“
module.description = „Automatically restore the default sink and source“
name: <module-always-sink>
module.description = „Always keeps at least one sink loaded even if it’s a null one“
module.description = „When a sink/source is idle for too long, suspend it“
module.description = „Load filter sinks automatically when needed“
module.description = „BlueZ 5 Bluetooth audio sink and source“
argument: <source=“bluez_source.40_B4_CD_2A_94_BB“ source_dont_move=“true“ sink_input_properties=“media.role=music“>
module.description = „Loopback from source to sink“
2 sink(s) available.
driver: <module-null-sink.c>
driver: <module-null-sink.c>
sinks:
1 sink input(s) available.
sink: 1 <alsa_output.platform-soc_audio.analog-stereo>
module-stream-restore.id = „sink-input-by-media-role:music“

#### X-SERVER RUNNING ####
1

#### PULSEAUDIO RUNNING ####
1 S 1000 1166 1 4 80 0 – 28101 – ? 00:00:01 pulseaudio

#### PACMD LIST-CARDS | DEBUG COMPLETE ####
2 card(s) available.
index: 0
name: <alsa_card.platform-soc_audio>
driver: <module-alsa-card.c>
owner module: 7
properties:
alsa.card = „0“
alsa.card_name = „bcm2835 ALSA“
alsa.long_card_name = „bcm2835 ALSA“
alsa.driver_name = „snd_bcm2835“
device.bus_path = „platform-soc:audio“
sysfs.path = „/devices/platform/soc/soc:audio/sound/card0“
device.string = „0“
device.description = „bcm2835 ALSA“
module-udev-detect.discovered = „1“
device.icon_name = „audio-card“
profiles:
output:analog-mono: Analog Mono Output (priority 100, available: unknown)
output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
off: Off (priority 0, available: unknown)
active profile: <output:analog-stereo>
sinks:
alsa_output.platform-soc_audio.analog-stereo/#1: bcm2835 ALSA Analog Stereo
sources:
alsa_output.platform-soc_audio.analog-stereo.monitor/#1: Monitor of bcm2835 ALSA Analog Stereo
ports:
analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
properties:

index: 1
name: <bluez_card.40_B4_CD_2A_94_BB>
driver: <module-bluez5-device.c>
owner module: 27
properties:
device.description = „Echo-3WS“
device.string = „40:B4:CD:2A:94:BB“
device.api = „bluez“
device.class = „sound“
device.bus = „bluetooth“
device.form_factor = „speaker“
bluez.path = „/org/bluez/hci0/dev_40_B4_CD_2A_94_BB“
bluez.class = „0x0c0414“
bluez.alias = „Echo-3WS“
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.40_B4_CD_2A_94_BB/#2: Echo-3WS
ports:
speaker-output: Speaker (priority 0, latency offset 0 usec, available: no)
properties:

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