You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm fairly new to the linux/embedded space but need to implement the watchdog for our SOM. So far I have successfully compiled and installed the module and am able to use the watchdog, but want to know if I am using the correct commands as the driver was intended. I will need to implement this using C#, and plan to run these commands using a C# Process object. Is there a better way to use the watchdog functionality?
To enable and feed the watchdog from the terminal, I am using: echo 1 > /dev/watchdog1
To stop the watchdog, I use: echo 0 > /dev/watchdog1
To change the timeout from the default, I use: rmmod imanager_wdt insmod /lib/modules/$(uname -r)/extra/imanager/imanager_wdt.ko timeout=60
This seems to work just fine, but I wanted to know if these commands are the correct usage or if there is a better way.
Thanks in advance
The text was updated successfully, but these errors were encountered:
I'm fairly new to the linux/embedded space but need to implement the watchdog for our SOM. So far I have successfully compiled and installed the module and am able to use the watchdog, but want to know if I am using the correct commands as the driver was intended. I will need to implement this using C#, and plan to run these commands using a C# Process object. Is there a better way to use the watchdog functionality?
To enable and feed the watchdog from the terminal, I am using:
echo 1 > /dev/watchdog1
To stop the watchdog, I use:
echo 0 > /dev/watchdog1
To change the timeout from the default, I use:
rmmod imanager_wdt
insmod /lib/modules/$(uname -r)/extra/imanager/imanager_wdt.ko timeout=60
This seems to work just fine, but I wanted to know if these commands are the correct usage or if there is a better way.
Thanks in advance
The text was updated successfully, but these errors were encountered: