firmware-lenovo
firmware-lenovo copied to clipboard
updating FW when using external display (laptop lid is closed) / Lenovo X1 Carbon gen10
Hi, would it be possible to allow updating the FW when using external display (so laptop lid is closed), Lenovo X1 Carbon gen10?
I could theoretically try faking the lid state through:
echo open > /sys/module/button/parameters/lid_init_state
But would like to check with you first. Maybe that's generally not recommended? :-)
# fwupdmgr update
...
Devices with the latest available firmware version:
• Battery
Embedded Controller is not currently updatable: Device cannot be used while the lid is closed
# fwupdmgr get-updates
...
─System Firmware:
│ │ Device ID: a083ebc5138e5e071ef7270cc9a8280722cc7adf
│ │ Summary: UEFI ESRT device
│ │ Current version: 0.1.37
│ │ Vendor: Lenovo (DMI:LENOVO)
│ │ Update State: Success
│ │ Problems: • Device cannot be used while the lid is closed
│ │ GUIDs: 34d84f45-4685-4019-b7e3-dba67b96ef7d
│ │ 230c8b18-8d9b-53ec-838b-6cfc0383493a ← main-system-firmware
│ │ 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
# fwupdmgr update 34d84f45-4685-4019-b7e3-dba67b96ef7d
System Firmware is not currently updatable: Device cannot be used while the lid is closed
Might be similar to: https://github.com/fwupd/firmware-lenovo/issues/315#issuecomment-1422127817
I could theoretically try faking the lid state through:
While that works for the OS, applying the capsule means rebooting -- and the EFI pre boot environment has it's own way of checking if the display is alive unfortunately.