RE: nova-t 500 progress?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
>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



_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux