Skip to content

Commit

Permalink
fix watchdog when majestic crashes
Browse files Browse the repository at this point in the history
per wdt.ko:
```
parm=nodeamon:By default, a kernel deamon feed watchdog when idle, set 'nodeamon=1' to disable this. (default=0)
parmtype=nodeamon:int
```
as documented in OpenIPC/majestic#171, when majestic crashes, without `nodeamon=1` param to wdt kmod, camera does not automatically reboot.

Expected behavior is for majestic to feed the watchdog, and if majestic crashes, watchdog timer would expire and reset cpu, forcing host reboot.
  • Loading branch information
zerog2k authored Aug 22, 2024
1 parent 4b17c59 commit e883a96
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ insert_ko() {
insert_audio
echo "==== Your input Sensor type is $SENSOR ===="

insmod wdt.ko #nodeamon=1
insmod wdt.ko nodeamon=1

# system configuration
sysctl
Expand Down

0 comments on commit e883a96

Please sign in to comment.