fwupd / firmware-lenovo

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

Error "Use the MCU to update the DMC device" with `ThinkPad Universal Thunderbolt 4 Dock` #273

Closed drahnr closed 2 years ago

drahnr commented 2 years ago

Describe the bug

There is no update path for the "ThinkPad Universal Thunderbolt 4 Dock"

Consequences are that I am hitting a known and fixed issue in a later firmware update regarding issues in multiscreen setups where EDID information is corrupted.

Steps to Reproduce

├─ThinkPad Thunderbolt 4 Dock:
│ │   Device ID:          c50d19eb8a842a9776858e143510d2b26de06066
│ │   Current version:    10.10
│ │   Vendor:             Lenovo (USB:0x17EF)
│ │   Serial Number:      1S40B0ZDZJ08WA
│ │   GUIDs:              8d30b09f-bcc5-5379-bc65-9ccceeece1f4 ← USB\VID_17EF&PID_30B4
│ │                       ba3efaf3-4e18-5209-aa15-1401537203a3 ← USB\VID_17EF&PID_30B4&REV_0200
│ │                       275e4695-9b4e-5263-835e-8681bec8cd1a ← USB\VID_17EF&PID_30B4&CID_40B0
│ │   Device Flags:       • Updatable
│ │                       • System requires external power source
│ │                       • Device stages updates
│ │                       • Signed Payload
│ │ 
│ ├─Audio Controller:
│ │     Device ID:        dc7c890bd6722b24e7ee5f2c35e3d729e2c6ad58
│ │     Current version:  49-0E-41
│ │     Vendor:           Lenovo (USB:0x17EF)
│ │     GUID:             e1443fec-2b49-5bd0-b921-662ed11e88df ← USB\VID_17EF&PID_30B4&CID_AUDIO
│ │   
│ ├─Display Port 5:
│ │     Device ID:        ab264811c2a64d1ded0076c78bdaebd7b0d527fd
│ │     Current version:  5.06.002
│ │     Vendor:           Lenovo (USB:0x17EF)
│ │     GUID:             755e347f-4ae7-53f8-ad69-45b3e9145ed8 ← USB\VID_17EF&PID_30B4&CID_DP5x
│ │   
│ ├─Display Port 6:
│ │     Device ID:        88ddeedd067f018c6e0263230ea2ce4fbdb5e676
│ │     Current version:  6.04.000
│ │     Vendor:           Lenovo (USB:0x17EF)
│ │     GUID:             a7b49eae-1c1d-5b83-ac90-9bbe78ee39c1 ← USB\VID_17EF&PID_30B4&CID_DP6x
│ │   
│ ├─Dock Management Controller:
│ │     Device ID:        3df62531bf83371b93125751f5aec7834236f16e
│ │     Current version:  0.1.91
│ │     Vendor:           Lenovo (USB:0x17EF)
│ │     GUID:             3edd934f-9800-59c9-b02a-11be480d72e5 ← USB\VID_17EF&PID_30B4&CID_DMC
│ │   
│ ├─Dock Management Controller:
│ │     Device ID:        4d25aff9108407039b1120921eb5b00d95cd9d70
│ │     Current version:  21.9
│ │     Vendor:           Lenovo (USB:0x17EF)
│ │     GUID:             c287973a-cc6b-5d2a-ac71-3956a512f73d ← USB\VID_17EF&PID_30B4&CID_MCU
│ │   
│ ├─Dock Management Controller Information:
│ │     Device ID:        65f3ac8ac9e7bdfae865e24a716e297c0696f0c6
│ │     Current version:  10.10
│ │     Vendor:           Lenovo (USB:0x17EF)
│ │     Serial Number:    1S40B0ZDZJ08WA
│ │     Update Error:     Use the MCU to update the DMC device
│ │     GUIDs:            697a6a95-464e-5b90-a46e-73beab89316e ← USB\VID_17EF&PID_30B5
│ │                       699805f6-a065-5806-a5a2-cf4c4c5c8d21 ← USB\VID_17EF&PID_30B5&REV_1010
│ │   
│ ├─Ethernet Adapter:
│ │     Device ID:        5b77c4c22cce1f5a895d882ded8e5ce792d0f9cc
│ │     Current version:  1.73.1
│ │     Vendor:           Lenovo (USB:0x17EF)
│ │     GUID:             abbc9b3e-43fe-538f-bfaf-b7e74b3fd47c ← USB\VID_17EF&PID_30B4&CID_I255
│ │   
│ ├─Power Delivery:
│ │     Device ID:        cfece361b188e708e823976613bc5638604ae514
│ │     Current version:  12.5.31
│ │     Vendor:           Lenovo (USB:0x17EF)
│ │     GUID:             e83aba6c-99b3-5e87-b982-ba57a1bf750f ← USB\VID_17EF&PID_30B4&CID_PD
│ │   
│ ├─Thunderbolt 4 Controller:
│ │     Device ID:        9b5a24ba7f8b7009554e60172dbb34ce9fdf0c70
│ │     Current version:  35.00.06
│ │     Vendor:           Lenovo (USB:0x17EF)
│ │     GUID:             d6408693-09a5-5f0f-b492-275b5ed16d10 ← USB\VID_17EF&PID_30B4&CID_TBT4
│ │   
│ ├─USB 2 Hub:
│ │     Device ID:        344c812c73acb87e40a579c1adb89601a28be104
│ │     Current version:  V1003
│ │     Vendor:           Lenovo (USB:0x17EF)
│ │     GUID:             4eab6a92-0ec3-5221-ac0b-c841655f7989 ← USB\VID_17EF&PID_30B4&CID_USB2
│ │   
│ └─USB 3 Hub:
│       Device ID:        725a1e17a946113f54a8e9864fe797fe44647724
│       Current version:  5533
│       Vendor:           Lenovo (USB:0x17EF)
│       GUID:             0e5b868b-34a4-5753-8f2e-fe5326494d7a ← USB\VID_17EF&PID_30B4&CID_USB3

