public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ 0/1] policy: fix HSP/HFP reconnection
@ 2025-04-01  2:02 Yao Wei (魏銘廷)
  2025-04-01  2:02 ` [PATCH BlueZ 1/1] " Yao Wei (魏銘廷)
  2025-04-09 14:40 ` [PATCH BlueZ 0/1] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 4+ messages in thread
From: Yao Wei (魏銘廷) @ 2025-04-01  2:02 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Yao Wei (魏銘廷)

This patch was regarding to https://github.com/bluez/bluez/issues/1069.

The previous patch did not fix the issue, as I was testing it with Apple
AirPods Pro 2 and it automatically reconnects HSP/HFP after A2DP is
connected for about 25 seconds, and I assume the patch worked for me.
Some other devices I tested did not exhibit such behavior (Jabra Speak2
55 UC).  This patch was tested against both these devices, and both
cases with NVIDIA GPU enabled and disabled.

By removing the code checking whether A2DP service is initiator for
directly starting HSP/HFP service, it will now only check whether
HSP/HFP is connected, and start the service if not.

The previous patch also has an oversight of not falling back to get HSP
service if HFP is not available.  This patch fixed the issue.

Yao Wei (魏銘廷) (1):
  policy: fix HSP/HFP reconnection

 plugins/policy.c | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

-- 
2.49.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-04-09 14:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-01  2:02 [PATCH BlueZ 0/1] policy: fix HSP/HFP reconnection Yao Wei (魏銘廷)
2025-04-01  2:02 ` [PATCH BlueZ 1/1] " Yao Wei (魏銘廷)
2025-04-01  3:55   ` bluez.test.bot
2025-04-09 14:40 ` [PATCH BlueZ 0/1] " patchwork-bot+bluetooth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox