Bug 468421 - Discover doesn't show available firmware updates offered by fwupd
Summary: Discover doesn't show available firmware updates offered by fwupd
Status: RESOLVED WORKSFORME
Alias: None
Product: Discover
Classification: Applications
Component: fwupd Backend (other bugs)
Version First Reported In: 5.27.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-12 13:10 UTC by Timo Gurr
Modified: 2025-03-11 10:34 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
discover_1.png (64.39 KB, image/png)
2023-04-12 13:11 UTC, Timo Gurr
Details
discover_2.png (35.86 KB, image/png)
2023-04-12 13:11 UTC, Timo Gurr
Details
discover_3.png (38.46 KB, image/png)
2023-04-12 13:11 UTC, Timo Gurr
Details
discover_4.png (48.93 KB, image/png)
2023-04-12 13:11 UTC, Timo Gurr
Details
discover_5.png (70.49 KB, image/png)
2023-04-12 13:11 UTC, Timo Gurr
Details
discover_6.png (36.93 KB, image/png)
2023-04-12 13:12 UTC, Timo Gurr
Details
discover_manual_01.png (52.07 KB, image/png)
2023-04-12 13:12 UTC, Timo Gurr
Details
discover_manual_02.png (62.48 KB, image/png)
2023-04-12 13:12 UTC, Timo Gurr
Details
gnome-firmware.png (100.16 KB, image/png)
2023-04-12 13:12 UTC, Timo Gurr
Details
discover_6.3.2_01.png (38.76 KB, image/png)
2025-03-11 09:30 UTC, Timo Gurr
Details
discover_6.3.2_02.png (37.24 KB, image/png)
2025-03-11 09:30 UTC, Timo Gurr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Gurr 2023-04-12 13:10:47 UTC
SUMMARY
Discover doesn't show any firmware updates available by fwupd.

STEPS TO REPRODUCE
1. Build Discover with the fwupd backend
2. Launch Discover
3. See no updates

OBSERVED RESULT
No updates are being displayed.

EXPECTED RESULT
Available updates correctly being displayed and offered to upgrade.

