* [bluez/bluez] e178b5: obexd: Pass at_(un)register value to logind callbacks
@ 2025-06-11 13:20 github-actions[bot]
0 siblings, 0 replies; only message in thread
From: github-actions[bot] @ 2025-06-11 13:20 UTC (permalink / raw)
To: linux-bluetooth
Branch: refs/heads/970848
Home: https://github.com/bluez/bluez
Commit: e178b5cd7471c69ef34604355bb66adca26ab088
https://github.com/bluez/bluez/commit/e178b5cd7471c69ef34604355bb66adca26ab088
Author: Andrew Sayers <kernel.org@pileofstuff.org>
Date: 2025-06-11 (Wed, 11 Jun 2025)
Changed paths:
M obexd/client/pbap.c
M obexd/plugins/bluetooth.c
M obexd/src/logind.c
M obexd/src/logind.h
Log Message:
-----------
obexd: Pass at_(un)register value to logind callbacks
Logind (un)registers callbacks that it calls when the user's state changes.
Callbacks may also be called during (un)registration.
Clients may need to handle those initial/final calls specially.
Pass an argument indicating whether this is being called during
(un)registration, and modify existing callbacks to ignore that argument.
Signed-off-by: Andrew Sayers <kernel.org@pileofstuff.org>
Commit: b5815edd2703eb54edd0916fd44af8865255ad12
https://github.com/bluez/bluez/commit/b5815edd2703eb54edd0916fd44af8865255ad12
Author: Andrew Sayers <kernel.org@pileofstuff.org>
Date: 2025-06-11 (Wed, 11 Jun 2025)
Changed paths:
M obexd/client/pbap.c
Log Message:
-----------
pbap: use the public DBus connection
PBAP must not use its own private DBus connection, as it needs to
receive messages sent to the bus name of the public connection.
PBAP must not unregister itself when the program is exiting, as it might
cause a long delay. Unregistering at exit is redundant anyway, as the
service will be implicitly unregistered when the connection is closed.
But PBAP must unregister itself when the user becomes inactive mid-session,
so systems with multiple users logged in at once can share bluetooth.
Use the public DBus connection instead of a private one,
and explicitly unregister the profile if appropriate.
Thanks Pauli Virtanen for pointing out the exit issue:
https://lore.kernel.org/linux-bluetooth/ae15a9fa4bf0bd509dd3d44f1f364e241e50956c.camel@iki.fi/
Reported-by: Frédéric Danis <frederic.danis@collabora.com>
Closes: https://lore.kernel.org/linux-bluetooth/333ad76e-0aba-4f93-b141-8e69fb47535f@collabora.com/
Suggested-by: Pauli Virtanen <pav@iki.fi>
Signed-off-by: Andrew Sayers <kernel.org@pileofstuff.org>
Commit: 2235733264a4196f07882aa5398410bf169d4dc8
https://github.com/bluez/bluez/commit/2235733264a4196f07882aa5398410bf169d4dc8
Author: Andrew Sayers <kernel.org@pileofstuff.org>
Date: 2025-06-11 (Wed, 11 Jun 2025)
Changed paths:
M obexd/src/main.c
M obexd/src/obexd.h
Log Message:
-----------
Revert "obexd: Support creating private system/session bus connections"
This reverts commit 237d818ef294e22be87fba69b3cdd79c75c201e7,
which encouraged the use of private DBus connections.
Doing so caused a bug, so it's better to remove the temptation for now
and re-add it if a legitimate use case is ever found.
Signed-off-by: Andrew Sayers <kernel.org@pileofstuff.org>
Compare: https://github.com/bluez/bluez/compare/e178b5cd7471%5E...2235733264a4
To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-06-11 13:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-11 13:20 [bluez/bluez] e178b5: obexd: Pass at_(un)register value to logind callbacks github-actions[bot]
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.