Project

General

Profile

how to monitor the dvb device / watchdog

Added by JP T almost 10 years ago

Hi,

Sadly my dvb device isn't stable.
It's a Technisat USB DVB-S2 running debian-stable armhf with self-built kernel 3.17.2

How can I find if it is currentlly working or not?
How can I find out if tvh is able to use the device? (manually or automated)

Is there any way to watchdog the hardware?
I tried monit to monitor the existance of /dev/dvb/adapter0/
But this is not sufficient. Sometimes the files exist while tvh cannot recieve anything.

I figured out that sometimes the receiver crashes: it has to be switched off and on again before the modules may be reloaded successfully.
For this I ordered a small USB-Relay device that hopefuly will be able to cut the power to the receiver.

But before I can power cycle I must know when the device crashed.

any idea? watch syslog?

I am not a linux programmer. how would you create a watchdog script on linux?
Someone told in this forum monit isn't a stable solution...

btw, if I successfuly reloaded the modules, will tvh open the device by itself or do I have to restart tvh, too?

thanks for any help,

Jan