Skip to main content
10 events
when toggle format what by license comment
Jun 23, 2024 at 13:09 comment added K. Frank your busctl examples don't appear to work. Not even for org.bluez (empty response). And the dbus-send ones work for org.bluez but not for e.g. org.freedesktop.Secret.Service which only returns "Error org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable"
May 12, 2022 at 14:05 comment added Luis The interfaces available are: org.freedesktop.DBus.Properties, org.freedesktop.DBus.Introspectable and org.bluealsa.Manager1 and none of these seems to me useful at getting the object paths.
May 12, 2022 at 14:04 comment added Luis Thank you for your help, but it is not bluez the problem. I can manage bluez. It is bluealsa that I cannot investigate (github.com/Arkq/bluez-alsa). The latter is the bridge services between the bluetooth stack and alsa. Bluealsa does not have a ObjectManager interface, so I cannot call the GetManagedObjects method.
May 12, 2022 at 12:23 comment added Vojtech Trefny I've update my answer with dbus-send command working with bluez. Something more advanced for parsing the output than grep | grep | cut would be probably better but I was never good with awk and/or sed.
May 12, 2022 at 12:21 history edited Vojtech Trefny CC BY-SA 4.0
added 756 characters in body
May 12, 2022 at 9:09 comment added Luis I can do something like this for bluez: dbus-send --system --dest=org.bluez --type=method_call --print-reply / org.freedesktop.DBus.ObjectManager.GetManagedObjects but unfortunately doesn't work for bluealsa (the service I need to get object paths from) because the interface is missing
May 12, 2022 at 8:59 comment added Luis The other command that you suggested gives the following result: Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UDisks2 was not provided by any .service files
May 12, 2022 at 8:58 comment added Luis Unfortunately busctl is not an option
May 12, 2022 at 8:05 history edited Vojtech Trefny CC BY-SA 4.0
added 266 characters in body
May 12, 2022 at 7:59 history answered Vojtech Trefny CC BY-SA 4.0