2022-11-20, 15:06
Hallo to the community
Iam running Kodi with zero issues here on freebsd absolutely stable. I can suspend resume from xorg with no problem at all,as the acpi works!! But in Kodi there are only poweroff, reboot, exit buttons but no suspend button.
i edited /usr/local/etc/polkit-1/localauthority/50-local.d/custom-actions.pkla
and added :
[Actions for KODI users]
Identity=kodi:kodi
Action=org.freedesktop.upower.*
ResultAny=yes
ResultInactive=no
ResultActive=yes
Also i install doas and did the following :
permit persist :video #kodi user has to belong this group, or it does not have hw acceleration for graphics
permit nopass kodi as root cmd reboot
permit nopass kodi as root cmd shutdown
I cannot make it suspend though, any suggestions would be aprecciated.
Iam running Kodi with zero issues here on freebsd absolutely stable. I can suspend resume from xorg with no problem at all,as the acpi works!! But in Kodi there are only poweroff, reboot, exit buttons but no suspend button.
i edited /usr/local/etc/polkit-1/localauthority/50-local.d/custom-actions.pkla
and added :
[Actions for KODI users]
Identity=kodi:kodi
Action=org.freedesktop.upower.*
ResultAny=yes
ResultInactive=no
ResultActive=yes
Also i install doas and did the following :
permit persist :video #kodi user has to belong this group, or it does not have hw acceleration for graphics
permit nopass kodi as root cmd reboot
permit nopass kodi as root cmd shutdown
I cannot make it suspend though, any suggestions would be aprecciated.