Thanks Don for your suggestions. 

I have tried playing with the delays by various means:
- relative delays: waiting after (what I believe to be) late services like :
After=syslog.target network.target

- absolute delays:
ExecStartPre=/bin/sleep 60
TimeoutSec=100s

- insering delays directly inside the C code.

None of those 3 tentatives made improvement. Like if the timing wasn't the 
problem...
Could it be some access grant problem at the time the service is allocated 
(and not when it starts) ?

Note the C code to access device tree is as follow:
    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;
    }


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.

Reply via email to