The versions reference at lenovo are of the following format 1.0.9 or 1.0.11 etc:

There is also no firmware shown

Expected behavior A clear and concise description of what you expected to happen.

fwupd version information Please provide the version of the daemon and client.

fwupdmgr --version
runtime   org.freedesktop.fwupd         1.8.5
runtime   org.freedesktop.fwupd-efi     1.3
compile   org.freedesktop.gusb          0.3.10
runtime   com.hughsie.libjcat           0.1.12
runtime   org.kernel                    5.19.12-200.fc36.x86_64
runtime   com.dell.libsmbios            2.4
compile   com.hughsie.libjcat           0.1.12
compile   org.freedesktop.fwupd         1.8.5
runtime   org.freedesktop.gusb          0.3.10

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.

fwupdmgr get-devices --show-all-devices
LENOVO 21CQCTO1WW
│
├─ELAN0678:00 04F3:3195:
│     Device ID:          f8bebdac7d9634f3890f6f6cf3eec0908c2c700b
│     Summary:            Touchpad
│     Current version:    0x0003
│     Bootloader Version: 0x0002
│     Vendor:             HIDRAW:0x04F3
│     GUIDs:              4e8cda57-37ba-5dc6-b114-7610e38714e2 ← HIDRAW\VEN_04F3&DEV_3195
│                         85ef74b5-0975-50ae-9971-0781dc54b48c ← HIDRAW\VEN_04F3&DEV_3195&REV_00
│                         cc456594-6f7e-5d1b-82a6-b4558a813152 ← HIDRAW\VEN_04F3&DEV_3195&MOD_0006
│                         4b808d27-c833-50cc-8177-9a401f5c08fe ← ELANTP\ICTYPE_14
│                         d15e804c-570f-511b-803a-b38a4eddae29 ← ELANTP\ICTYPE_14&MOD_0006
│                         296e64f7-9e08-5717-bff2-651e41b0477e ← ELANTP\ICTYPE_14&MOD_0006&DRIVER_HID
│     Device Flags:       • Internal device
│                         • Updatable
│   
├─Unknown Device:
│     Device ID:          f685512aa07369c9e77742acef941d779d31e766
│     GUID:               37b440a9-2473-5087-a39b-db84f32a8ed8 ← GPIO\ID_AMDI0030:00
│   
├─Unknown Device:
│     Device ID:          48cdf390f0a1768e3fb0bcb10af8fcfb38e5d89e
│     Current version:    35.0
│     Vendor:             USB:0x8087
│     GUIDs:              b3f8b518-ebdd-5969-9b44-6b096eff5b9b ← USB\VID_8087&PID_0B40
│                         27f4ed60-ed53-52a7-ae28-ea87d9a23302 ← USB\VID_8087&PID_0B40&REV_1234
│                         350ec5bb-25c0-543e-8d4c-72c30d2b8df0 ← TBT-01082031
│     Device Flags:       • Updatable
│                         • Signed Payload
│   
├─Integrated Camera:
│     Device ID:          91c9a317b30acf7c0cd967f2ce6925d518ef19a7
│     Current version:    56.20
│     Vendor:             Chicony Electronics Co.,Ltd. (USB:0x04F2)
│     Serial Number:      0001
│     GUIDs:              bcd2c020-e315-55aa-b7e1-7d2d7108037e ← USB\VID_04F2&PID_B74F
│                         b687616d-e0bc-58d3-9022-8f0065eed4ca ← USB\VID_04F2&PID_B74F&REV_5620
│     Device Flags:       • Updatable
│   
├─Ryzen 7 PRO 6850U with Radeon Graphics:
│ │   Device ID:          4bde70ba4e39b28f9eab1628f9dd6e6244c03027
│ │   Current version:    0x0a404102
│ │   Vendor:             AMD
│ │   GUIDs:              b9a2dd81-159e-5537-a7db-e7101d164d3f ← cpu
│ │                       22f9ecf4-588d-5c0a-8326-6ebff3655c6d ← CPUID\PRO_0&FAM_19
│ │                       52f8f9af-1ca9-5352-bef4-ceb232c888a5 ← CPUID\PRO_0&FAM_19&MOD_44
│ │                       e94372a3-3ffb-5d1c-a579-c415b7313e52 ← CPUID\PRO_0&FAM_19&MOD_44&STP_1
│ │   Device Flags:       • Internal device
│ │ 
│ └─Secure Processor:
│       Device ID:        c54ab0237d7a8db8c717b68e0be78e4374a2a079
│       Vendor:           AMD (PCI:0x1022)
│       GUIDs:            9844da3e-1df2-52fe-9413-d4378af6221e ← PCI\VEN_1022&DEV_1649
│                         2f07ce4f-42d2-5848-a963-a58e6fcad38e ← PCI\VEN_1022&DEV_1649&REV_00
│                         fbbfd456-73f4-5488-a520-f5e4aaa5b9e1 ← PCI\VEN_1022&DEV_1649&SUBSYS_17AA50B4
│                         d71b44e0-1975-5614-91d1-d244b10f97ce ← PCI\VEN_1022&DEV_1649&SUBSYS_17AA50B4&REV_00
│       Device Flags:     • Internal device
│     
├─SKHynix HFS001TEJ9X102N:
│     Device ID:          03281da317dccd2b18de2bd1cc70a782df40ed7e
│     Summary:            NVM Express solid state drive
│     Current version:    51720A10
│     Vendor:             SK hynix (NVME:0x1C5C)
│     Serial Number:      SDB7N77321080840C
│     GUIDs:              bcfb6135-158b-5c97-a08c-a76de6c90dc4 ← NVME\VEN_1C5C&DEV_1959
│                         2680d1d5-0f04-5b63-9447-1539571ee4b3 ← NVME\VEN_1C5C&DEV_1959&REV_00
│                         021c33a7-8b6a-5ec2-a388-4c472df55c3f ← NVME\VEN_1C5C&DEV_1959&SUBSYS_1C5C1959
│                         2f57937c-7aab-59db-8ac1-eab912453a03 ← NVME\VEN_1C5C&DEV_1959&SUBSYS_1C5C1959&REV_00
│                         2ed2cb8d-2e90-5ff1-ba71-44fd321f82fc ← SKHynix_HFS001TEJ9X102N
│     Device Flags:       • Internal device
│                         • Updatable
│                         • System requires external power source
│                         • Needs a reboot after installation
│                         • Device is usable for the duration of the update
│                         • Signed Payload
│   
├─System Firmware:
│ │   Device ID:          d96de5c124b60ed6241ebcb6bb2c839cb5580786
│ │   Summary:            UEFI ESRT device
│ │   Current version:    0.1.21
│ │   Vendor:             Lenovo (DMI:LENOVO)
│ │   Update State:       Success
│ │   GUIDs:              6ab943b7-f4d4-aaa1-2f40-cb03a0c8cf3c
│ │                       230c8b18-8d9b-53ec-838b-6cfc0383493a ← main-system-firmware
│ │   Device Flags:       • Internal device
│ │                       • Updatable
│ │                       • 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
│ │ 
│ └─UEFI dbx:
│       Device ID:        362301da643102b9f38477387e2193e57abaa590
│       Summary:          UEFI revocation database
│       Current version:  217
│       Minimum Version:  217
│       Vendor:           UEFI:Linux Foundation
│       Install Duration: 1 second
│       GUIDs:            14503b3d-73ce-5d06-8137-77c68972a341 ← UEFI\CRT_A9087D1044AD18F7A94916D284CBC01827CF23CD8F60B79072C9CAA1FEF4D649
│                         5971a208-da00-5fce-b5f5-1234342f9cf7 ← UEFI\CRT_A9087D1044AD18F7A94916D284CBC01827CF23CD8F60B79072C9CAA1FEF4D649&ARCH_X64
│                         c6682ade-b5ec-57c4-b687-676351208742 ← UEFI\CRT_A1117F516A32CEFCBA3F2D1ACE10A87972FD6BBE8FE0D0B996E09E65D802A503
│                         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:          c6a80ac3a22083423992a3cb15018989f37834d6
│     Current version:    7.2.3.0
│     Vendor:             Nuvoton Technology (TPM:NTC)
│     GUIDs:              ff71992e-52f7-5eea-94ef-883e56e034c6 ← system-tpm
│                         fac1c8f3-73c8-5cd6-8330-07a3690b5140 ← TPM\VEN_NTC&DEV_0000
│                         2b17590c-d755-5c13-a7d4-f68fb0dcb4c4 ← TPM\VEN_NTC&MOD_NPCT75x"!"4rls
│                         e9ccc1dc-960a-5e09-afe9-e59a904b776d ← TPM\VEN_NTC&DEV_0000&VER_2.0
│                         5c410147-6fa3-5a6c-9386-c006959c7f91 ← TPM\VEN_NTC&MOD_NPCT75x"!"4rls&VER_2.0
│     Device Flags:       • Internal device
│   
├─ThinkPad Thunderbolt 4 Dock:
│ │   Device ID:          c50d19eb8a842a9776858e143510d2b26de06066
│ │   Current version:    10.10
│ │   Vendor:             Lenovo (USB:0x17EF)
│ │   Serial Number:      1S40B0ZDZJ08WA
│ │   GUIDs:              8d30b09f-bcc5-5379-bc65-9ccceeece1f4 ← USB\VID_17EF&PID_30B4
│ │                       ba3efaf3-4e18-5209-aa15-1401537203a3 ← USB\VID_17EF&PID_30B4&REV_0200
│ │                       275e4695-9b4e-5263-835e-8681bec8cd1a ← USB\VID_17EF&PID_30B4&CID_40B0
│ │   Device Flags:       • Updatable
│ │                       • System requires external power source
│ │                       • Device stages updates
│ │                       • Signed Payload
│ │ 
│ ├─Audio Controller:
│ │     Device ID:        dc7c890bd6722b24e7ee5f2c35e3d729e2c6ad58
│ │     Current version:  49-0E-41
│ │     Vendor:           Lenovo (USB:0x17EF)
│ │     GUID:             e1443fec-2b49-5bd0-b921-662ed11e88df ← USB\VID_17EF&PID_30B4&CID_AUDIO
│ │   
│ ├─Display Port 5:
│ │     Device ID:        ab264811c2a64d1ded0076c78bdaebd7b0d527fd
│ │     Current version:  5.06.002
│ │     Vendor:           Lenovo (USB:0x17EF)
│ │     GUID:             755e347f-4ae7-53f8-ad69-45b3e9145ed8 ← USB\VID_17EF&PID_30B4&CID_DP5x
│ │   
│ ├─Display Port 6:
│ │     Device ID:        88ddeedd067f018c6e0263230ea2ce4fbdb5e676
│ │     Current version:  6.04.000
│ │     Vendor:           Lenovo (USB:0x17EF)
│ │     GUID:             a7b49eae-1c1d-5b83-ac90-9bbe78ee39c1 ← USB\VID_17EF&PID_30B4&CID_DP6x
│ │   
│ ├─Dock Management Controller:
│ │     Device ID:        3df62531bf83371b93125751f5aec7834236f16e
│ │     Current version:  0.1.91
│ │     Vendor:           Lenovo (USB:0x17EF)
│ │     GUID:             3edd934f-9800-59c9-b02a-11be480d72e5 ← USB\VID_17EF&PID_30B4&CID_DMC
│ │   
│ ├─Dock Management Controller:
│ │     Device ID:        4d25aff9108407039b1120921eb5b00d95cd9d70
│ │     Current version:  21.9
│ │     Vendor:           Lenovo (USB:0x17EF)
│ │     GUID:             c287973a-cc6b-5d2a-ac71-3956a512f73d ← USB\VID_17EF&PID_30B4&CID_MCU
│ │   
│ ├─Dock Management Controller Information:
│ │     Device ID:        65f3ac8ac9e7bdfae865e24a716e297c0696f0c6
│ │     Current version:  10.10
│ │     Vendor:           Lenovo (USB:0x17EF)
│ │     Serial Number:    1S40B0ZDZJ08WA
│ │     Update Error:     Use the MCU to update the DMC device
│ │     GUIDs:            697a6a95-464e-5b90-a46e-73beab89316e ← USB\VID_17EF&PID_30B5
│ │                       699805f6-a065-5806-a5a2-cf4c4c5c8d21 ← USB\VID_17EF&PID_30B5&REV_1010
│ │   
│ ├─Ethernet Adapter:
│ │     Device ID:        5b77c4c22cce1f5a895d882ded8e5ce792d0f9cc
│ │     Current version:  1.73.1
│ │     Vendor:           Lenovo (USB:0x17EF)
│ │     GUID:             abbc9b3e-43fe-538f-bfaf-b7e74b3fd47c ← USB\VID_17EF&PID_30B4&CID_I255
│ │   
│ ├─Power Delivery:
│ │     Device ID:        cfece361b188e708e823976613bc5638604ae514
│ │     Current version:  12.5.31
│ │     Vendor:           Lenovo (USB:0x17EF)
│ │     GUID:             e83aba6c-99b3-5e87-b982-ba57a1bf750f ← USB\VID_17EF&PID_30B4&CID_PD
│ │   
│ ├─Thunderbolt 4 Controller:
│ │     Device ID:        9b5a24ba7f8b7009554e60172dbb34ce9fdf0c70
│ │     Current version:  35.00.06
│ │     Vendor:           Lenovo (USB:0x17EF)
│ │     GUID:             d6408693-09a5-5f0f-b492-275b5ed16d10 ← USB\VID_17EF&PID_30B4&CID_TBT4
│ │   
│ ├─USB 2 Hub:
│ │     Device ID:        344c812c73acb87e40a579c1adb89601a28be104
│ │     Current version:  V1003
│ │     Vendor:           Lenovo (USB:0x17EF)
│ │     GUID:             4eab6a92-0ec3-5221-ac0b-c841655f7989 ← USB\VID_17EF&PID_30B4&CID_USB2
│ │   
│ └─USB 3 Hub:
│       Device ID:        725a1e17a946113f54a8e9864fe797fe44647724
│       Current version:  5533
│       Vendor:           Lenovo (USB:0x17EF)
│       GUID:             0e5b868b-34a4-5753-8f2e-fe5326494d7a ← USB\VID_17EF&PID_30B4&CID_USB3
│     
├─UEFI Device Firmware:
│     Device ID:          a45df35ac0e948ee180fe216a5f703f32dda163f
│     Summary:            UEFI ESRT device
│     Current version:    22048
│     Minimum Version:    1
│     Vendor:             DMI:LENOVO
│     Update State:       Success
│     GUID:               196167cb-b4cf-4522-836c-c02795264159
│     Device Flags:       • Internal device
│                         • Updatable
│                         • System requires external power source
│                         • Needs a reboot after installation
│                         • Device is usable for the duration of the update
│   
├─UEFI Device Firmware:
│     Device ID:          349bb341230b1a86e5effe7dfe4337e1590227bd
│     Summary:            UEFI ESRT device
│     Current version:    196608
│     Minimum Version:    57374
│     Vendor:             DMI:LENOVO
│     Update State:       Success
│     GUID:               54cb734c-975c-4a74-9556-57ae6d9a2229
│     Device Flags:       • Internal device
│                         • Updatable
│                         • System requires external power source
│                         • Needs a reboot after installation
│                         • Device is usable for the duration of the update
│   
├─UEFI Device Firmware:
│     Device ID:          2292ae5236790b47884e37cf162dcf23bfcd1c60
│     Summary:            UEFI ESRT device
│     Current version:    532
│     Vendor:             DMI:LENOVO
│     Update State:       Success
│     GUID:               88523ddf-3aac-41f6-b15f-dc7bea434b39
│     Device Flags:       • Internal device
│                         • Updatable
│                         • System requires external power source
│                         • Needs a reboot after installation
│                         • Device is usable for the duration of the update
│   
├─UEFI Device Firmware:
│     Device ID:          f95c9218acd12697af946874bfe4239587209232
│     Summary:            UEFI ESRT device
│     Current version:    3
│     Vendor:             DMI:LENOVO
│     Update State:       Success
│     GUID:               21145403-2b9e-4fdf-8bca-f4328e402dc9
│     Device Flags:       • Internal device
│                         • Updatable
│                         • System requires external power source
│                         • Needs a reboot after installation
│                         • Device is usable for the duration of the update
│   
├─UEFI Device Firmware:
│     Device ID:          f37fb01122dd62c773f4e84ec89737e059712d59
│     Summary:            UEFI ESRT device
│     Current version:    1
│     Minimum Version:    1
│     Vendor:             DMI:LENOVO
│     Update State:       Success
│     GUID:               75d78aef-5e7f-0afe-b68a-aef4c52ccddd
│     Device Flags:       • Internal device
│                         • Updatable
│                         • System requires external power source
│                         • Needs a reboot after installation
│                         • Device is usable for the duration of the update
│   
├─UEFI Device Firmware:
│     Device ID:          36efb79c255f402f619fa9eb53cd659db51f2a04
│     Summary:            UEFI ESRT device
│     Current version:    65551
│     Minimum Version:    65551
│     Vendor:             DMI:LENOVO
│     Update State:       Success
│     GUID:               66d6a3ef-a771-4302-9cd0-d062c79c5ef2
│     Device Flags:       • Internal device
│                         • Updatable
│                         • System requires external power source
│                         • Needs a reboot after installation
│                         • Device is usable for the duration of the update
│   
├─UEFI Device Firmware:
│     Device ID:          11a7fbdd09ce583e58b899660fe10f147fd155a2
│     Summary:            UEFI ESRT device
│     Current version:    16908289
│     Minimum Version:    1
│     Vendor:             DMI:LENOVO
│     Update State:       Success
│     GUID:               1f640900-a998-40a4-a9ca-f8c6d6f4745f
│     Device Flags:       • Internal device
│                         • Updatable
│                         • System requires external power source
│                         • Needs a reboot after installation
│                         • Device is usable for the duration of the update
│   
├─UEFI Device Firmware:
│     Device ID:          a083ebc5138e5e071ef7270cc9a8280722cc7adf
│     Summary:            UEFI ESRT device
│     Current version:    117572352
│     Minimum Version:    117572352
│     Vendor:             DMI:LENOVO
│     Update State:       Success
│     GUID:               0b8282f0-4796-4cbc-9395-677ab9738050
│     Device Flags:       • Internal device
│                         • Updatable
│                         • System requires external power source
│                         • Needs a reboot after installation
│                         • Device is usable for the duration of the update
│   
└─USB4 host controller:
      Device ID:          b3577d6a456151fdc17c88c64a9fa126f8d423e4
      Summary:            Unmatched performance for high-speed I/O
      GUID:               e72e778e-94f7-5ed2-b560-1c1262ee217c ← TBT-fixed
      Device Flags:       • Internal device
                          • System requires external power source

