Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error handling #53

Open
jpnurmi opened this issue Sep 16, 2022 · 4 comments
Open

Error handling #53

jpnurmi opened this issue Sep 16, 2022 · 4 comments
Labels
design Needs feedback from the design team

Comments

@jpnurmi
Copy link
Contributor

jpnurmi commented Sep 16, 2022

We need a nice way to present errors to the user when something goes wrong.

Here's the full list of fwupd error codes for reference:

 * @FWUPD_ERROR_INTERNAL:			Internal error
 * @FWUPD_ERROR_VERSION_NEWER:			Installed newer firmware version
 * @FWUPD_ERROR_VERSION_SAME:			Installed same firmware version
 * @FWUPD_ERROR_ALREADY_PENDING:		Already set to be installed offline
 * @FWUPD_ERROR_AUTH_FAILED:			Failed to get authentication
 * @FWUPD_ERROR_READ:				Failed to read from device
 * @FWUPD_ERROR_WRITE:				Failed to write to the device
 * @FWUPD_ERROR_INVALID_FILE:			Invalid file format
 * @FWUPD_ERROR_NOT_FOUND:			No matching device exists
 * @FWUPD_ERROR_NOTHING_TO_DO:			Nothing to do
 * @FWUPD_ERROR_NOT_SUPPORTED:			Action was not possible
 * @FWUPD_ERROR_SIGNATURE_INVALID:		Signature was invalid
 * @FWUPD_ERROR_AC_POWER_REQUIRED:		AC power was required
 * @FWUPD_ERROR_PERMISSION_DENIED:		Permission was denied
 * @FWUPD_ERROR_BROKEN_SYSTEM:			User has configured their system in a broken way
 * @FWUPD_ERROR_BATTERY_LEVEL_TOO_LOW:		The system battery level is too low
 * @FWUPD_ERROR_NEEDS_USER_ACTION:		User needs to do an action to complete the update
 * @FWUPD_ERROR_AUTH_EXPIRED:			Failed to get auth as credentials have expired

https://github.com/fwupd/fwupd/blob/main/libfwupd/fwupd-error.h

@jpnurmi jpnurmi added the design Needs feedback from the design team label Sep 16, 2022
@jpnurmi
Copy link
Contributor Author

jpnurmi commented Sep 29, 2022

I have a game controller that refuses to upgrade unless it's in a special FW update mode:

dbus-monitor
signal time=1664460478.014297 sender=org.freedesktop.DBus -> destination=:1.929 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.929"
signal time=1664460478.014318 sender=org.freedesktop.DBus -> destination=:1.929 serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
   string ":1.929"
method call time=1664460490.211520 sender=:1.887 -> destination=:1.111 serial=24 path=/; interface=org.freedesktop.fwupd; member=GetRemotes
method call time=1664460492.354552 sender=:1.887 -> destination=org.freedesktop.fwupd serial=25 path=/; interface=org.freedesktop.fwupd; member=Install
   string "3fa281ddf80d8a06b8ee5d8beb48d38ee95a9627"
   file descriptor
   array [
      dict entry(
         string "reason"
         variant             string "user-action"
      )
      dict entry(
         string "allow-older"
         variant             boolean true
      )
      dict entry(
         string "allow-branch-switch"
         variant             boolean true
      )
   ]
signal time=1664460492.369965 sender=:1.111 -> destination=(null destination) serial=6458 path=/; interface=org.freedesktop.fwupd; member=DeviceChanged
   array [
      dict entry(
         string "DeviceId"
         variant             string "3fa281ddf80d8a06b8ee5d8beb48d38ee95a9627"
      )
      dict entry(
         string "Guid"
         variant             array [
               string "043c7673-bd45-5e2e-b8b9-c22df2dfec2a"
               string "b02f1319-c1c4-54f4-b7f2-5bb3552f6a9e"
               string "1bf5ac96-99ce-54f2-abf4-7eabe6802533"
               string "81becceb-f87b-5c66-b30a-b0958043d65d"
            ]
      )
      dict entry(
         string "Icon"
         variant             array [
               string "input-gaming"
            ]
      )
      dict entry(
         string "Name"
         variant             string "SN30 Pro"
      )
      dict entry(
         string "Vendor"
         variant             string "8BitDo"
      )
      dict entry(
         string "VendorId"
         variant             string "USB:0x2DC8"
      )
      dict entry(
         string "Flags"
         variant             uint64 34376515746
      )
      dict entry(
         string "Created"
         variant             uint64 1664460446
      )
      dict entry(
         string "Summary"
         variant             string "A redesigned classic game controller"
      )
      dict entry(
         string "Plugin"
         variant             string "ebitdo"
      )
      dict entry(
         string "Protocol"
         variant             string "com.8bitdo"
      )
      dict entry(
         string "Version"
         variant             string "1.30"
      )
      dict entry(
         string "VersionRaw"
         variant             uint64 130
      )
      dict entry(
         string "InstallDuration"
         variant             uint32 120
      )
      dict entry(
         string "UpdateMessage"
         variant             string "Unplug the controller, hold down L1 + R1 + START until the red LED on top of the controller is flashing and then reconnect the controller."
      )
      dict entry(
         string "VersionFormat"
         variant             uint32 3
      )
   ]
