Thread (17 messages) 17 messages, 3 authors, 2013-05-27
STALE4811d

[PATCH BlueZ v0 0/4] AVRCP connection-tracking issues

From: Mikel Astiz <hidden>
Date: 2013-05-23 09:28:25

From: Mikel Astiz <redacted>

This patchset addresses the issues reported by Alex Deymo in the thread "audio: Connect doesn't return when audio device is off". Extracted from his message:

"There are two ways to hit this problem:
* One is to attempt a connection when the device is off,
* the other one is to attempt a connection from the host right after
you short press the button with the bluetooth logo on the speakers.
This button normally reconnects the speakers to the host, but if you
attempt a connection while the device is also doing that, you end up
in the same situation."

I have been able to reproduce the first issue, which should be fixed with patch 1/4. The second issue is addressed in patch 3/4 but I couldn't actually test it.

Patch 4/4 tries to improve the AVRCP role heuristic, which could alone fix Alex's issues, but I think the core cannot rely on this heuristic nevertheless.

Mikel Astiz (4):
  avrcp: Fix missing reply to profile connect
  control: Remove unused parameter
  avrcp: Fix service connections not reported to core
  avrcp: Don't require active sink in role heuristic

 profiles/audio/avrcp.c   | 17 ++++-------------
 profiles/audio/control.c | 37 +++++++++++++++++++++++++++----------
 profiles/audio/control.h |  7 +++----
 3 files changed, 34 insertions(+), 27 deletions(-)

-- 
1.8.1.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help