[pulseaudio-tickets] [Bug 87284] Cannot switch bluetooth headset to HSP/HPF profile .

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 15 04:59:46 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=87284

Tanu Kaskinen <tanuk at iki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |luiz.dentz at gmail.com

--- Comment #1 from Tanu Kaskinen <tanuk at iki.fi> ---
The error message comes from bluez5_sco_acquire_cb(). The function first
creates a socket:

    sock = socket(PF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_SCO);

Then it associates the local bluetooth adapter's address with the socket:

    bind(sock, (struct sockaddr *) &addr, sizeof(addr))

These steps succeed, but when the socket is connected to the remote device,
that fails.

    err = connect(sock, (struct sockaddr *) &addr, sizeof(addr));

I don't know how to interpret the "Unsupported protocol" error. Does that mean
that the kernel thinks that this particular device doesn't support the SCO
protocol? How could that happen? Hints from the BlueZ developers would be
welcome (I'll try to get Luiz to comment).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20141215/ddac6cb7/attachment.html>


More information about the pulseaudio-bugs mailing list