<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.mediawiki.compulab.com/w/index.php?action=history&amp;feed=atom&amp;title=Transclusion%3A_Debian%3A_iMX7%3A_Bluez5_PulseAudio</id>
	<title>Transclusion: Debian: iMX7: Bluez5 PulseAudio - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.mediawiki.compulab.com/w/index.php?action=history&amp;feed=atom&amp;title=Transclusion%3A_Debian%3A_iMX7%3A_Bluez5_PulseAudio"/>
	<link rel="alternate" type="text/html" href="https://www.mediawiki.compulab.com/w/index.php?title=Transclusion:_Debian:_iMX7:_Bluez5_PulseAudio&amp;action=history"/>
	<updated>2026-04-17T18:41:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://www.mediawiki.compulab.com/w/index.php?title=Transclusion:_Debian:_iMX7:_Bluez5_PulseAudio&amp;diff=4361&amp;oldid=prev</id>
		<title>imported&gt;Uri.mashiach at 08:30, 5 December 2018</title>
		<link rel="alternate" type="text/html" href="https://www.mediawiki.compulab.com/w/index.php?title=Transclusion:_Debian:_iMX7:_Bluez5_PulseAudio&amp;diff=4361&amp;oldid=prev"/>
		<updated>2018-12-05T08:30:19Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 08:30, 5 December 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l99&quot; &gt;Line 99:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 99:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[bluetooth]# agent on&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[bluetooth]# agent on&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[bluetooth]# default-agent&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[bluetooth]# default-agent&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[bluetooth]# scan &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[bluetooth]# scan &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;on&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now make sure that your headset is in pairing mode. It should be discovered shortly. For example,&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now make sure that your headset is in pairing mode. It should be discovered shortly. For example,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l160&quot; &gt;Line 160:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 160:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;root@cl-rootfs:~# pactl list sinks | awk '/00_07_A4_F2_B3_CB/' RS=&amp;quot;&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;root@cl-rootfs:~# pactl list sinks | awk '/00_07_A4_F2_B3_CB/' RS=&amp;quot;&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Sink #&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;1&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Sink #&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;2&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; State: SUSPENDED&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; State: SUSPENDED&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; Name: bluez_sink.00_07_A4_F2_B3_CB&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; Name: bluez_sink.00_07_A4_F2_B3_CB&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.a2dp_sink&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; Description: Motorola HT820&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; Description: Motorola HT820&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; Driver: module-bluez5-device.c&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; Driver: module-bluez5-device.c&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l172&quot; &gt;Line 172:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 172:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; balance 0.00&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; balance 0.00&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; Base Volume: 65536 / 100% / 0.00 dB&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; Base Volume: 65536 / 100% / 0.00 dB&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; Monitor Source: bluez_sink.00_07_A4_F2_B3_CB.monitor&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; Monitor Source: bluez_sink.00_07_A4_F2_B3_CB&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.a2dp_sink&lt;/ins&gt;.monitor&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; Latency: 0 usec, configured 0 usec&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; Latency: 0 usec, configured 0 usec&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; Flags: HARDWARE DECIBEL_VOLUME LATENCY &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; Flags: HARDWARE DECIBEL_VOLUME LATENCY &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l196&quot; &gt;Line 196:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 196:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:* Play sound using {{filename|paplay}}. Example:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:* Play sound using {{filename|paplay}}. Example:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;root@cl-rootfs:~# paplay -d bluez_sink.00_07_A4_F2_B3_CB /path/to/&amp;lt;audio-file.wav&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;root@cl-rootfs:~# paplay -d bluez_sink.00_07_A4_F2_B3_CB&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.a2dp_sink &lt;/ins&gt;/path/to/&amp;lt;audio-file.wav&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Uri.mashiach</name></author>
		
	</entry>
	<entry>
		<id>https://www.mediawiki.compulab.com/w/index.php?title=Transclusion:_Debian:_iMX7:_Bluez5_PulseAudio&amp;diff=3372&amp;oldid=prev</id>
		<title>Ilya: New page: ==== Bluez5 &amp; PulseAudio ==== Debian stretch/sid is using BlueZ 5 and PluseAudio 5, which are fairly new.&lt;br&gt; BlueZ 5 dropped support for alsa, so the solution for now is to use PulseAudio...</title>
		<link rel="alternate" type="text/html" href="https://www.mediawiki.compulab.com/w/index.php?title=Transclusion:_Debian:_iMX7:_Bluez5_PulseAudio&amp;diff=3372&amp;oldid=prev"/>
		<updated>2017-06-15T11:32:25Z</updated>

		<summary type="html">&lt;p&gt;New page: ==== Bluez5 &amp;amp; PulseAudio ==== Debian stretch/sid is using BlueZ 5 and PluseAudio 5, which are fairly new.&amp;lt;br&amp;gt; BlueZ 5 dropped support for alsa, so the solution for now is to use PulseAudio...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==== Bluez5 &amp;amp; PulseAudio ====&lt;br /&gt;
