Thanks Don for the suggestions.
I tried different flavours:
1- relative delays: start after (what I believe to be) late services
After=syslog.target network.target
2- absolute delays:
ExecStartPre=/bin/sleep 60
TimeoutSec=100s
3- including large delays inside C.
None worked. It's like it is not linked to the timing itself...
*Could some access grant stuff be defined at the time the service is
scheduled, rather than at the time the service actually starts ?*
Or maybe, I do something wrong in my C code ? not adequate at boot up ?
Here is an example.
fd_len = snprintf(buf, sizeof(buf), "%s/period",
"/sys/devices/ocp.3/pwm_test_P9_14.16");
fd = open(buf, O_WRONLY);
if (fd < 0) {
perror("pwm/period");
printf("pwm/period, %s", buf);
return fd;
}
Additional help would be much appreciated :-)
Le lundi 28 juillet 2014 22:45:31 UTC+2, don a écrit :
>
> On 07/28/2014 01:06 PM, BubbleBone wrote:
>
> Actually all the details were given in the first message.
> I even had the impression that I put too much of details and made it
> unreadable ... which may explain why I didn't get any answer :-)
>
> Let me know if you need any detail which is not in the initial message.
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>
> Find out the proper service to make it start after using
>
> After=
>
> for example (will not solve yours)
>
> After=systemd-user-sessions.service
>
> There is a bunch of things for much further control I would recommend
> further reading of systemd service files.
>
> For example you have no Type
>
> You have things like Wants= Requires=
>
> Things like Requires= does not imply After=
>
>
>
>
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.