Posts: 4,549
Joined: Dec 2007
Reputation:
17
topfs2
Team-Kodi Developer
Posts: 4,549
2009-11-05, 09:16
(This post was last modified: 2009-11-05, 09:24 by topfs2.)
XBMC Doesn't call a resume script, this is up to the OS to handle. In karmic this is handled by DeviceKit.Power and probably down to pm-utils. So ubuntuforums is a great start.
You can call a script using System.Exec Builtin function, look in wiki about it. But you probably shouldn't do that and instead get to the root of your issues over at ubuntuforums.
If you have problems please read
this before posting
Always read the
XBMC online-manual,
FAQ and
search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the
forum rules.
For troubleshooting and bug reporting please make sure you
read this first.
"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Posts: 1,722
Joined: Sep 2009
Reputation:
20
so why does everyone say look up /etc/acpi/resume.d for resume scripts?
Ubuntu is supposed to execute every script in that folder upon resume.
Posts: 4,549
Joined: Dec 2007
Reputation:
17
topfs2
Team-Kodi Developer
Posts: 4,549
2009-11-05, 17:24
(This post was last modified: 2009-11-05, 19:44 by topfs2.)
This isn't a XBMC problem I'm locking this, please search and discuss over at ubuntuforums.org instead.
EDIT: To clarify some more, XBMC calls DeviceKit.Power or HAL depending on subsystem underneath used, if those systems does not call the resume script something is wrong, and either way it's not XBMC related per say and as such it's better discussed on other forums were it's more likely to be fixed. If I get a good enough reason to unlock it I ofcourse will but as it stands now I see no reason for it to be here.
If you have problems please read
this before posting
Always read the
XBMC online-manual,
FAQ and
search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the
forum rules.
For troubleshooting and bug reporting please make sure you
read this first.
"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."