signal time=1664460492.370038 sender=:1.111 -> destination=(null destination) serial=6459 path=/; interface=org.freedesktop.fwupd; member=DeviceChanged
   array [
      dict entry(
         string "DeviceId"
         variant             string "3fa281ddf80d8a06b8ee5d8beb48d38ee95a9627"
      )
      dict entry(
         string "Guid"
         variant             array [
               string "043c7673-bd45-5e2e-b8b9-c22df2dfec2a"
               string "b02f1319-c1c4-54f4-b7f2-5bb3552f6a9e"
               string "1bf5ac96-99ce-54f2-abf4-7eabe6802533"
               string "81becceb-f87b-5c66-b30a-b0958043d65d"
            ]
      )
      dict entry(
         string "Icon"
         variant             array [
               string "input-gaming"
            ]
      )
      dict entry(
         string "Name"
         variant             string "SN30 Pro"
      )
      dict entry(
         string "Vendor"
         variant             string "8BitDo"
      )
      dict entry(
         string "VendorId"
         variant             string "USB:0x2DC8"
      )
      dict entry(
         string "Flags"
         variant             uint64 34376515746
      )
      dict entry(
         string "Created"
         variant             uint64 1664460446
      )
      dict entry(
         string "Summary"
         variant             string "A redesigned classic game controller"
      )
      dict entry(
         string "Plugin"
         variant             string "ebitdo"
      )
      dict entry(
         string "Protocol"
         variant             string "com.8bitdo"
      )
      dict entry(
         string "Version"
         variant             string "1.30"
      )
      dict entry(
         string "VersionRaw"
         variant             uint64 130
      )
      dict entry(
         string "InstallDuration"
         variant             uint32 120
      )
      dict entry(
         string "UpdateMessage"
         variant             string "Unplug the controller, hold down L1 + R1 + START until the red LED on top of the controller is flashing and then reconnect the controller."
      )
      dict entry(
         string "UpdateImage"
         variant             string "https://github.com/fwupd/8bitdo-firmware/raw/master/screenshots/sn30-pro.png"
      )
      dict entry(
         string "VersionFormat"
         variant             uint32 3
      )
   ]
signal time=1664460492.373322 sender=:1.111 -> destination=(null destination) serial=6461 path=/; interface=org.freedesktop.fwupd; member=DeviceChanged
   array [
      dict entry(
         string "DeviceId"
         variant             string "3fa281ddf80d8a06b8ee5d8beb48d38ee95a9627"
      )
      dict entry(
         string "Guid"
         variant             array [
               string "043c7673-bd45-5e2e-b8b9-c22df2dfec2a"
               string "b02f1319-c1c4-54f4-b7f2-5bb3552f6a9e"
               string "1bf5ac96-99ce-54f2-abf4-7eabe6802533"
               string "81becceb-f87b-5c66-b30a-b0958043d65d"
            ]
      )
      dict entry(
         string "Icon"
         variant             array [
               string "input-gaming"
            ]
      )
      dict entry(
         string "Name"
         variant             string "SN30 Pro"
      )
      dict entry(
         string "Vendor"
         variant             string "8BitDo"
      )
      dict entry(
         string "VendorId"
         variant             string "USB:0x2DC8"
      )
      dict entry(
         string "Flags"
         variant             uint64 34376532130
      )
      dict entry(
         string "Created"
         variant             uint64 1664460446
      )
      dict entry(
         string "Modified"
         variant             uint64 1664460492
      )
      dict entry(
         string "Summary"
         variant             string "A redesigned classic game controller"
      )
      dict entry(
         string "Plugin"
         variant             string "ebitdo"
      )
      dict entry(
         string "Protocol"
         variant             string "com.8bitdo"
      )
      dict entry(
         string "Version"
         variant             string "1.30"
      )
      dict entry(
         string "VersionRaw"
         variant             uint64 130
      )
      dict entry(
         string "InstallDuration"
         variant             uint32 120
      )
      dict entry(
         string "UpdateMessage"
         variant             string "Unplug the controller, hold down L1 + R1 + START until the red LED on top of the controller is flashing and then reconnect the controller."
      )
      dict entry(
         string "UpdateImage"
         variant             string "https://github.com/fwupd/8bitdo-firmware/raw/master/screenshots/sn30-pro.png"
      )
      dict entry(
         string "VersionFormat"
         variant             uint32 3
      )
   ]
signal time=1664460492.373382 sender=:1.111 -> destination=(null destination) serial=6462 path=/; interface=org.freedesktop.fwupd; member=DeviceRequest
   array [
      dict entry(
         string "AppstreamId"
         variant             string "org.freedesktop.fwupd.request.remove-replug"
      )
      dict entry(
         string "Created"
         variant             uint64 1664460492
      )
      dict entry(
         string "Plugin"
         variant             string "3fa281ddf80d8a06b8ee5d8beb48d38ee95a9627"
      )
      dict entry(
         string "UpdateMessage"
         variant             string "Unplug the controller, hold down L1 + R1 + START until the red LED on top of the controller is flashing and then reconnect the controller."
      )
      dict entry(
         string "UpdateImage"
         variant             string "https://github.com/fwupd/8bitdo-firmware/raw/master/screenshots/sn30-pro.png"
      )
      dict entry(
         string "RequestKind"
         variant             uint32 2
      )
   ]
