Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


apu_ubuntu

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
apu_ubuntu [2019/02/24 11:45] adminapu_ubuntu [2019/02/24 12:59] admin
Line 59: Line 59:
 EOF</code> EOF</code>
   * Update the initramfs:<code>update-initramfs -u</code>   * Update the initramfs:<code>update-initramfs -u</code>
 +  * Install watchdog:<code>apt install watchdog</code>
 +  * Add module to config:<code>vi /etc/default/watchdog 
 +# Load module before starting watchdog
 +watchdog_module="sp5100_tco"
 +</code>
 +  * Edit ''/etc/watchdog.conf'':<code>
 +watchdog-device = /dev/watchdog
 +</code>
   * Reboot to test:<code>dmesg | grep sp5100_tco</code>   * Reboot to test:<code>dmesg | grep sp5100_tco</code>
 +  * Kill watchdog, it should restart your system after some time:<code>pkill -9 watchdog
 +# if wd_keepalive is started, also kill that
 +pkill -9 wd_keepalive</code>
  
 ===PC speaker=== ===PC speaker===
apu_ubuntu.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1