4

Does the Raspberry Pi 4 have a hardware watchdog timer like the RPi3 does? If it does, which kernel module should I load in order to use it?

I'm running Raspbian Buster, kernel 4.19.93-v7l+

Thanks.

  • 1
    What kernel module do you load on the Pi 3 to enable the watchdog? – Botspot Feb 5 at 20:20
  • Hi @tiqmj, Yes, Rpi4B has hardware watchdog preinstalled: "Rpi3B+ / Rpi4B Watchdog and LM2956 / LM2941 PSU Remote Control Problem" - raspberrypi.stackexchange.com/questions/99584/…. Good luck and cheers. – tlfong01 Feb 6 at 1:30
  • @Botspot according to this, bcm2835_wdt. Altough maybe the preferred way is to use /boot/config.txt like @Milliways sugests. – tlqmj Feb 6 at 12:21
1

Do NOT attempt to load ANY modules.

Add dtparam=watchdog=on to config.txt and Device Tree will load the module.

NOTE you also need to enable the watchdog service. See https://raspberrypi.stackexchange.com/a/68332/8697

|improve this answer|||||
  • 1
    Is it smart, in general, to never load any modules? What's wrong/dangerous about it? – Botspot Feb 6 at 12:54
0

Ok, after some testing it seems like the watchdog module is loaded by default. To check for yourself, see if /dev/watchdog exists.

This is the guide what worked for me.

|improve this answer|||||
  • Please accept your own answer with a click on the tick on its left side. Only this will finish the question and it will not pop up again year for year. – Ingo Feb 12 at 19:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.