signal time=1664460492.373481 sender=:1.111 -> destination=(null destination) serial=6463 path=/; interface=org.freedesktop.fwupd; member=DeviceChanged
   array [
      dict entry(
         string "DeviceId"
         variant             string "3fa281ddf80d8a06b8ee5d8beb48d38ee95a9627"
      )
      dict entry(
         string "Guid"
         variant             array [
               string "043c7673-bd45-5e2e-b8b9-c22df2dfec2a"
               string "b02f1319-c1c4-54f4-b7f2-5bb3552f6a9e"
               string "1bf5ac96-99ce-54f2-abf4-7eabe6802533"
               string "81becceb-f87b-5c66-b30a-b0958043d65d"
            ]
      )
      dict entry(
         string "Icon"
         variant             array [
               string "input-gaming"
            ]
      )
      dict entry(
         string "Name"
         variant             string "SN30 Pro"
      )
      dict entry(
         string "Vendor"
         variant             string "8BitDo"
      )
      dict entry(
         string "VendorId"
         variant             string "USB:0x2DC8"
      )
      dict entry(
         string "Flags"
         variant             uint64 34376515746
      )
      dict entry(
         string "Created"
         variant             uint64 1664460446
      )
      dict entry(
         string "Modified"
         variant             uint64 1664460492
      )
      dict entry(
         string "Summary"
         variant             string "A redesigned classic game controller"
      )
      dict entry(
         string "Plugin"
         variant             string "ebitdo"
      )
      dict entry(
         string "Protocol"
         variant             string "com.8bitdo"
      )
      dict entry(
         string "Version"
         variant             string "1.30"
      )
      dict entry(
         string "VersionRaw"
         variant             uint64 130
      )
      dict entry(
         string "InstallDuration"
         variant             uint32 120
      )
      dict entry(
         string "UpdateMessage"
         variant             string "Unplug the controller, hold down L1 + R1 + START until the red LED on top of the controller is flashing and then reconnect the controller."
      )
      dict entry(
         string "UpdateImage"
         variant             string "https://github.com/fwupd/8bitdo-firmware/raw/master/screenshots/sn30-pro.png"
      )
      dict entry(
         string "VersionFormat"
         variant             uint32 3
      )
   ]
signal time=1664460492.374900 sender=:1.111 -> destination=(null destination) serial=6464 path=/; interface=org.freedesktop.fwupd; member=DeviceChanged
   array [
      dict entry(
         string "DeviceId"
         variant             string "3fa281ddf80d8a06b8ee5d8beb48d38ee95a9627"
      )
      dict entry(
         string "Guid"
         variant             array [
               string "043c7673-bd45-5e2e-b8b9-c22df2dfec2a"
               string "b02f1319-c1c4-54f4-b7f2-5bb3552f6a9e"
               string "1bf5ac96-99ce-54f2-abf4-7eabe6802533"
               string "81becceb-f87b-5c66-b30a-b0958043d65d"
            ]
      )
      dict entry(
         string "Icon"
         variant             array [
               string "input-gaming"
            ]
      )
      dict entry(
         string "Name"
         variant             string "SN30 Pro"
      )
      dict entry(
         string "Vendor"
         variant             string "8BitDo"
      )
      dict entry(
         string "VendorId"
         variant             string "USB:0x2DC8"
      )
      dict entry(
         string "Flags"
         variant             uint64 34376515746
      )
      dict entry(
         string "Created"
         variant             uint64 1664460446
      )
      dict entry(
         string "Modified"
         variant             uint64 1664460492
      )
      dict entry(
         string "Summary"
         variant             string "A redesigned classic game controller"
      )
      dict entry(
         string "Plugin"
         variant             string "ebitdo"
      )
      dict entry(
         string "Protocol"
         variant             string "com.8bitdo"
      )
      dict entry(
         string "Version"
         variant             string "1.30"
      )
      dict entry(
         string "VersionRaw"
         variant             uint64 130
      )
      dict entry(
         string "InstallDuration"
         variant             uint32 120
      )
      dict entry(
         string "UpdateMessage"
         variant             string "Unplug the controller, hold down L1 + R1 + START until the red LED on top of the controller is flashing and then reconnect the controller."
      )
      dict entry(
         string "UpdateImage"
         variant             string "https://github.com/fwupd/8bitdo-firmware/raw/master/screenshots/sn30-pro.png"
      )
      dict entry(
         string "UpdateState"
         variant             uint32 5
      )
      dict entry(
         string "VersionFormat"
         variant             uint32 3
      )
   ]