SOFTWARE/OS VERSIONS
Operating System: Exherbo 
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Kernel Version: 6.2.0 (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-6500 CPU @ 3.20GHz
Memory: 11.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 530

ADDITIONAL INFORMATION
1. Updates are displayed and correctly working via the fwupdmgr cli as well as within gnome-firmware (43.0) - see additionally attached screenshots.

2. If manually typing "lenovo" in the search box the device is found however not the update itself as it reports version 0.0.0.1 instead of the 0.0.4.6 firmware update version and the install button doesn't do anything - see additionally attached screenshots.

3. Discover also reports a general error on launch that it can't be used to do system upgrades as I've build it only with the fwupd backend (as packagekit also doesn't support our package manager) however the screenshots I found at https://pointieststick.com/2018/08/04/this-week-in-usability-productivity-part-30/ also offer the firmware updates labled under the "System Updates" so this error message isn't quite correct - see additionally attached screenshots.

4. gnome-firmware displays all devices fwupd supports in general with a note "No Releases Available" to indicate that there are no available updates - but allows to see all devices supported by fwupd all the time and check their firmware and other details which I would welcome to see in Discover (or any other hardware kcm with fwupd support) as well.
Comment 1 Timo Gurr 2023-04-12 13:11:17 UTC
Created attachment 158031 [details]
discover_1.png
Comment 2 Timo Gurr 2023-04-12 13:11:27 UTC
Created attachment 158032 [details]
discover_2.png
Comment 3 Timo Gurr 2023-04-12 13:11:36 UTC
Created attachment 158033 [details]
discover_3.png
Comment 4 Timo Gurr 2023-04-12 13:11:48 UTC
Created attachment 158034 [details]
discover_4.png
Comment 5 Timo Gurr 2023-04-12 13:11:58 UTC
Created attachment 158035 [details]
discover_5.png
Comment 6 Timo Gurr 2023-04-12 13:12:08 UTC
Created attachment 158036 [details]
discover_6.png
Comment 7 Timo Gurr 2023-04-12 13:12:26 UTC
Created attachment 158037 [details]
discover_manual_01.png
Comment 8 Timo Gurr 2023-04-12 13:12:38 UTC
Created attachment 158038 [details]
discover_manual_02.png
Comment 9 Timo Gurr 2023-04-12 13:12:50 UTC
Created attachment 158039 [details]
gnome-firmware.png
Comment 10 Timo Gurr 2023-04-12 13:14:26 UTC
$ fwupdmgr get-updates
WARNING: Dieses Paket wurde nicht validiert und könnte nicht richtig funktionieren.
Geräte mit keinen verfügbaren Firmware-Aktualisierungen: 
 • 1100 MTFDDAK256TBN
 • SSD 860 PRO 256GB
 • System Firmware
 • UEFI dbx
FUJITSU ESPRIMO P757
│
└─ThinkPad Universal USB-C Dock:
  │   Gerätekennung:      8dc9c8149c459498fae30d32e98c8bfedf4390ab
  │   Zusammenfassung:    Dock Management Controller Device
  │   Aktuelle Version:   0.0.0.1
  │   Anbieter:           Lenovo (USB:0x17EF)
  │   Installationsdauer: 1 Minute
  │   Seriennummer:       1S40AY0090EUZVR0H51B
  │   GUIDs:              959b1e72-280e-5453-a5eb-d9d5c7674211 ← USB\VID_17EF&PID_30A9
  │                       fa0b1b28-bca0-5577-a670-a7e507f03bda ← USB\VID_17EF&PID_30A9&REV_3073
  │   Device Flags:       • Aktualisierbar
  │                       • System benötigt externe Stromquelle
  │                       • Unterstützt auf dem entfernten Server
  │                       • Gerät führt Aktualisierungen in Etappen durch
  │                       • Das Gerät kann sich nach Fehlern beim Aufspielen wiederherstellen
  │                       • Signierte Nutzdaten
  │ 
  └─ThinkPad Universal:
        Neue Version:     0.0.4.6
        Remote ID:        lvfs
        Release ID:       14565
        Zusammenfassung:  ThinkPad Universal USB-C Dock Device Firmware
        Lizenz:           Proprietär
        Größe:            1,0 MB
        Erstellt:         2022-07-20
        Dringlichkeit:    Hoch
        Anbieter:         Lenovo
        Dauer:            1 Minute
        Aktualisierungsmeldung:Updates will complete next time the dock USB cable is unplugged.  The dock will be unavailable for approximately 1 minute.
        Release Flags:    • Vertrauenswürdige Metadaten
                          • Ist Höherstufung
        Beschreibung:     
        Device Firmware Version 0.0.4.6
        
        The Docking will LED blinking while deploying FW update.
        
        New Feature support: - Support Universal Dock FW update.

$ fwupdmgr update
WARNING: Dieses Paket wurde nicht validiert und könnte nicht richtig funktionieren.
Geräte mit keinen verfügbaren Firmware-Aktualisierungen: 
 • 1100 MTFDDAK256TBN
 • SSD 860 PRO 256GB
 • System Firmware
 • UEFI dbx
╔══════════════════════════════════════════════════════════════════════════════╗
║ ThinkPad Universal USB-C Dock von 0.0.0.1 auf 0.0.4.6 aktualisieren?         ║
╠══════════════════════════════════════════════════════════════════════════════╣
║ Device Firmware Version 0.0.4.6                                              ║
║                                                                              ║
║ The Docking will LED blinking while deploying FW update.                     ║
║                                                                              ║
║ New Feature support: - Support Universal Dock FW update.                     ║
║                                                                              ║
║ ThinkPad Universal USB-C Dock und alle angeschlossenen Geräte sind während   ║
║ der Aktualisierung möglicherweise nicht nutzbar.                             ║
╚══════════════════════════════════════════════════════════════════════════════╝
Operation durchführen? [Y|n]: n
Request canceled

$ plasma-discover-update 
QCommandLineParser: option not defined: "feedback"
No updates available, exiting

$ plasma-discover --listbackends
Available backends:
 * fwupd-backend
 
$ plasma-discover-update --backends fwupd
QCommandLineParser: option not defined: "feedback"
No updates available, exiting
Comment 11 Ismael Asensio 2025-03-08 14:47:06 UTC
I cannot reproduce on current master. Just got the similar update both on Discover and fwupdmgr

Are you still finding this issue?  
It would be ideal if it can be tested on a more recent Plasma 6 version

Also, were you maybe on a laptop without AC power connected? 
Trying to discard that it is a duplicate of https://bugs.kde.org/show_bug.cgi?id=481943
Comment 12 Timo Gurr 2025-03-11 09:29:43 UTC
Thanks for the feedback, I just tried to produce the issue and it indeed seems to be solved for me (using discover 6.3.2). Though I'm currently unable to test upgrading the exact device as my current PC lacks an USB-C port to attach a/the docking station to but there was an UEFI dbx update with which I could test. 

(In reply to Ismael Asensio from comment #11)
> Also, were you maybe on a laptop without AC power connected? 
> Trying to discard that it is a duplicate of
> https://bugs.kde.org/show_bug.cgi?id=481943
I don't think it can be related to that as I'm trying this on a PC (which obviously is always on AC power).

See attached screenshots. The issue can be closed.
Comment 13 Timo Gurr 2025-03-11 09:30:08 UTC
Created attachment 179289 [details]
discover_6.3.2_01.png
Comment 14 Timo Gurr 2025-03-11 09:30:20 UTC
Created attachment 179290 [details]
discover_6.3.2_02.png
Comment 15 Ismael Asensio 2025-03-11 10:34:17 UTC
Thanks for the confirmation!