View Single Post
Posts: 3 | Thanked: 2 times | Joined on Jan 2014
#1554
Originally Posted by ajalkane View Post
Just a guess, perhaps device has not had time to fully exit power saving mode before you try syncing and the sync is not done when in power saving mode? If that is the case you can try to add some delay in the script.

If it works from command-line it should work from ProfileMatic. But you can also debug your scripts for example by writing the output of that dbus-send command to a file and inspecting what it says.
Many thanks for feedback. For your first comment, it is a good suggestion but I already have ~1 min delay after disabling PSM.

I agree that it should be working as the command line seem to be fully functional. Or atleast there should be a way to get it working. My feeling is that there may be some problems with command line parsing here as the dbus-send has long list of arguments ending with calendar ID string inside single quotes. But on the other hand, I am rather inexperienced linux user so this may be incorrect. Furthermore,I have to confess that I have been testing many of the options using the easy easy way, that is, using Profilematic's test button and the checking if I see the sync arrow to appear onscreen. Could this explain the lack of success?