signal time=1664460492.376228 sender=:1.111 -> destination=(null destination) serial=6465 path=/; interface=org.freedesktop.fwupd; member=DeviceChanged
   array [
      dict entry(
         string "DeviceId"
         variant             string "3fa281ddf80d8a06b8ee5d8beb48d38ee95a9627"
      )
      dict entry(
         string "Guid"
         variant             array [
               string "043c7673-bd45-5e2e-b8b9-c22df2dfec2a"
               string "b02f1319-c1c4-54f4-b7f2-5bb3552f6a9e"
               string "1bf5ac96-99ce-54f2-abf4-7eabe6802533"
               string "81becceb-f87b-5c66-b30a-b0958043d65d"
            ]
      )
      dict entry(
         string "Icon"
         variant             array [
               string "input-gaming"
            ]
      )
      dict entry(
         string "Name"
         variant             string "SN30 Pro"
      )
      dict entry(
         string "Vendor"
         variant             string "8BitDo"
      )
      dict entry(
         string "VendorId"
         variant             string "USB:0x2DC8"
      )
      dict entry(
         string "Flags"
         variant             uint64 34376515746
      )
      dict entry(
         string "Created"
         variant             uint64 1664460446
      )
      dict entry(
         string "Modified"
         variant             uint64 1664460492
      )
      dict entry(
         string "Summary"
         variant             string "A redesigned classic game controller"
      )
      dict entry(
         string "Plugin"
         variant             string "ebitdo"
      )
      dict entry(
         string "Protocol"
         variant             string "com.8bitdo"
      )
      dict entry(
         string "Version"
         variant             string "1.30"
      )
      dict entry(
         string "VersionRaw"
         variant             uint64 130
      )
      dict entry(
         string "InstallDuration"
         variant             uint32 120
      )
      dict entry(
         string "UpdateError"
         variant             string "Unplug the controller, hold down L1 + R1 + START until the red LED on top of the controller is flashing and then reconnect the controller."
      )
      dict entry(
         string "UpdateMessage"
         variant             string "Unplug the controller, hold down L1 + R1 + START until the red LED on top of the controller is flashing and then reconnect the controller."
      )
      dict entry(
         string "UpdateImage"
         variant             string "https://github.com/fwupd/8bitdo-firmware/raw/master/screenshots/sn30-pro.png"
      )
      dict entry(
         string "UpdateState"
         variant             uint32 5
      )
      dict entry(
         string "VersionFormat"
         variant             uint32 3
      )
   ]
signal time=1664460513.868998 sender=:1.111 -> destination=(null destination) serial=6467 path=/; interface=org.freedesktop.fwupd; member=DeviceChanged
   array [
      dict entry(
         string "DeviceId"
         variant             string "3fa281ddf80d8a06b8ee5d8beb48d38ee95a9627"
      )
      dict entry(
         string "Guid"
         variant             array [
               string "043c7673-bd45-5e2e-b8b9-c22df2dfec2a"
               string "b02f1319-c1c4-54f4-b7f2-5bb3552f6a9e"
               string "1bf5ac96-99ce-54f2-abf4-7eabe6802533"
               string "81becceb-f87b-5c66-b30a-b0958043d65d"
            ]
      )
      dict entry(
         string "Icon"
         variant             array [
               string "input-gaming"
            ]
      )
      dict entry(
         string "Name"
         variant             string "SN30 Pro"
      )
      dict entry(
         string "Vendor"
         variant             string "8BitDo"
      )
      dict entry(
         string "VendorId"
         variant             string "USB:0x2DC8"
      )
      dict entry(
         string "Flags"
         variant             uint64 34376515744
      )
      dict entry(
         string "Created"
         variant             uint64 1664460446
      )
      dict entry(
         string "Modified"
         variant             uint64 1664460492
      )
      dict entry(
         string "Summary"
         variant             string "A redesigned classic game controller"
      )
      dict entry(
         string "Plugin"
         variant             string "ebitdo"
      )
      dict entry(
         string "Protocol"
         variant             string "com.8bitdo"
      )
      dict entry(
         string "Version"
         variant             string "1.30"
      )
      dict entry(
         string "VersionRaw"
         variant             uint64 130
      )
      dict entry(
         string "InstallDuration"
         variant             uint32 120
      )
      dict entry(
         string "UpdateError"
         variant             string "Unplug the controller, hold down L1 + R1 + START until the red LED on top of the controller is flashing and then reconnect the controller."
      )
      dict entry(
         string "UpdateMessage"
         variant             string "Unplug the controller, hold down L1 + R1 + START until the red LED on top of the controller is flashing and then reconnect the controller."
      )
      dict entry(
         string "UpdateImage"
         variant             string "https://github.com/fwupd/8bitdo-firmware/raw/master/screenshots/sn30-pro.png"
      )
      dict entry(
         string "UpdateState"
         variant             uint32 5
      )
      dict entry(
         string "VersionFormat"
         variant             uint32 3
      )
   ]
