canonical / firmware-updater

An experimental firmware updater UI based on fwupd
GNU General Public License v3.0
107 stars 15 forks source link

Firmware updater doesn't respond to device hotplug #281

Open superm1 opened 3 months ago

superm1 commented 3 months ago

I have a dock that I sometimes connect to my laptop. If I connect the dock while firmware updater is running, it doesn't show the devices.
image

If I restart firmware updater then they show up. image

Running dbus-monitor --system I can see that fwupd has advertised the events, just firmware-updater didn't pick them up.

signal time=1713237231.217428 sender=:1.122 -> destination=(null destination) serial=3774 path=/; interface=org.freedesktop.fwupd; member=DeviceAdded
   array [
      dict entry(
         string "DeviceId"
         variant             string "ef4b9cf8ef5780f8c17a2938a405a88984c0bdb4"
      )
      dict entry(
         string "Guid"
         variant             array [
               string "9d131a0c-a606-580f-8eda-80587250b8d6"
               string "279ed287-3607-549e-bacc-f873bb9838c4"
            ]
      )
      dict entry(
         string "Icon"
         variant             array [
               string "usb-receiver"
            ]
      )
      dict entry(
         string "Name"
         variant             string "Unifying Receiver"
      )
      dict entry(
         string "Vendor"
         variant             string "Logitech, Inc."
      )
      dict entry(
         string "VendorId"
         variant             string "HIDRAW:0x046D|USB:0x046D"
      )
      dict entry(
         string "Flags"
         variant             uint64 281474976710818
      )
      dict entry(
         string "Created"
         variant             uint64 1713237231
      )
      dict entry(
         string "Summary"
         variant             string "Miniaturised USB wireless receiver"
      )
      dict entry(
         string "Plugin"
         variant             string "logitech_hidpp"
      )
      dict entry(
         string "Protocol"
         variant             string "com.logitech.unifying"
      )
      dict entry(
         string "Version"
         variant             string "RQR12.10_B0032"
      )
      dict entry(
         string "VersionBootloader"
         variant             string "BOT01.02_B0014"
      )
      dict entry(
         string "InstallDuration"
         variant             uint32 30
      )
      dict entry(
         string "VersionFormat"
         variant             uint32 1
      )
   ]
signal time=1713237231.217723 sender=:1.122 -> destination=(null destination) serial=3775 path=/; interface=org.freedesktop.fwupd; member=Changed