fwupd / firmware-dell

Missing firmware for Dell hardware
28 stars 4 forks source link

xps 17 9720 finding no updates #172

Open droidben opened 1 year ago

droidben commented 1 year ago

Describe the bug I have a Dell xps17 9720 running Ubuntu 22.04.2 with uefi and secureboot enabled. UEFI capsule updates are enabled in the BIOS. despite this, fwupd failes to update my firmwares. I have tried manually setting the OverrideESPMountPoint to /boot/efi, which didn't help. Yes, udisk is installed. My boot-disk is ZFS.

Steps to Reproduce

$ sudo fwupd.fwupdmgr refresh --force 
WARNING: This package has not been validated, it may not work properly.
Updating lvfs
Downloading…             [***************************************]
Successfully downloaded new metadata: 0 local devices supported
$ sudo fwupd.fwupdmgr get-updates 
WARNING: This package has not been validated, it may not work properly.
Devices with no available firmware updates: 
 • Fingerprint Sensor
 • Integrated Webcam HD
 • SSD 980 PRO 1TB
 • SSD 980 PRO 2TB
 • System Firmware
 • UEFI Device Firmware
 • UEFI dbx
No updatable devices

Expected behavior It should find some updates, since I know, my device isn't up2date.

fwupd version information I'm using the latest stable snap version of fwupd

$ sudo fwupd.fwupdmgr --version
compile   org.freedesktop.fwupd         1.8.10
compile   com.hughsie.libjcat           0.1.9
runtime   org.freedesktop.fwupd-efi     1.0
compile   org.freedesktop.gusb          0.3.10
runtime   com.dell.libsmbios            2.4
runtime   org.freedesktop.gusb          0.3.10
runtime   org.freedesktop.fwupd         1.8.10
runtime   org.kernel                    5.19.0-46-generic

Please note how you installed it (apt, dnf, pacman, source, etc):

**fwupd device information** Please provide the output of the fwupd devices recognized in your system.

System UEFI configuration Please provide the output of the following commands:

$ efivar -l | grep fw

Additional questions

superm1 commented 1 year ago

I don't see any problems above. Are you sure your device has updates available at LVFS?

hughsie commented 1 year ago

XPS 17 9720

That has lots of updates -- something else is going on. @droidben can you get the output of fwupd.fwupdtool get-devices --verbose --plugins uefi-capsule please.

superm1 commented 1 year ago
00:26:55.290 FuEngine             failed to set release for component: no HWIDs matched 133b2bf2-76c7-5637-9deb-76c432e1324b
00:26:55.290 FuEngine             failed to set release for component: no HWIDs matched 133b2bf2-76c7-5637-9deb-76c432e1324b
00:26:55.290 FuEngine             failed to set release for component: no HWIDs matched 133b2bf2-76c7-5637-9deb-76c432e1324b
00:26:55.290 FuEngine             failed to set release for component: no HWIDs matched 133b2bf2-76c7-5637-9deb-76c432e1324b
00:26:55.290 FuEngine             failed to set release for component: no HWIDs matched 133b2bf2-76c7-5637-9deb-76c432e1324b
00:26:55.290 FuEngine             failed to set release for component: no HWIDs matched 133b2bf2-76c7-5637-9deb-76c432e1324b
00:26:55.291 FuEngine             failed to set release for component: no HWIDs matched 133b2bf2-76c7-5637-9deb-76c432e1324b

Is it possible that this system shares a firmware binary with the Precision variant? If so; then the HWIDs at LVFS may only specify the Precision version.

hughsie commented 1 year ago

@CragW I think a HWID might be missing somewhere.

droidben commented 1 year ago

Yes, there is a Dell Precision variant of this laptop I believe. Am I right by understanding that LVFS needs to add the XPS HWIDs to their site or can I change my config so it works? I found these links: https://fwupd.org/lvfs/devices/com.dell.uefi7d606caf.firmware https://fwupd.org/lvfs/devices/com.dell.uefiaaaaa926.firmware https://fwupd.org/lvfs/devices/com.dell.uefia888c891.firmware

superm1 commented 1 year ago

Yes, there is a Dell Precision variant of this laptop I believe. Am I right by understanding that LVFS needs to add the XPS HWIDs to their site or can I change my config so it works? I found these links: https://fwupd.org/lvfs/devices/com.dell.uefi7d606caf.firmware https://fwupd.org/lvfs/devices/com.dell.uefiaaaaa926.firmware https://fwupd.org/lvfs/devices/com.dell.uefia888c891.firmware

That's right the HWIDs must be added for the update to work.

CragW commented 1 year ago

@droidben although the system firmware is compatible with XPS 17 9720 model but Linux is beyond the scope of supporting OS'es.

droidben commented 1 year ago

I understand now, I think. Dell can't be bothered to add some HWID to their LVFS site, that's the problem. Can we escalate this to them somehow or is it not worth it?

CragW commented 1 year ago

I think that'd be challenging to ask for the release for an unsupported (untested) device.