signal time=1664460513.869060 sender=:1.111 -> destination=(null destination) serial=6468 path=/; interface=org.freedesktop.fwupd; member=DeviceChanged
   array [
      dict entry(
         string "DeviceId"
         variant             string "3fa281ddf80d8a06b8ee5d8beb48d38ee95a9627"
      )
      dict entry(
         string "Guid"
         variant             array [
               string "043c7673-bd45-5e2e-b8b9-c22df2dfec2a"
               string "b02f1319-c1c4-54f4-b7f2-5bb3552f6a9e"
               string "1bf5ac96-99ce-54f2-abf4-7eabe6802533"
               string "81becceb-f87b-5c66-b30a-b0958043d65d"
            ]
      )
      dict entry(
         string "Icon"
         variant             array [
               string "input-gaming"
            ]
      )
      dict entry(
         string "Name"
         variant             string "SN30 Pro"
      )
      dict entry(
         string "Vendor"
         variant             string "8BitDo"
      )
      dict entry(
         string "VendorId"
         variant             string "USB:0x2DC8"
      )
      dict entry(
         string "Flags"
         variant             uint64 171815469216
      )
      dict entry(
         string "Created"
         variant             uint64 1664460446
      )
      dict entry(
         string "Modified"
         variant             uint64 1664460492
      )
      dict entry(
         string "Summary"
         variant             string "A redesigned classic game controller"
      )
      dict entry(
         string "Plugin"
         variant             string "ebitdo"
      )
      dict entry(
         string "Protocol"
         variant             string "com.8bitdo"
      )
      dict entry(
         string "Version"
         variant             string "1.30"
      )
      dict entry(
         string "VersionRaw"
         variant             uint64 130
      )
      dict entry(
         string "InstallDuration"
         variant             uint32 120
      )
      dict entry(
         string "UpdateError"
         variant             string "Unplug the controller, hold down L1 + R1 + START until the red LED on top of the controller is flashing and then reconnect the controller."
      )
      dict entry(
         string "UpdateMessage"
         variant             string "Unplug the controller, hold down L1 + R1 + START until the red LED on top of the controller is flashing and then reconnect the controller."
      )
      dict entry(
         string "UpdateImage"
         variant             string "https://github.com/fwupd/8bitdo-firmware/raw/master/screenshots/sn30-pro.png"
      )
      dict entry(
         string "UpdateState"
         variant             uint32 5
      )
      dict entry(
         string "VersionFormat"
         variant             uint32 3
      )
   ]
signal time=1664460513.876002 sender=:1.111 -> destination=(null destination) serial=6469 path=/; interface=org.freedesktop.fwupd; member=DeviceChanged
   array [
      dict entry(
         string "DeviceId"
         variant             string "3fa281ddf80d8a06b8ee5d8beb48d38ee95a9627"
      )
      dict entry(
         string "Guid"
         variant             array [
               string "043c7673-bd45-5e2e-b8b9-c22df2dfec2a"
               string "b02f1319-c1c4-54f4-b7f2-5bb3552f6a9e"
               string "1bf5ac96-99ce-54f2-abf4-7eabe6802533"
               string "81becceb-f87b-5c66-b30a-b0958043d65d"
            ]
      )
      dict entry(
         string "Icon"
         variant             array [
               string "input-gaming"
            ]
      )
      dict entry(
         string "Name"
         variant             string "SN30 Pro"
      )
      dict entry(
         string "Vendor"
         variant             string "8BitDo"
      )
      dict entry(
         string "VendorId"
         variant             string "USB:0x2DC8"
      )
      dict entry(
         string "Flags"
         variant             uint64 171815469216
      )
      dict entry(
         string "Created"
         variant             uint64 1664460446
      )
      dict entry(
         string "Modified"
         variant             uint64 1664460492
      )
      dict entry(
         string "Summary"
         variant             string "A redesigned classic game controller"
      )
      dict entry(
         string "Plugin"
         variant             string "ebitdo"
      )
      dict entry(
         string "Protocol"
         variant             string "com.8bitdo"
      )
      dict entry(
         string "Version"
         variant             string "1.30"
      )
      dict entry(
         string "VersionRaw"
         variant             uint64 130
      )
      dict entry(
         string "InstallDuration"
         variant             uint32 120
      )
      dict entry(
         string "UpdateError"
         variant             string "Device has been removed"
      )
      dict entry(
         string "UpdateMessage"
         variant             string "Unplug the controller, hold down L1 + R1 + START until the red LED on top of the controller is flashing and then reconnect the controller."
      )
      dict entry(
         string "UpdateImage"
         variant             string "https://github.com/fwupd/8bitdo-firmware/raw/master/screenshots/sn30-pro.png"
      )
      dict entry(
         string "UpdateState"
         variant             uint32 5
      )
      dict entry(
         string "VersionFormat"
         variant             uint32 3
      )
   ]

image

@jpnurmi
Copy link
Contributor Author

jpnurmi commented Sep 29, 2022

Same device, different error. This time it actually started installing but then failed.

dbus-monitor
signal time=1664460953.337635 sender=org.freedesktop.DBus -> destination=:1.939 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.939"
signal time=1664460953.337651 sender=org.freedesktop.DBus -> destination=:1.939 serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
   string ":1.939"



method call time=1664460958.316972 sender=:1.887 -> destination=:1.111 serial=27 path=/; interface=org.freedesktop.fwupd; member=GetReleases
   string "3fa281ddf80d8a06b8ee5d8beb48d38ee95a9627"
method call time=1664460972.246123 sender=:1.887 -> destination=:1.111 serial=28 path=/; interface=org.freedesktop.fwupd; member=GetRemotes
method call time=1664460973.472311 sender=:1.887 -> destination=org.freedesktop.fwupd serial=29 path=/; interface=org.freedesktop.fwupd; member=Install
   string "3fa281ddf80d8a06b8ee5d8beb48d38ee95a9627"
   file descriptor
   array [
      dict entry(
         string "reason"
         variant             string "user-action"
      )
      dict entry(
         string "allow-older"
         variant             boolean true
      )
      dict entry(
         string "allow-branch-switch"
         variant             boolean true
      )
   ]
