2015-09-09, 09:18
Hi all,
I'm running Kodi 15.1 on Ubuntu 15.04. As PVR-Server I'm using DVBLink with a Cine S2.
As shutdown-function I have selected "suspend" in the Kodi settings.
Now I have the Problem, that my custom suspend/resume script in the director /lib/systemd/system-sleep/ don't work like a similar script in ubuntu 14.04 in the directory /etc/pm/sleep.d/.
If I use "pm-suspend" on the console like the standard in ubuntu 14.04, kodi suspend and resume perfect.
The skipt in /etc/pm/sleep.d/ will unload my CineS2 driver and shutdown DVBLink on suspend and loads the driver and start DVBLink again on resume.
If I use "systemctl suspend" on the console like the standard in ubuntu 15.04, kodi can't play TV after resume, because there are problems with unloading/loading driver while playing TV and problems with the start of DVBLink.
As a workaround I would like to execute pm-suspend instead of "systemctl suspend" when the shutdown-function is executed.
Is there a way to change the behavior?
Thanks in advance for your help.
Best Regards,
Marc
I'm running Kodi 15.1 on Ubuntu 15.04. As PVR-Server I'm using DVBLink with a Cine S2.
As shutdown-function I have selected "suspend" in the Kodi settings.
Now I have the Problem, that my custom suspend/resume script in the director /lib/systemd/system-sleep/ don't work like a similar script in ubuntu 14.04 in the directory /etc/pm/sleep.d/.
If I use "pm-suspend" on the console like the standard in ubuntu 14.04, kodi suspend and resume perfect.
The skipt in /etc/pm/sleep.d/ will unload my CineS2 driver and shutdown DVBLink on suspend and loads the driver and start DVBLink again on resume.
If I use "systemctl suspend" on the console like the standard in ubuntu 15.04, kodi can't play TV after resume, because there are problems with unloading/loading driver while playing TV and problems with the start of DVBLink.
As a workaround I would like to execute pm-suspend instead of "systemctl suspend" when the shutdown-function is executed.
Is there a way to change the behavior?
Thanks in advance for your help.
Best Regards,
Marc