Tim Crawford
Tim Crawford
Possibly addressed by https://github.com/pop-os/system76-driver/pull/265 until fixed in firmware.
May be resolved by https://github.com/system76/ec/pull/464.
Caused by `kbled_reset` being called in `power_cpu_reset`, which happens on S3. https://github.com/system76/ec/blob/1046dd7aec37409d0c077ea925856bc3c2a70b81/src/board/system76/common/power.c#L347-L357
Removing the `kbled_reset()` call by itself does not resolve the problem. If I unload system76-acpi, the keyboard turns on with the same color it suspended with, before turning off again...
KB backlight is also being [reset by ACPI `WAK`](https://github.com/system76/coreboot/blob/fbccafec553f8382403aa6ec36b57ba0e35458c0/src/ec/system76/ec/acpi/ec.asl#L94-L95).
It's hard-coded to be enabled in coreboot (`VtdDisable` in `src/soc/intel/alderlake/romstage/fsp_params.c`).
coreboot is primarily statically configured. There first needs to be a mechanism to be able to modify the FSP params that isn't CMOS options; There's an MR for [using edk2...
We don't have any AMD-based boards with coreboot support (ref system76/coreboot#53).
Looks like `Timeout` is useless in edk2 because it overwrites it with `PcdPlatformBootTimeOut` on every boot.
EC locking is enabled on TGL and later.