signal time=1664460999.245460 sender=:1.111 -> destination=(null destination) serial=6591 path=/; interface=org.freedesktop.fwupd; member=DeviceChanged
   array [
      dict entry(
         string "DeviceId"
         variant             string "3fa281ddf80d8a06b8ee5d8beb48d38ee95a9627"
      )
      dict entry(
         string "Guid"
         variant             array [
               string "78acf201-a624-5c0b-a521-e204be14e3d5"
               string "b02f1319-c1c4-54f4-b7f2-5bb3552f6a9e"
            ]
      )
      dict entry(
         string "Icon"
         variant             array [
               string "input-gaming"
            ]
      )
      dict entry(
         string "Name"
         variant             string ""
      )
      dict entry(
         string "Vendor"
         variant             string "8BitDo"
      )
      dict entry(
         string "VendorId"
         variant             string "USB:0x2DC8"
      )
      dict entry(
         string "Flags"
         variant             uint64 34359746722
      )
      dict entry(
         string "Created"
         variant             uint64 1664460942
      )
      dict entry(
         string "Modified"
         variant             uint64 1664460973
      )
      dict entry(
         string "Summary"
         variant             string "A redesigned classic game controller"
      )
      dict entry(
         string "Plugin"
         variant             string "ebitdo"
      )
      dict entry(
         string "Protocol"
         variant             string "com.8bitdo"
      )
      dict entry(
         string "Version"
         variant             string "1.30"
      )
      dict entry(
         string "VersionRaw"
         variant             uint64 130
      )
      dict entry(
         string "InstallDuration"
         variant             uint32 120
      )
      dict entry(
         string "UpdateState"
         variant             uint32 2
      )
      dict entry(
         string "VersionFormat"
         variant             uint32 3
      )
   ]
signal time=1664460999.246970 sender=:1.111 -> destination=(null destination) serial=6593 path=/; interface=org.freedesktop.fwupd; member=DeviceChanged
   array [
      dict entry(
         string "DeviceId"
         variant             string "3fa281ddf80d8a06b8ee5d8beb48d38ee95a9627"
      )
      dict entry(
         string "Guid"
         variant             array [
               string "78acf201-a624-5c0b-a521-e204be14e3d5"
               string "b02f1319-c1c4-54f4-b7f2-5bb3552f6a9e"
            ]
      )
      dict entry(
         string "Icon"
         variant             array [
               string "input-gaming"
            ]
      )
      dict entry(
         string "Name"
         variant             string ""
      )
      dict entry(
         string "Vendor"
         variant             string "8BitDo"
      )
      dict entry(
         string "VendorId"
         variant             string "USB:0x2DC8"
      )
      dict entry(
         string "Flags"
         variant             uint64 34359746722
      )
      dict entry(
         string "Created"
         variant             uint64 1664460942
      )
      dict entry(
         string "Modified"
         variant             uint64 1664460973
      )
      dict entry(
         string "Summary"
         variant             string "A redesigned classic game controller"
      )
      dict entry(
         string "Plugin"
         variant             string "ebitdo"
      )
      dict entry(
         string "Protocol"
         variant             string "com.8bitdo"
      )
      dict entry(
         string "Version"
         variant             string "1.30"
      )
      dict entry(
         string "VersionRaw"
         variant             uint64 130
      )
      dict entry(
         string "InstallDuration"
         variant             uint32 120
      )
      dict entry(
         string "UpdateState"
         variant             uint32 3
      )
      dict entry(
         string "VersionFormat"
         variant             uint32 3
      )
   ]
signal time=1664460999.249104 sender=:1.111 -> destination=(null destination) serial=6594 path=/; interface=org.freedesktop.fwupd; member=DeviceChanged
   array [
      dict entry(
         string "DeviceId"
         variant             string "3fa281ddf80d8a06b8ee5d8beb48d38ee95a9627"
      )
      dict entry(
         string "Guid"
         variant             array [
               string "78acf201-a624-5c0b-a521-e204be14e3d5"
               string "b02f1319-c1c4-54f4-b7f2-5bb3552f6a9e"
            ]
      )
      dict entry(
         string "Icon"
         variant             array [
               string "input-gaming"
            ]
      )
      dict entry(
         string "Name"
         variant             string ""
      )
      dict entry(
         string "Vendor"
         variant             string "8BitDo"
      )
      dict entry(
         string "VendorId"
         variant             string "USB:0x2DC8"
      )
      dict entry(
         string "Flags"
         variant             uint64 34359746722
      )
      dict entry(
         string "Created"
         variant             uint64 1664460942
      )
      dict entry(
         string "Modified"
         variant             uint64 1664460973
      )
      dict entry(
         string "Summary"
         variant             string "A redesigned classic game controller"
      )
      dict entry(
         string "Plugin"
         variant             string "ebitdo"
      )
      dict entry(
         string "Protocol"
         variant             string "com.8bitdo"
      )
      dict entry(
         string "Version"
         variant             string "1.30"
      )
      dict entry(
         string "VersionRaw"
         variant             uint64 130
      )
      dict entry(
         string "InstallDuration"
         variant             uint32 120
      )
      dict entry(
         string "UpdateError"
         variant             string "failed to attach using ebitdo: USB error on device 2dc8:5750 : No such device (it may have been disconnected) [-4]"
      )
      dict entry(
         string "UpdateState"
         variant             uint32 3
      )
      dict entry(
         string "VersionFormat"
         variant             uint32 3
      )
   ]
