fwupd / firmware-lenovo

Missing firmware for Lenovo Thinkpad hardware
121 stars 4 forks source link

requirement 'hardware' also needs org.freedesktop.fwupd >= 1.0.8 #423

Closed jinek closed 9 months ago

jinek commented 9 months ago

Describe the bug

jinek@fedora:~/Downloads$ sudo fwupdmgr --allow-older --allow-reinstall install ./n3arl02w.cab
Decompressing…           [  -                                    ]
requirement 'hardware' also needs org.freedesktop.fwupd >= 1.0.8

Steps to Reproduce I'm just trying to install lenovo firmware update onto x1 yoga gen 7.

fwupd version information 1.9.13

compile   org.freedesktop.fwupd         1.9.13
compile   com.hughsie.libxmlb           0.3.15
compile   com.hughsie.libjcat           0.2.1
runtime   org.freedesktop.fwupd-efi     1.4
compile   org.freedesktop.gusb          0.4.8
runtime   com.hughsie.libjcat           0.2.1
runtime   org.freedesktop.gusb          0.4.8
runtime   org.freedesktop.fwupd         1.9.13
runtime   org.kernel                    6.7.3-200.fc39.x86_64

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. ```shell LENOVO 21CDS09V00 │ ├─ELAN067B:00 04F3:31F8: │ Device ID: 4dc958f59f7f61d6e4fee930e995b76baf216980 │ Summary: Touchpad │ Current version: 0x0004 │ Bootloader Version: 0x0003 │ Vendor: ELAN Microelectronics (HIDRAW:0x04F3) │ GUIDs: abe7b9d9-0449-51d0-b89e-49f4b54780b2 ← HIDRAW\VEN_04F3&DEV_31F8 │ 93386a84-d3f7-5ecc-bf58-7d4e14dc2a45 ← HIDRAW\VEN_04F3&DEV_31F8&MOD_012D │ 4070ab62-370f-529a-80fc-6e60d076e04b ← ELANTP\ICTYPE_14&MOD_012D │ f8f4e9e5-53f1-5807-a237-6ba8807772cd ← ELANTP\ICTYPE_14&MOD_012D&DRIVER_HID │ Device Flags: • Internal device │ • Updatable │ ├─Unknown Device: │ Device ID: 6b5a06645e27c4e94b6e67d5185c46d11ec9ad67 │ GUID: c96751f4-16e8-59ea-975d-69d3dac88d7d ← GPIO\ID_INTC1055:00 │ ├─12th Gen Intel Core™ i7-1260P: │ Device ID: 4bde70ba4e39b28f9eab1628f9dd6e6244c03027 │ Current version: 0x00000432 │ Vendor: Intel │ GUIDs: ab855c04-4ff6-54af-8a8a-d8193daa0cd8 ← CPUID\PRO_0&FAM_06&MOD_9A │ 3ebbde86-d03e-549a-a8fd-02ebf9aa537a ← CPUID\PRO_0&FAM_06&MOD_9A&STP_3 │ Device Flags: • Internal device │ ├─Alder Lake-P GT2 [Iris Xe Graphics]: │ Device ID: 5792b48846ce271fab11c4a545f7a3df0d36e00a │ Current version: 0c │ Vendor: Intel Corporation (PCI:0x8086) │ GUIDs: eaad9970-8e4d-56da-88ab-41a8c1e2811f ← PCI\VEN_8086&DEV_46A6 │ f36f6bfd-1640-540f-8adb-2e6e7b3c227d ← PCI\VEN_8086&DEV_46A6&SUBSYS_17AA22E6 │ Device Flags: • Internal device │ • Cryptographic hash verification is available │ ├─B140UAN02.1: │ │ Device ID: aec1a869eb0df71b7cea6b3ac71d39b830faf164 │ │ GUID: 455d337a-a155-5e37-88c7-60f4cfd3f3e7 ← DRM\VEN_AUO&DEV_D291 │ │ Device Flags: • Internal device │ │ │ └─Wacom AES Device: │ Device ID: d24c413d4e8707c11087e605dcafc7354c61a1fc │ Current version: 0001.00 │ Vendor: Wacom Tech (HIDRAW:0x056A) │ GUID: 32a48960-7d88-589c-a52f-6a14f7177c73 ← HIDRAW\VEN_056A&DEV_530E │ Device Flags: • Internal device │ • Updatable │ • Supported on remote server │ • Needs a reboot after installation │ • Unsigned Payload │ ├─Battery: │ Device ID: 4b78f537b7d3e281a2ecbc83048b8856fb9eb98e │ Summary: UEFI ESRT device │ Current version: 1.3.11 │ Minimum Version: 0.0.1 │ Vendor: Lenovo (DMI:LENOVO) │ Update State: Success │ Problems: • Device requires AC power to be connected │ GUID: 7b355cab-d481-4df3-b78e-c7b8e187b5d7 │ Device Flags: • Internal device │ • System requires external power source │ • Supported on remote server │ • Needs a reboot after installation │ • Device is usable for the duration of the update │ • Updatable │ Device Requests: • Message │ ├─Embedded Controller: │ Device ID: ae1abd099407b1d95698d69b7273f7fed5c6f35c │ Summary: UEFI ESRT device │ Current version: 0.1.23 │ Minimum Version: 0.1.23 │ Vendor: Lenovo (DMI:LENOVO) │ Update State: Success │ Problems: • Device requires AC power to be connected │ GUID: ec01fae4-c67a-42b4-bada-a7c1b9900897 │ Device Flags: • Internal device │ • System requires external power source │ • Supported on remote server │ • Needs a reboot after installation │ • Device is usable for the duration of the update │ • Updatable │ Device Requests: • Message │ ├─Integrated Camera: │ Device ID: 1bcca71b3480ec5662e5da8a742c4c805275ffbf │ Current version: 54.20 │ Vendor: Chicony Electronics Co.,Ltd. (USB:0x04F2) │ Serial Number: 0001 │ GUID: 2dccef5c-4211-5379-9463-a215f5968ef6 ← USB\VID_04F2&PID_B751 │ Device Flags: • Updatable │ ├─Intel Management Engine: │ Device ID: 2292ae5236790b47884e37cf162dcf23bfcd1c60 │ Summary: UEFI ESRT device │ Current version: 1.27.2176 │ Vendor: Lenovo (DMI:LENOVO) │ Update State: Success │ Problems: • Device requires AC power to be connected │ GUID: 23192307-d667-4bdf-af1a-6059db171246 │ Device Flags: • Internal device │ • System requires external power source │ • Supported on remote server │ • Needs a reboot after installation │ • Device is usable for the duration of the update │ • Updatable │ Device Requests: • Message │ ├─MZVL21T0HCLR-00BL7: │ Device ID: 04e17fcf7d3de91da49a163ffe4907855c3648be │ Summary: NVM Express solid state drive │ Current version: EL2QGXA7 │ Vendor: Samsung (NVME:0x144D) │ Serial Number: S64PNX0TC55513 │ Problems: • Device requires AC power to be connected │ GUIDs: bec63ed7-a95f-54fe-b8cc-8e9fee64ba5a ← NVME\VEN_144D&DEV_A80A │ 310f81b5-6fce-501e-acfb-487d10501e78 ← NVME\VEN_144D&DEV_A80A&SUBSYS_144DA801 │ c0e40d86-e47a-57fe-8ed1-453e6d83a586 ← SAMSUNG MZVL21T0HCLR-00BL7 │ Device Flags: • Internal device │ • System requires external power source │ • Supported on remote server │ • Needs a reboot after installation │ • Device is usable for the duration of the update │ • Updatable │ • Signed Payload │ ├─Prometheus: │ │ Device ID: 65a54fb6ce182f0e75edf0e43047d547a0d61f0e │ │ Summary: Fingerprint reader │ │ Current version: 10.01.4234207 │ │ Vendor: Synaptics (USB:0x06CB) │ │ Install Duration: 2 seconds │ │ Serial Number: 142945463704723 │ │ GUID: 448868f0-e05d-5849-8fc4-b8fa1ec16bf5 ← USB\VID_06CB&PID_00FC │ │ Device Flags: • Updatable │ │ • Supported on remote server │ │ • Cryptographic hash verification is available │ │ • Signed Payload │ │ │ └─Prometheus IOTA Config: │ Device ID: 2ccad74a4991f166f0c971c0a1ededb9e3f4130b │ Summary: Fingerprint reader config │ Current version: 0010 │ Minimum Version: 0010 │ Vendor: Synaptics (USB:0x06CB) │ GUIDs: 5cfe6094-5ba5-5713-b5a4-bc9d9c0f55df ← USB\VID_06CB&PID_00FC-cfg │ d9fbfaa0-2fc3-5225-aaf4-6c640029b473 ← USB\VID_06CB&PID_00FC&CFG1_3698&CFG2_0 │ Device Flags: • Updatable │ • Only version upgrades are allowed │ • Signed Payload │ ├─System Firmware: │ │ Device ID: 632acf4927c0b5fb53519d6beed3b60adb73f1d5 │ │ Summary: UEFI ESRT device │ │ Current version: 0.1.44 │ │ Vendor: Lenovo (DMI:LENOVO) │ │ Update State: Success │ │ Problems: • Device requires AC power to be connected │ │ GUID: 34d84f45-4685-4019-b7e3-dba67b96ef7d │ │ Device Flags: • Internal device │ │ • System requires external power source │ │ • Supported on remote server │ │ • Needs a reboot after installation │ │ • Cryptographic hash verification is available │ │ • Device is usable for the duration of the update │ │ • Updatable │ │ Device Requests: • Message │ │ │ ├─BootGuard Configuration: │ │ Device ID: b0d4430dfa6bde9f0c22680df36dbc8c15c80753 │ │ Current version: 01 │ │ Vendor: Intel Corporation (MEI:0x8086) │ │ GUIDs: dd17041c-09ea-4b17-a271-5b989867ec65 │ │ fccad2fe-62ae-5879-b7a9-4ead7bce50f4 ← MEI\VEN_8086&DEV_51E0 │ │ f4e3f70f-028c-5368-94c5-519382a0b5e6 ← MEI\VEN_8086&DEV_51E0&SUBSYS_17AA22E6 │ │ Device Flags: • Internal device │ │ │ └─UEFI dbx: │ Device ID: 362301da643102b9f38477387e2193e57abaa590 │ Summary: UEFI revocation database │ Current version: 371 │ Minimum Version: 371 │ Vendor: UEFI:Linux Foundation │ Install Duration: 1 second │ GUIDs: 5971a208-da00-5fce-b5f5-1234342f9cf7 ← UEFI\CRT_A9087D1044AD18F7A94916D284CBC01827CF23CD8F60B79072C9CAA1FEF4D649&ARCH_X64 │ f8ba2887-9411-5c36-9cee-88995bb39731 ← UEFI\CRT_A1117F516A32CEFCBA3F2D1ACE10A87972FD6BBE8FE0D0B996E09E65D802A503&ARCH_X64 │ Device Flags: • Internal device │ • Updatable │ • Supported on remote server │ • Needs a reboot after installation │ • Device is usable for the duration of the update │ • Only version upgrades are allowed │ • Signed Payload │ ├─TPM: │ Device ID: 9b4ca17462f3f409e1d22aa2a862cbbeffc6a649 │ Summary: UEFI ESRT device │ Current version: 0.15.22 │ Minimum Version: 0.15.22 │ Vendor: Lenovo (DMI:LENOVO) │ Update State: Success │ Problems: • Device requires AC power to be connected │ GUID: 94f1705a-b4cf-4b51-9ae3-a2953a3b2975 │ Device Flags: • Internal device │ • System requires external power source │ • Supported on remote server │ • Needs a reboot after installation │ • Device is usable for the duration of the update │ • Updatable │ Device Requests: • Message │ ├─TPM: │ Device ID: c6a80ac3a22083423992a3cb15018989f37834d6 │ Current version: 15.22.65.49152 │ Vendor: Infineon (TPM:IFX) │ Problems: • Device requires AC power to be connected │ GUIDs: 5eebb112-75ad-5536-b173-a11eb3399402 ← TPM\VEN_IFX&DEV_0000 │ 0df86b23-72b8-5128-9fc2-3377446e8ecf ← TPM\VEN_IFX&MOD_SLB9672 │ 6d81ab63-db2e-50ac-934f-6be9accf5e02 ← TPM\VEN_IFX&DEV_0000&VER_2.0 │ 13249df8-c159-574a-b877-b045aa40bc54 ← TPM\VEN_IFX&MOD_SLB9672&VER_2.0 │ Device Flags: • Internal device │ • System requires external power source │ • Needs a reboot after installation │ • Device can recover flash failures │ • Full disk encryption secrets may be invalidated when updating │ • Signed Payload │ ├─UEFI Device Firmware: │ Device ID: a45df35ac0e948ee180fe216a5f703f32dda163f │ Summary: UEFI ESRT device │ Current version: 70151 │ Vendor: DMI:LENOVO │ Update State: Success │ Problems: • Device requires AC power to be connected │ GUID: 4e88068b-41b2-4e05-893c-db0b43f7d348 │ Device Flags: • Internal device │ • System requires external power source │ • Needs a reboot after installation │ • Device is usable for the duration of the update │ • Updatable │ Device Requests: • Message │ ├─UEFI Device Firmware: │ Device ID: 349bb341230b1a86e5effe7dfe4337e1590227bd │ Summary: UEFI ESRT device │ Current version: 1 │ Minimum Version: 1 │ Vendor: DMI:LENOVO │ Update State: Success │ Problems: • Device requires AC power to be connected │ GUID: 69585d92-b50a-4ad7-b265-2eb1ae066574 │ Device Flags: • Internal device │ • System requires external power source │ • Needs a reboot after installation │ • Device is usable for the duration of the update │ • Updatable │ Device Requests: • Message │ ├─UEFI Device Firmware: │ Device ID: 97b6fe9b220c7b9e1a3a1d9f404c00d4fe77ae7e │ Summary: UEFI ESRT device │ Current version: 18548864 │ Minimum Version: 1 │ Vendor: DMI:LENOVO │ Update State: Success │ Problems: • Device requires AC power to be connected │ GUID: 62036a80-3968-4bf1-ab13-175eabbc4901 │ Device Flags: • Internal device │ • System requires external power source │ • Needs a reboot after installation │ • Device is usable for the duration of the update │ • Updatable │ Device Requests: • Message │ ├─UEFI Device Firmware: │ Device ID: 2656b5b7e7c4f91fef1537f93095449cda5fb264 │ Summary: UEFI ESRT device │ Current version: 1410863573 │ Minimum Version: 1 │ Vendor: DMI:LENOVO │ Update State: Success │ Problems: • Device requires AC power to be connected │ GUID: 04cb082c-77e9-4fd8-8832-94e0bdd2dfce │ Device Flags: • Internal device │ • System requires external power source │ • Needs a reboot after installation │ • Device is usable for the duration of the update │ • Updatable │ Device Requests: • Message │ ├─UEFI Device Firmware: │ Device ID: de4826630a1fc5be5355c9b6b2c4052051f350c6 │ Summary: UEFI ESRT device │ Current version: 1.3.16.0 │ Vendor: Lenovo (DMI:LENOVO) │ Update State: Success │ Problems: • Device requires AC power to be connected │ GUID: 7e5534a3-2069-414b-90b6-3e365d2ccd09 │ Device Flags: • Internal device │ • System requires external power source │ • Supported on remote server │ • Needs a reboot after installation │ • Device is usable for the duration of the update │ • Updatable │ Device Requests: • Message │ ├─UEFI Device Firmware: │ Device ID: f95c9218acd12697af946874bfe4239587209232 │ Summary: UEFI ESRT device │ Current version: 1 │ Vendor: DMI:LENOVO │ Update State: Success │ Problems: • Device requires AC power to be connected │ GUID: 76ca0ad8-4a14-4389-b7e5-fd88791762ad │ Device Flags: • Internal device │ • System requires external power source │ • Needs a reboot after installation │ • Device is usable for the duration of the update │ • Updatable │ Device Requests: • Message │ ├─UEFI Device Firmware: │ Device ID: d96de5c124b60ed6241ebcb6bb2c839cb5580786 │ Summary: UEFI ESRT device │ Current version: 1 │ Vendor: DMI:LENOVO │ Update State: Success │ Problems: • Device requires AC power to be connected │ GUID: 626d93db-2c42-48c3-915a-71f968a81b04 │ Device Flags: • Internal device │ • System requires external power source │ • Needs a reboot after installation │ • Device is usable for the duration of the update │ • Updatable │ Device Requests: • Message │ ├─UEFI Device Firmware: │ Device ID: f37fb01122dd62c773f4e84ec89737e059712d59 │ Summary: UEFI ESRT device │ Current version: 1 │ Vendor: DMI:LENOVO │ Update State: Success │ Problems: • Device requires AC power to be connected │ GUID: 86a885ee-d71e-2ed6-0fc1-9d6ccc9677eb │ Device Flags: • Internal device │ • System requires external power source │ • Needs a reboot after installation │ • Device is usable for the duration of the update │ • Updatable │ Device Requests: • Message │ ├─UEFI Device Firmware: │ Device ID: 36efb79c255f402f619fa9eb53cd659db51f2a04 │ Summary: UEFI ESRT device │ Current version: 21536 │ Minimum Version: 1 │ Vendor: DMI:LENOVO │ Update State: Success │ Problems: • Device requires AC power to be connected │ GUID: 539ac129-a25e-4161-9aa1-138a631f92a7 │ Device Flags: • Internal device │ • System requires external power source │ • Needs a reboot after installation │ • Device is usable for the duration of the update │ • Updatable │ Device Requests: • Message │ ├─UEFI Device Firmware: │ Device ID: 11a7fbdd09ce583e58b899660fe10f147fd155a2 │ Summary: UEFI ESRT device │ Current version: 0 │ Vendor: DMI:LENOVO │ Update State: Success │ Problems: • Device requires AC power to be connected │ GUID: b6b0baa6-42bc-4710-9102-3a6af0eb8654 │ Device Flags: • Internal device │ • System requires external power source │ • Needs a reboot after installation │ • Device is usable for the duration of the update │ • Updatable │ Device Requests: • Message │ ├─UEFI Device Firmware: │ Device ID: a083ebc5138e5e071ef7270cc9a8280722cc7adf │ Summary: UEFI ESRT device │ Current version: 12713984 │ Minimum Version: 57374 │ Vendor: DMI:LENOVO │ Update State: Success │ Problems: • Device requires AC power to be connected │ GUID: 09f77c9f-1c5d-4616-bafb-bbb19f557480 │ Device Flags: • Internal device │ • System requires external power source │ • Needs a reboot after installation │ • Device is usable for the duration of the update │ • Updatable │ Device Requests: • Message │ ├─UEFI Device Firmware: │ Device ID: 5bfc5b91c18ef8b751d3d052af77b69ebf738038 │ Summary: UEFI ESRT device │ Current version: 4 │ Vendor: DMI:LENOVO │ Update State: Success │ Problems: • Device requires AC power to be connected │ GUID: 240cf38f-3985-42c5-b77b-8e4bdaf0fcc1 │ Device Flags: • Internal device │ • System requires external power source │ • Needs a reboot after installation │ • Device is usable for the duration of the update │ • Updatable │ Device Requests: • Message │ └─UEFI Platform Key: Device ID: 6924110cde4fa051bfdc600a60620dc7aa9d3c6a Summary: Lenovo Ltd. PK CA 2012 Vendor: Lenovo Ltd. GUID: 71599d14-9b31-5270-b3bd-74c494585820 ← UEFI\CRT_9AEF2123F4DE7C19AFABD909BB2C8CAC4411E07E ```