Debian stretch/sid is using BlueZ 5 and PluseAudio 5, which are fairly new.&amp;lt;br&amp;gt;&lt;br /&gt;
BlueZ 5 dropped support for alsa, so the solution for now is to use PulseAudio.&amp;lt;br&amp;gt;&lt;br /&gt;
PulseAudio 5 only supports the A2DP profile and not HSP/HFP. &amp;lt;br&amp;gt;&lt;br /&gt;
* Software to install {{filename|pulseaudio}}, {{filename|pulseaudio-module-bluetooth}}&lt;br /&gt;
{{Note|{{filename|debian-image.tar.bz2}} has all these packages pre-installed. Continue to the [[#Start PulseAudio | Start PulseAudio]] section if you use this root filesystem.}}&lt;br /&gt;
===== Install and configure PulseAudio =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@cl-rootfs:~# apt-get install --no-install-recommends pulseaudio pulseaudio-module-bluetooth&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Create a systemd service for running pulseaudio as the pulse user.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@cl-rootfs:~# cat &amp;lt;&amp;lt; eof &amp;gt; /etc/systemd/system/pulseaudio.service&lt;br /&gt;
[Unit]&lt;br /&gt;
Description=Pulse Audio&lt;br /&gt;
&lt;br /&gt;
[Service]&lt;br /&gt;
Type=simple&lt;br /&gt;
ExecStart=/usr/bin/pulseaudio --system --disallow-exit --disable-shm&lt;br /&gt;
&lt;br /&gt;
[Install]&lt;br /&gt;
WantedBy=multi-user.target&lt;br /&gt;
eof&lt;br /&gt;
&lt;br /&gt;
root@cl-rootfs:~# chown pulse:pulse /etc/systemd/system/pulseaudio.service&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Create a dbus configuration file for running pulseaudio. Give the pulse user permission to use Bluetooth.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@cl-rootfs:~# cat &amp;lt;&amp;lt; eof &amp;gt; /etc/dbus-1/system.d/pulseaudio-bluetooth.conf&lt;br /&gt;
&amp;lt;busconfig&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;policy user=&amp;quot;pulse&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;allow send_destination=&amp;quot;org.bluez&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/policy&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/busconfig&amp;gt;&lt;br /&gt;
eof&lt;br /&gt;
&lt;br /&gt;
root@cl-rootfs:~# chmod 0666 /etc/dbus-1/system.d/pulseaudio-bluetooth.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Paste the following lines to the end of /etc/pulse/system.pa:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@cl-rootfs:~# cat &amp;lt;&amp;lt; eof &amp;gt;&amp;gt; /etc/pulse/system.pa&lt;br /&gt;
### Automatically load driver modules for Bluetooth hardware&lt;br /&gt;
.ifexists module-bluetooth-policy.so&lt;br /&gt;
load-module module-bluetooth-policy&lt;br /&gt;
.endif&lt;br /&gt;
&lt;br /&gt;
.ifexists module-bluetooth-discover.so&lt;br /&gt;
load-module module-bluetooth-discover&lt;br /&gt;
.endif&lt;br /&gt;
eof&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Create {{filename|/var/run/pulse/.config/pulse}} directory. Change its ownership.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@cl-rootfs:~# mkdir -p /var/run/pulse/.config/pulse&lt;br /&gt;
root@cl-rootfs:~# chown -R pulse:pulse /var/run/pulse&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Make the root belong to the pulse-access,audio groups&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@cl-rootfs:~# usermod -a -G pulse-access,audio root&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Start PulseAudio =====&lt;br /&gt;
* Start PulseAudio service&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@cl-rootfs:~# systemctl daemon-reload&lt;br /&gt;
root@cl-rootfs:~# systemctl start pulseaudio.service&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Make sure that the service is active, running and reports on no errors.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@cl-rootfs:~# systemctl status pulseaudio.service&lt;br /&gt;
   Loaded: loaded (/etc/systemd/system/pulseaudio.service; disabled)&lt;br /&gt;
   Active: active (running) since Mon 2015-07-20 12:00:13 UTC; 1min 34s ago&lt;br /&gt;
 Main PID: 805 (pulseaudio)&lt;br /&gt;
   CGroup: /system.slice/pulseaudio.service&lt;br /&gt;
           └─805 /usr/bin/pulseaudio --system --disallow-exit --disable-shm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Bluez5 pairing =====&lt;br /&gt;
PulseAudio 5.x supports A2DP per default.&amp;lt;br&amp;gt;&lt;br /&gt;
Make sure the following packages are installed:&lt;br /&gt;
pulseaudio pulseaudio-module-bluetooth pulseaudio-utils, bluez, bluez-tools.&lt;br /&gt;
{{Note|Without {{filename|pulseaudio-module-bluetooth}} you won't be able to connect after the next pairing and you won't get any usable error messages.}}&lt;br /&gt;
&lt;br /&gt;
* Start the Bluetooth system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@cl-rootfs:~# systemctl start bluetooth&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now we can use the {{cmd|bluetoothctl}} command line utility to pair and connect. Run&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@cl-rootfs:~# bluetoothctl&lt;br /&gt;
[bluetooth]#&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to be greeted by its internal command prompt.Then enter:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[bluetooth]# power on&lt;br /&gt;
[bluetooth]# agent on&lt;br /&gt;
[bluetooth]# default-agent&lt;br /&gt;
[bluetooth]# scan &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now make sure that your headset is in pairing mode. It should be discovered shortly. For example,&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[NEW] Device 00:07:A4:F2:B3:CB Motorola HT820&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
shows a device that calls itself &amp;quot;Motorola HT820&amp;quot; and has MAC address 00:07:A4:F2:B3:CB.&lt;br /&gt;
We will now use that MAC address to initiate the pairing:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[bluetooth]# pair 00:07:A4:F2:B3:CB&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
After pairing, you also need to explicitly connect the device:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[bluetooth]# connect 00:07:A4:F2:B3:CB&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If everything works correctly, you now have a separate output device in PulseAudio.&amp;lt;br&amp;gt;&lt;br /&gt;
You can now disable scanning again and exit the program:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[bluetooth]# scan off&lt;br /&gt;
[bluetooth]# exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Playback using PulseAudio =====&lt;br /&gt;
{{Note|Next examples assume that the device mac address is '''00_07_A4_F2_B3_CB'''}}&lt;br /&gt;
* Show the PulseAudio device &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@cl-rootfs:~# pactl list cards  | awk '/00_07_A4_F2_B3_CB/' RS=&amp;quot;&amp;quot;&lt;br /&gt;
Card #1                                                                                                                                                                     &lt;br /&gt;
        Name: bluez_card.00_07_A4_F2_B3_CB                                                                                                                                  &lt;br /&gt;
        Driver: module-bluez5-device.c                                                                                                                                      &lt;br /&gt;
        Owner Module: 13                                                                                                                                                    &lt;br /&gt;
        Properties:                                                                                                                                                         &lt;br /&gt;
                device.description = &amp;quot;Motorola HT820&amp;quot;                                                                                                                       &lt;br /&gt;
                device.string = &amp;quot;00:07:A4:F2:B3:CB&amp;quot;                                                                                                                         &lt;br /&gt;
                device.api = &amp;quot;bluez&amp;quot;                                                                                                                                        &lt;br /&gt;
                device.class = &amp;quot;sound&amp;quot;                                                                                                                                      &lt;br /&gt;
                device.bus = &amp;quot;bluetooth&amp;quot;                                                                                                                                    &lt;br /&gt;
                device.form_factor = &amp;quot;headset&amp;quot;                                                                                                                              &lt;br /&gt;
                bluez.path = &amp;quot;/org/bluez/hci0/dev_00_07_A4_F2_B3_CB&amp;quot;                                                                                                        &lt;br /&gt;
                bluez.class = &amp;quot;0x240404&amp;quot;                                                                                                                                    &lt;br /&gt;
                bluez.alias = &amp;quot;Motorola HT820&amp;quot;                                                                                                                              &lt;br /&gt;
                device.icon_name = &amp;quot;audio-headset-bluetooth&amp;quot;                                                                                                                &lt;br /&gt;
                device.intended_roles = &amp;quot;phone&amp;quot;                                                                                                                             &lt;br /&gt;
        Profiles:                                                                                                                                                           &lt;br /&gt;
                headset_head_unit: Headset Head Unit (HSP/HFP) (sinks: 1, sources: 1, priority: 20, available: no)&lt;br /&gt;
                a2dp_sink: High Fidelity Playback (A2DP Sink) (sinks: 1, sources: 0, priority: 10, available: yes)&lt;br /&gt;
                off: Off (sinks: 0, sources: 0, priority: 0, available: yes)&lt;br /&gt;
        Active Profile: a2dp_sink&lt;br /&gt;
        Ports:&lt;br /&gt;
                headset-output: Headset (priority: 0, latency offset: 0 usec)&lt;br /&gt;
                        Part of profile(s): headset_head_unit, a2dp_sink&lt;br /&gt;
                headset-input: Headset (priority: 0, latency offset: 0 usec, not available)&lt;br /&gt;
                        Part of profile(s): headset_head_unit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:* Make sure the active card profile is a2dp_sink. Otherwise switch to it:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# pactl set-card-profile 1 a2dp_sink&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:* Show the PulseAudio sink&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@cl-rootfs:~# pactl list sinks | awk '/00_07_A4_F2_B3_CB/' RS=&amp;quot;&amp;quot;&lt;br /&gt;
Sink #1&lt;br /&gt;
        State: SUSPENDED&lt;br /&gt;
        Name: bluez_sink.00_07_A4_F2_B3_CB&lt;br /&gt;
        Description: Motorola HT820&lt;br /&gt;
        Driver: module-bluez5-device.c&lt;br /&gt;
        Sample Specification: s16le 2ch 48000Hz&lt;br /&gt;
        Channel Map: front-left,front-right&lt;br /&gt;
        Owner Module: 13&lt;br /&gt;
        Mute: no&lt;br /&gt;
        Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB&lt;br /&gt;
                balance 0.00&lt;br /&gt;
        Base Volume: 65536 / 100% / 0.00 dB&lt;br /&gt;
        Monitor Source: bluez_sink.00_07_A4_F2_B3_CB.monitor&lt;br /&gt;
        Latency: 0 usec, configured 0 usec&lt;br /&gt;
        Flags: HARDWARE DECIBEL_VOLUME LATENCY &lt;br /&gt;
        Properties:&lt;br /&gt;
                bluetooth.protocol = &amp;quot;a2dp_sink&amp;quot;&lt;br /&gt;
                device.description = &amp;quot;Motorola HT820&amp;quot;&lt;br /&gt;
                device.string = &amp;quot;00:07:A4:F2:B3:CB&amp;quot;&lt;br /&gt;
                device.api = &amp;quot;bluez&amp;quot;&lt;br /&gt;
                device.class = &amp;quot;sound&amp;quot;&lt;br /&gt;
                device.bus = &amp;quot;bluetooth&amp;quot;&lt;br /&gt;
                device.form_factor = &amp;quot;headset&amp;quot;&lt;br /&gt;
                bluez.path = &amp;quot;/org/bluez/hci0/dev_00_07_A4_F2_B3_CB&amp;quot;&lt;br /&gt;
                bluez.class = &amp;quot;0x240404&amp;quot;&lt;br /&gt;
                bluez.alias = &amp;quot;Motorola HT820&amp;quot;&lt;br /&gt;
                device.icon_name = &amp;quot;audio-headset-bluetooth&amp;quot;&lt;br /&gt;
                device.intended_roles = &amp;quot;phone&amp;quot;&lt;br /&gt;
        Ports:&lt;br /&gt;
                headset-output: Headset (priority: 0)&lt;br /&gt;
        Active Port: headset-output&lt;br /&gt;
        Formats:&lt;br /&gt;
                pcm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:* Play sound using {{filename|paplay}}. Example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@cl-rootfs:~# paplay -d bluez_sink.00_07_A4_F2_B3_CB /path/to/&amp;lt;audio-file.wav&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ilya</name></author>
		
	</entry>
</feed>