Hi,
I currently trying to add support of suspend mode for hyperion.ng.
I added two signals in hyperion, one for suspend, one for resume.
On suspend I turn off the leds, on resume I turn it on:
Code
CoreELEC:~/.config/sleep.d # ./hyperion-suspend.power pre
Going to suspend...
[hyperiond ComponentRegister] <DEBUG> <ComponentRegister.cpp:67:componentStateChanged()> LED device: disabled
CoreELEC:~/.config/sleep.d # ./hyperion-suspend.power post
Resume from suspend...
[hyperiond ComponentRegister] <DEBUG> <ComponentRegister.cpp:67:componentStateChanged()> LED device: enabled
But the leds are remaining on!? They are not getting updated but they are still on. When I send the resume signal the leds are chaninging like before.
This line should be called because of the signal:
https://github.com/hyperion-pr…ddevice/LedDevice.cpp#L42
I just call:
Code
_hyperion(Hyperion::getInstance();
_hyperio->handleComponentState(hyperion::COMP_LEDDEVICE, true/false);
Why are the leds not off (black)?