View Single Post
  #1  
Old 14th February 2012, 16:10
00schneider 00schneider is offline
Junior Member
 
Join Date: Feb 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Is the linux userspace qualified to trigger a watchdog?

Hello,

On my embedded board I have a watchdog which does a reset when it is not triggered longer than 1.5 seconds. I have a kernel module that controls that watchdog and I have the opportunity to trigger the watchdog from userspace via sysctl.
From time to time the board makes a reset (by watchdog) and I don't exactly know why.

I wrote a little program in userspace which contains nothing but a usleep(50) and time measurement before and after the operation (with clock_gettime(CLOCK_REALTIME, &mytime) ) and over 5 days I measured maximum values about 3 seconds.

So my question is: Is the linux userspace qualified at all to trigger a watchdog?
Reply With Quote
Sponsored Links