[Solved] use Raspberry Pi watchdog with volumio?

Hi to all,

I’d like to the Raspberry Pi hardware watchdog to automatically reboot the system in case it is crashed.

I tried to start with blank volumio 1.3 (webradio works) and then:

$ sudo modprobe bcm2708_wdog
$ echo "bcm2708_wdog" | sudo tee -a /etc/modules
$ sudo apt-get update
$ sudo apt-get install watchdog

$ sudo vi /etc/watchdog.conf
# uncomment the following lines 
watchdog-device        = /dev/watchdog
max-load-1             = 24

$ sudo /etc/init.d/watchdog restart

The watchdog seems to work, but it is not possible to use webradio over HTML interface after reboot.
Everything loads and looks ok, but there is no audio playback working.

cheers
SirHenry

Sorry, I’m not very good at linux - made a few more tests:

$ sudo modprobe bcm2708_wdog
$ echo "bcm2708_wdog" | sudo tee -a /etc/modules

Activating bcm2708_wdog already breaks volumio.
/var/log/mpd/mpd.log says:
ALSA lib pcm_hw.c:1667:(_snd_pcm_hw_open) Invalid value for card
May 12 23:14 : alsa_output: Failed to open “Output” [alsa]: Failed to open ALSA device “hw:0,0”: No such file or directory.

Is it possible to the hardware watchdog timer with volumio?
Or are there any hardware conflicts with the audio playback?

Hey, its me again :wink:

Got it working (somehow) by connecting an external DAC to the USB port.
Audio playback while running watchdog is possible now.

Using audio over HDMI is still not possible.
So if anyone has a solution how to run watchdog AND onboard audio, I’d still be interested.

grz
SirHenry