Comment 8 for bug 1923323

Revision history for this message
John Saare (lakester) wrote :

Not sure if this is "normal" behavior, but

#dbus-monitor --system "path=/org/bluez/hci0"

returns some interesting output. When BT is shut-off using the Gnome Settings, an event stream is generated that appears to turn it off..., but at the end, seems to tell something, somewhere that it is on.

Pasting from the relevant parts of the output:

signal time=1618356308.901616 sender=:1.548 -> destination=(null destination) serial=237 path=/org/bluez/hci0; interface=org.freedesktop.DBus.Properties; member=PropertiesChanged
   string "org.bluez.Adapter1"
   array [
      dict entry(
         string "Class"
         variant uint32 0
      )
      dict entry(
         string "Powered"
         variant boolean false
      )
      dict entry(
         string "Discovering"
         variant boolean false
      )
   ]
   array [
   ]

BUT THEN AT THE END OF THE EVENT STREAM...

ethod call time=1618356308.915545 sender=:1.545 -> destination=:1.548 serial=148 path=/org/bluez/hci0; interface=org.freedesktop.DBus.Properties; member=Set
   string "org.bluez.Adapter1"
   string "Discoverable"
   variant boolean true
method call time=1618356308.916566 sender=:1.545 -> destination=:1.548 serial=149 path=/org/bluez/hci0; interface=org.freedesktop.DBus.Properties; member=Set
   string "org.bluez.Adapter1"
   string "DiscoverableTimeout"
   variant uint32 0
method call time=1618356308.916586 sender=:1.545 -> destination=:1.548 serial=150 path=/org/bluez/hci0; interface=org.bluez.Adapter1; member=StartDiscovery
method call time=1618356308.916591 sender=:1.155 -> destination=:1.548 serial=881 path=/org/bluez/hci0; interface=org.freedesktop.DBus.Properties; member=Set
   string "org.bluez.Adapter1"
   string "Powered"
   variant boolean true
method call time=1618356308.916599 sender=:1.40 -> destination=:1.548 serial=509 path=/org/bluez/hci0; interface=org.freedesktop.DBus.Properties; member=Set
   string "org.bluez.Adapter1"
   string "Powered"
   variant boolean true