[linux-dvb] nova-t 500 progress?

Richard Morris richard at tannery.co.uk
Thu May 17 12:55:28 CEST 2007


>
>Hi, 
>   It seems a great idea to me! Would you mind to share it? I'm quite a
noob in Linux and I'd be interested in having such a tool to perform
automatic >restarts of mythtv :D.

Eduard,

I use 2 of the Nova-T 500's with MythTV, I get about 4 disconnects a day
that either fill up the event log with messages like:

May 17 10:01:00 athlon mt2060 I2C read failed

and/or crash MythTV.

I run the following as a cron job every minute to restart MythTV which also
causes the card to reconnect again; presumably when MythTV is restarted it
closes whatever streams it was trying to read from the device.

if tail /var/log/messages | grep  -E '^[A-Z][a-z]{2}[ ]{1,2}[0-9]{1,2}[
][0-9]{2}:[0-9]{2}:[0-9]{2}[ ][a-z]+[ ]mt2060 I2C read failed'  ; then
/etc/init.d/mythbackend restart ; fi ; if ! ps -A | grep mythbackend >>
/dev/null ; then /etc/init.d/mythbackend restart ; fi

Regards

Richard Morris





More information about the linux-dvb mailing list