signal time=1664460999.249257 sender=:1.111 -> destination=(null destination) serial=6596 path=/; interface=org.freedesktop.fwupd; member=DeviceChanged
   array [
      dict entry(
         string "DeviceId"
         variant             string "3fa281ddf80d8a06b8ee5d8beb48d38ee95a9627"
      )
      dict entry(
         string "Guid"
         variant             array [
               string "78acf201-a624-5c0b-a521-e204be14e3d5"
               string "b02f1319-c1c4-54f4-b7f2-5bb3552f6a9e"
            ]
      )
      dict entry(
         string "Icon"
         variant             array [
               string "input-gaming"
            ]
      )
      dict entry(
         string "Name"
         variant             string ""
      )
      dict entry(
         string "Vendor"
         variant             string "8BitDo"
      )
      dict entry(
         string "VendorId"
         variant             string "USB:0x2DC8"
      )
      dict entry(
         string "Flags"
         variant             uint64 34359746720
      )
      dict entry(
         string "Created"
         variant             uint64 1664460942
      )
      dict entry(
         string "Modified"
         variant             uint64 1664460973
      )
      dict entry(
         string "Summary"
         variant             string "A redesigned classic game controller"
      )
      dict entry(
         string "Plugin"
         variant             string "ebitdo"
      )
      dict entry(
         string "Protocol"
         variant             string "com.8bitdo"
      )
      dict entry(
         string "Version"
         variant             string "1.30"
      )
      dict entry(
         string "VersionRaw"
         variant             uint64 130
      )
      dict entry(
         string "InstallDuration"
         variant             uint32 120
      )
      dict entry(
         string "UpdateError"
         variant             string "failed to attach using ebitdo: USB error on device 2dc8:5750 : No such device (it may have been disconnected) [-4]"
      )
      dict entry(
         string "UpdateState"
         variant             uint32 3
      )
      dict entry(
         string "VersionFormat"
         variant             uint32 3
      )
   ]
signal time=1664460999.249363 sender=:1.111 -> destination=(null destination) serial=6597 path=/; interface=org.freedesktop.fwupd; member=DeviceChanged
   array [
      dict entry(
         string "DeviceId"
         variant             string "3fa281ddf80d8a06b8ee5d8beb48d38ee95a9627"
      )
      dict entry(
         string "Guid"
         variant             array [
               string "78acf201-a624-5c0b-a521-e204be14e3d5"
               string "b02f1319-c1c4-54f4-b7f2-5bb3552f6a9e"
            ]
      )
      dict entry(
         string "Icon"
         variant             array [
               string "input-gaming"
            ]
      )
      dict entry(
         string "Name"
         variant             string ""
      )
      dict entry(
         string "Vendor"
         variant             string "8BitDo"
      )
      dict entry(
         string "VendorId"
         variant             string "USB:0x2DC8"
      )
      dict entry(
         string "Flags"
         variant             uint64 171798700192
      )
      dict entry(
         string "Created"
         variant             uint64 1664460942
      )
      dict entry(
         string "Modified"
         variant             uint64 1664460973
      )
      dict entry(
         string "Summary"
         variant             string "A redesigned classic game controller"
      )
      dict entry(
         string "Plugin"
         variant             string "ebitdo"
      )
      dict entry(
         string "Protocol"
         variant             string "com.8bitdo"
      )
      dict entry(
         string "Version"
         variant             string "1.30"
      )
      dict entry(
         string "VersionRaw"
         variant             uint64 130
      )
      dict entry(
         string "InstallDuration"
         variant             uint32 120
      )
      dict entry(
         string "UpdateError"
         variant             string "failed to attach using ebitdo: USB error on device 2dc8:5750 : No such device (it may have been disconnected) [-4]"
      )
      dict entry(
         string "UpdateState"
         variant             uint32 3
      )
      dict entry(
         string "VersionFormat"
         variant             uint32 3
      )
   ]
signal time=1664460999.250836 sender=:1.111 -> destination=(null destination) serial=6598 path=/; interface=org.freedesktop.fwupd; member=DeviceChanged
   array [
      dict entry(
         string "DeviceId"
         variant             string "3fa281ddf80d8a06b8ee5d8beb48d38ee95a9627"
      )
      dict entry(
         string "Guid"
         variant             array [
               string "78acf201-a624-5c0b-a521-e204be14e3d5"
               string "b02f1319-c1c4-54f4-b7f2-5bb3552f6a9e"
            ]
      )
      dict entry(
         string "Icon"
         variant             array [
               string "input-gaming"
            ]
      )
      dict entry(
         string "Name"
         variant             string ""
      )
      dict entry(
         string "Vendor"
         variant             string "8BitDo"
      )
      dict entry(
         string "VendorId"
         variant             string "USB:0x2DC8"
      )
      dict entry(
         string "Flags"
         variant             uint64 171798700192
      )
      dict entry(
         string "Created"
         variant             uint64 1664460942
      )
      dict entry(
         string "Modified"
         variant             uint64 1664460973
      )
      dict entry(
         string "Summary"
         variant             string "A redesigned classic game controller"
      )
      dict entry(
         string "Plugin"
         variant             string "ebitdo"
      )
      dict entry(
         string "Protocol"
         variant             string "com.8bitdo"
      )
      dict entry(
         string "Version"
         variant             string "1.30"
      )
      dict entry(
         string "VersionRaw"
         variant             uint64 130
      )
      dict entry(
         string "InstallDuration"
         variant             uint32 120
      )
      dict entry(
         string "UpdateError"
         variant             string "Device has been removed"
      )
      dict entry(
         string "UpdateState"
         variant             uint32 3
      )
      dict entry(
         string "VersionFormat"
         variant             uint32 3
      )
   ]