Additional questions

hughsie commented 9 months ago

Where did you get n3arl02w.cab from please?

jinek commented 9 months ago

Where did you get n3arl02w.cab from please?

https://pcsupport.lenovo.com/in/en/products/laptops-and-netbooks/thinkpad-x-series-laptops/thinkpad-x1-yoga-7th-gen-type-21cd-21ce/downloads/driver-list/component?name=Motherboard%20Devices%20%28Backplanes,%20core%20chipset,%20onboard%20video,%20PCIe%20switches%29&id=FB762CAD-DE8B-49C2-A04B-809B4958F608

jinek commented 9 months ago

Where did you get n3arl02w.cab from please?

Sorry, here is direct link:

https://download.lenovo.com/pccbbs/mobiles/n3arl02w.zip

hughsie commented 9 months ago

@mrhpearson if the Lenovo team still insist on doing this, they do need to set up the requirements properly: https://lvfs.readthedocs.io/en/latest/metainfo.html#using-chid

If they use the LVFS it auto-adds the correct requirements.

mrhpearson commented 9 months ago

The uploading of cab files to the Lenovo site is being stopped - should be LVFS only. It should be in place already, but I won't be surprised if we get a few updates still - especially on older platforms.

Regardless - this one is (I think) from Nov 2022, so definitely before the change :)

@jinek - please use LVFS for updating from Linux. I did check and this version, and a newer one, are there. The reasons for the cab file being on the Lenovo site are historical and no longer apply.

hughsie commented 9 months ago

@mrhpearson thanks!