Closed Kitsok closed 9 months ago
Thanks, I'll look at getting a patch merged to fix it.
@amboar @Kitsok Fixed in https://github.com/openbmc/phosphor-led-sysfs/commit/001e2a3daddc8b06de9356aa0b4f08244e66a4bf#diff-e6b01ccef09208403be631419c06a3a118dba0cb3cd6e0c35e3bee59043e6f8dR41-R42
Could you please close this issue?
Hi all!
If LED blinks when led controller is starting (timer in /sys/class/led/.../trigger), its' state is not set correctly in D-Bus. This leads to inability to switch it off directly without prior switching on. It's caused by following if block inPhysical::driveLED function physical.cpp :
To fix this I've added set of state in "trigger" branch of setInitialState():