signal time=1664461002.302601 sender=:1.111 -> destination=(null destination) serial=6599 path=/; interface=org.freedesktop.fwupd; member=DeviceChanged
   array [
      dict entry(
         string "DeviceId"
         variant             string "3fa281ddf80d8a06b8ee5d8beb48d38ee95a9627"
      )
      dict entry(
         string "Guid"
         variant             array [
               string "043c7673-bd45-5e2e-b8b9-c22df2dfec2a"
               string "b02f1319-c1c4-54f4-b7f2-5bb3552f6a9e"
               string "1bf5ac96-99ce-54f2-abf4-7eabe6802533"
               string "81becceb-f87b-5c66-b30a-b0958043d65d"
            ]
      )
      dict entry(
         string "Icon"
         variant             array [
               string "input-gaming"
            ]
      )
      dict entry(
         string "Name"
         variant             string "SN30 Pro"
      )
      dict entry(
         string "Vendor"
         variant             string "8BitDo"
      )
      dict entry(
         string "VendorId"
         variant             string "USB:0x2DC8"
      )
      dict entry(
         string "Flags"
         variant             uint64 34376515618
      )
      dict entry(
         string "Created"
         variant             uint64 1664461002
      )
      dict entry(
         string "Summary"
         variant             string "A redesigned classic game controller"
      )
      dict entry(
         string "Plugin"
         variant             string "ebitdo"
      )
      dict entry(
         string "Protocol"
         variant             string "com.8bitdo"
      )
      dict entry(
         string "Version"
         variant             string "1.33"
      )
      dict entry(
         string "VersionRaw"
         variant             uint64 133
      )
      dict entry(
         string "InstallDuration"
         variant             uint32 120
      )
      dict entry(
         string "VersionFormat"
         variant             uint32 3
      )
   ]
signal time=1664461002.302936 sender=:1.111 -> destination=(null destination) serial=6600 path=/; interface=org.freedesktop.fwupd; member=DeviceChanged
   array [
      dict entry(
         string "DeviceId"
         variant             string "3fa281ddf80d8a06b8ee5d8beb48d38ee95a9627"
      )
      dict entry(
         string "Guid"
         variant             array [
               string "043c7673-bd45-5e2e-b8b9-c22df2dfec2a"
               string "b02f1319-c1c4-54f4-b7f2-5bb3552f6a9e"
               string "1bf5ac96-99ce-54f2-abf4-7eabe6802533"
               string "81becceb-f87b-5c66-b30a-b0958043d65d"
            ]
      )
      dict entry(
         string "Icon"
         variant             array [
               string "input-gaming"
            ]
      )
      dict entry(
         string "Name"
         variant             string "SN30 Pro"
      )
      dict entry(
         string "Vendor"
         variant             string "8BitDo"
      )
      dict entry(
         string "VendorId"
         variant             string "USB:0x2DC8"
      )
      dict entry(
         string "Flags"
         variant             uint64 34376515746
      )
      dict entry(
         string "Created"
         variant             uint64 1664461002
      )
      dict entry(
         string "Summary"
         variant             string "A redesigned classic game controller"
      )
      dict entry(
         string "Plugin"
         variant             string "ebitdo"
      )
      dict entry(
         string "Protocol"
         variant             string "com.8bitdo"
      )
      dict entry(
         string "Version"
         variant             string "1.33"
      )
      dict entry(
         string "VersionRaw"
         variant             uint64 133
      )
      dict entry(
         string "InstallDuration"
         variant             uint32 120
      )
      dict entry(
         string "UpdateError"
         variant             string "Device has been removed"
      )
      dict entry(
         string "UpdateState"
         variant             uint32 3
      )
      dict entry(
         string "VersionFormat"
         variant             uint32 3
      )
   ]
signal time=1664461002.306883 sender=:1.111 -> destination=(null destination) serial=6601 path=/; interface=org.freedesktop.fwupd; member=Changed

image

@jpnurmi jpnurmi mentioned this issue Sep 29, 2022
@elioqoshi
Copy link

Modals look good to me. Maybe signal the level of significance with color more (red in this case as it's critical). Also title and description should both be left aligned:

grafik

@d-loose d-loose mentioned this issue Oct 7, 2022
@Jongmassey
Copy link

User has configured their system in a broken way this is deeply unhelpful. What have I configured in a broken way? This is out of the box Ubuntu 24.04.1 LTS. Doesn't feel very "LTS"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Needs feedback from the design team
Projects
None yet
Development

No branches or pull requests

3 participants