-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No shutdown via LibCEC #14883
Comments
Thanks for the report, I'll have a look into it. |
I actually found the bug/a workaround. When I go to settings->system->power saving and set "shutdown function" to shutdown it actually works. So it seems the cec adapter settings "listen" to this setting instead of what is explicitly configured there. |
I'm not sure if there is much we can do about that or if it would be ok to override the |
I understand, but the way the CEC adapter settings are presented now are misleading. It suggest you can choose between quit and shutdown there, when in reality it depends on another setting. |
Could this issue be related to: |
@lrusak I guess you'd have to rewire the shutdown logic such that it actually uses the CEC configuration value when receiving the CEC event. |
I ran into the same issue. I believe just rephrasing the related item in the CEC adapter config, e.g. |
Hi everybody, Tested on nexus 20.2 on windows and 20.3 on librelec(linux based) and the issue stills the same. But I found a workaround... On the menu port saving, add a timer for shutting down at 5 minutes on the function "shutdown function timer " And then power the TV. |
Bug report
Describe the bug
I use a USB-cec adapter. When the TV is switched off I want the htpc (nuc8i3) to turn off as well. Therefore I configered "When the TV is switched off: Shutdown" in the Settings-System->Input->Peripherals-CEC adapter config.
However the htpc does not shutdown when I turn the TV off, but the Kodi application stops and the HTPC stays on (shows the ubuntu desktop). This is the same behaviour as when I choose "quit" in the "When the TV is switched off: " config of the CEC adapter.
When I choose "Power off system" from the "Power Options" menu it does shut down.
When I choose either hibernate or sleep from the "When the TV is switched off: " config it does actually hibernate or sleep.
I use Ubuntu 18.04 with Kodi 18 beta 5.
In Kodi 17.5 Libreelec it was working fine.
Expected Behavior
Here is a clear and concise description of what was expected to happen:
The pc should shutdown when I power off the TV as set in the configuration.
Actual Behavior
Kodi quits, but PC stays on.
Possible Fix
?
To Reproduce
Steps to reproduce the behavior:
Debuglog
The debuglog can be found here:
https://pastebin.com/9fc0W80L
Screenshots
Additional context or screenshots (if appropriate)
Your Environment
Used Operating system:
Android
iOS
Linux
OSX
Raspberri-Pi
Windows
Windows UWP
Operating system version/name: Ubuntu 18.04
Kodi version: 18 beta 5
note: Once the issue is made we require you to update it with new information or Kodi versions should that be required.
Team Kodi will consider your problem report however, we will not make any promises the problem will be solved.
The text was updated successfully, but these errors were encountered: