<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 25.02.2015 21:13, Saad Malik wrote:<br>
    </div>
    <blockquote
cite="mid:CAKAN+9DH7xLCG+ev=BXGHDx6dpUjsU1mMXERRC3qw5rHs28FUA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi All,<br>
        With the upgrade to PulseAudio 6.0 last week, my <i>Bose OE
          SoundLink</i> bluetooth headset no longer connects to the A2DP
        profile.
        <div><br>
          The new PulseAudio 6.0 upgrade added a <i>headset_head_unit:
            Headset Head Unit (HSP/HFP)</i> profile that actually works!
          Unfortunately, I get a "Refused to switch profile to
          a2dp_sink: Not connected" when I attempt to switch to the
          a2dp_sink profile.</div>
        <div><br>
        </div>
      </div>
    </blockquote>
    <br>
    It's probably just that - a2dp is not connected. Have you tried to
    connect it manually?<br>
    Run bluetoothctl and enter following commands:<br>
    agent on<br>
    default-agent<br>
    connect aa:bb:cc:dd:ee:ff (address of your device)<br>
    <br>
    After that a2dp should be available again. <br>
    <br>
    <blockquote
cite="mid:CAKAN+9DH7xLCG+ev=BXGHDx6dpUjsU1mMXERRC3qw5rHs28FUA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Switch pulseaudio profile:<br>
          <br>
        </div>
        <blockquote style="margin:0px 0px 0px
          40px;border:none;padding:0px">
          <div><b>$ pacmd set-card-profile 1 a2dp_sink</b></div>
          <div>Failed to set card profile to 'a2dp_sink'.</div>
        </blockquote>
        <div><br>
          Started pulseaudio in foreground and the interesting logs are
          here:<br>
        </div>
        <blockquote style="margin:0px 0px 0px
          40px;border:none;padding:0px">
          <div><b>$ pulseaudio -k && pulseaudio -vvvvv</b></div>
          <div>... (lots of logs)...</div>
          <div>... (above set-card-profile command executed) ...</div>
          <div>I: [pulseaudio] client.c: Created 6 "UNIX socket client"</div>
          <div>W: [pulseaudio] module-bluez5-device.c: Refused to switch
            profile to a2dp_sink: Not connected</div>
          <div>D: [pulseaudio] cli.c: CLI got EOF from user.</div>
          <div>I: [pulseaudio] client.c: Freed 6 "UNIX socket client"</div>
        </blockquote>
        <div><br>
          <br>
        </div>
        <blockquote style="margin:0px 0px 0px
          40px;border:none;padding:0px">
          <div><b>$ pacmd ls</b></div>
          <div>    index: 1</div>
          <div>        name: <bluez_card.00_0C_8A_EA_B3_96></div>
          <div>        driver: <module-bluez5-device.c></div>
          <div>        owner module: 27</div>
          <div>        properties:</div>
          <div>                device.description = "Bose OE SoundLink"</div>
          <div>                device.string = "00:0C:8A:EA:B3:96"</div>
          <div>                device.api = "bluez"</div>
          <div>                device.class = "sound"</div>
          <div>                device.bus = "bluetooth"</div>
          <div>                device.form_factor = "headphone"</div>
          <div>                bluez.path =
            "/org/bluez/hci0/dev_00_0C_8A_EA_B3_96"</div>
          <div>                bluez.class = "0x240418"</div>
          <div>                bluez.alias = "Bose OE SoundLink"</div>
          <div>                device.icon_name =
            "audio-headphones-bluetooth"</div>
          <div>        profiles:</div>
          <div>                headset_head_unit: Headset Head Unit
            (HSP/HFP) (priority 20, available: unknown)</div>
          <div>                a2dp_sink: High Fidelity Playback (A2DP
            Sink) (priority 10, available: no)</div>
          <div>                off: Off (priority 0, available: yes)</div>
          <div>        active profile: <headset_head_unit></div>
          <div><br>
          </div>
        </blockquote>
        <div>Uploaded full logs of pacmd ls and pulseaudio -vvvv: <a
            moz-do-not-send="true"
            href="https://gist.github.com/saamalik/7fd15b9826cbede2665c">https://gist.github.com/saamalik/7fd15b9826cbede2665c</a></div>
        <div><br>
        </div>
        <div>Anyone have any ideas why A2DP stopped working after
          PulseAudio 6.0 upgrade?</div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div>Saad</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
pulseaudio-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pulseaudio-discuss@lists.freedesktop.org">pulseaudio-discuss@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss">http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>