Additional questions

drahnr commented 2 years ago

CC @fbatschi could you post your spec, iirc you already got an update for your dock via fwupdate? I suspect that it's either a different dock or there has been no firmware for a while

lohedges commented 2 years ago

There is currently no firmware for this dock in LVFS. As of yesterday (October 14th) there is no firmware available whatsoever, since Lenovo have pulled the Windows version. I only discovered this having finally got access to a Windows laptop in order to update. (What are the chances of the firmware being removed on the same day?)

Having found the latest firmware on the Internet Archive's WayBack machine it turns out that the update wouldn't have worked anyway due to the Digicert issue reported here. (This wasn't obvious since running the installer directly would silently fail. Only when extracting and running manually do you get a log file containing the certificate error.)

I tried getting info from Lenovo chat, but they obviously have no clue as to when an update will be available. This obviously has nothing to do with the fwupd team, just wanted to highlight what an absolute car crash the firmware situation is with this dock. Given the above, I doubt we'll be seeing anything in LVFS soon. I'm close to cutting my losses and going back to the working TB3 dock.

drahnr commented 2 years ago

For cross referencing ease, while somewhat related, https://forums.lenovo.com/t5/Fedora/Fedora-Linux-Thunderbolt-4-Dock-Update/m-p/5173614?page=1#5762965

mrhpearson commented 2 years ago

We have the FW for the USB-c and TBT3 dock (though I think that needs updating now) but not the TBT4 dock yet. The docking team are working on releasing it but hit some issues in the last round of testing that have delayed it being released.

I've asked for an update and ETA. Will try and remember to update here (and in the linked forum topic) but please nag me if you don't hear anything.

lohedges commented 2 years ago

Just to say that the v1.0.13 firmware installer has just been released for Windows and I have managed to update using a friend's Windows laptop. I'll let you know if it solves the flickering/drop-out issue, or any of the other problems that I have been experiencing. (From the README it looks like nothing of significance has changed since v1.0.11, which was released back in August, but didn't work because of the Digicert issue.)

lohedges commented 2 years ago

The firmware update appears to have fixed the flickering and drop-out issue. (I've not experienced any yet, at least.) However, the external displays are still not detected on boot and suspend / resume doesn't work either. (I've experienced a crash, a hang, and a resume with no detection of the external displays.) I have no such issues with the TB3 workstation dock.

mrhpearson commented 2 years ago

Thanks for the update. As a note (as this is the fwupd project) we are expecting that version to be released on LVFS at the beginning of November - there were some issues around 1.0.11 that needing resolving and delayed it being released. Which platform are you testing against - I couldn't spot it in the above.

lohedges commented 2 years ago

Thanks. I am running Arch Linux on a ThinkPad P1 Gen 5. I'm using the proprietary NVIDIA driver, with Optimus Manager managing the switching of graphics cards via the provided kernel parameters. Everything worked fine on the TB3 workstation dock that I was using before. I also have access to a P1 Gen 2 using the same setup and experience the exact same problem.

I recall reading reports of similar issues when I was first trying to debug, i.e. displays not detected on boot or resume. Will try to dig some links up tomorrow.

Happy to provide more system information if needed.

Cheers.

mrhpearson commented 2 years ago

OK - thanks. We haven't done the (Ubuntu) dock cert with the P1G5 yet (still wrapping up the platform enablement - dock cert comes after because docks are....complicated/painful/difficult). I was using my dock with a P1 G3 and G4 previously succesfully though. It's quite possible there are still fixes to come.

lohedges commented 2 years ago

Just an update to say that the screens have been rock-solid for the past few days following the firmware update. No flickering or drop-outs whatsoever.

Following some debugging, I've discovered that the disconnected external displays on boot results from the nvidia-drm modeset=1 option, which is enabled by default with optimus-manager, as it should be to prevent tearing with PRIME. On disabling this option the external displays are correctly detected as connected when the X server starts, but I experience screen flickering and drop-outs. (Much like before applying the latest firmware, in fact.)

I'm not sure if this is in any way related to the dock firmware, so have posted a question on the Arch Forums here, as well as the optimus-manager issue tracker. I might also post the same question on the Linux subsection of the NVIDIA developers forum.

Let me know if you have any thoughts. As mentioned, the exact same setup works with the Thunderbolt 3 Workstation Dock without issue.

lohedges commented 2 years ago

I spoke too soon. The graphical glitches returned today. Although less frequent than before, I am still experiencing an annoying level of flickering and complete drop-out. Coupled with the startup/resume issue, my solution is simply to return to using the TB3 workstation dock. I simply can't afford to waste any more time getting the TB4 dock to work correctly.

jonasbadstuebner commented 2 years ago

I need this update working too. Am I looking at the wrong place or is there still no support for the TB4 dock? (40B0) :/

mrhpearson commented 2 years ago

I'm not sure on the flickering issue; but on the FW update issue the last update from the dock team was:

After LVFS update to 1.8.6, one important notice in command window disappears. Looks like Linux update some setting in Oct which cannot fully compatible to our coding.

They're working on it but that's why it hasn't been released yet :(

jonasbadstuebner commented 2 years ago

Thank you @mrhpearson for this information. Hope this does not take too long...

I would like to share a "solution" (more of a workaround) that worked for me and I am working with right now. 2 external Monitors connected, one over DP, one over HDMI, no flicker. I have a P1 Gen 4 running (K)ubuntu 22.04 and the 40B0 dock (40B00300EU).

Don't take my words for a "How to get it working for you (for now)", but maybe it get's you on a path where it does work after some trial and error? Would make me happy to hear!

drahnr commented 2 years ago

I successfully updated my dockingstation - thanks @mrhpearson for following through :heart: , which was the initial concern of this issue. It never was intended as a place to rant about the state of the firmware itself or provide workarounds for the prior.

@mrhpearson you might want to direct people to a place where one can leave structured bugreports. I at least failed to find one after 5~ish support calls. I assume this repository is generally fine, but I am not sure.

Closing

norru commented 1 year ago

FYI, I have just observed this issue on

- ThinkPad Carbon X1 Gen11
- Debian Sid
- Linux thinkpad-x1-debian 6.1.0-9-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.27-1 (2023-05-08) x86_64 GNU/Linux
│ ├─Dock Management Controller Information:
│ │     Device ID:        b513cf41bc1e11e220c56fcec9b93006bb7a1bc1
│ │     Current version:  10.5
│ │     Vendor:           Lenovo (USB:0x17EF)
│ │     Serial Number:    1S40B1ZEZA08GV
│ │     Update Error:     Use the MCU to update the DMC device
│ │     GUIDs:            697a6a95-464e-5b90-a46e-73beab89316e ← USB\VID_17EF&PID_30B5
│ │                       9b2a0c77-248f-59ad-afa6-cee22caae03b ← USB\VID_17EF&PID_30B5&REV_1005
nico@thinkpad-x1-debian:~/Projects/itadinanta/rust-oids$ fwupdmgr --version
compile   org.freedesktop.fwupd         1.8.12
compile   com.hughsie.libxmlb           0.3.10
compile   com.hughsie.libjcat           0.1.9
runtime   org.freedesktop.fwupd-efi     1.4
compile   org.freedesktop.gusb          0.3.10
runtime   com.dell.libsmbios            2.4
runtime   org.freedesktop.gusb          0.4.5
runtime   org.kernel                    6.1.0-9-amd64
runtime   org.freedesktop.fwupd         1.8.12

I have installed the latest firmware by booting the device from Windows (double boot, Win11/Debian)

danpawlik commented 1 year ago

It seems that after update fwupd to 1.9.2:


compile   org.freedesktop.fwupd         1.9.2
compile   com.hughsie.libxmlb           0.3.11
compile   com.hughsie.libjcat           0.1.13
runtime   org.freedesktop.fwupd-efi     1.4
compile   org.freedesktop.gusb          0.4.5
runtime   com.hughsie.libjcat           0.1.13
runtime   org.freedesktop.gusb          0.4.5
runtime   org.freedesktop.fwupd         1.9.2
runtime   org.kernel                    6.4.0-0.rc5.41.fc39.x86_64

And fwupdmgr reinstall on dockstation it helps. No more issue.

│ ├─Dock Management Controller Information:
│ │     Device ID:        70835e1192ddb447c964de775916a4cd505ec3b3
│ │     Current version:  10.13
│ │     Vendor:           Lenovo (USB:0x17EF)
│ │     Serial Number:    1S40B0ZDZJ1LKT
│ │     GUIDs:            697a6a95-464e-5b90-a46e-73beab89316e ← USB\VID_17EF&PID_30B5
│ │                       bbb89bb3-2452-5ec3-a844-8679647079b5 ← USB\VID_17EF&PID_30B5&REV_1013

Earlier I was reinstalling the firmware on fwupd-1.8.15-1 and the update error still appears.

Glad that new version work well. Thank you!