[mythtv-users] Check DVB device
dennis
deg at outlook.com
Sun May 3 14:39:54 UTC 2015
On 05/03/2015 07:26 AM, Stephen Worthington wrote:
> On Sun, 3 May 2015 13:19:40 +0200, you wrote:
>
>> Hello,
>>
>> I have some problems with DVB USB devices, sometimes it crash and I need to
>> reboot the backend to use it. Here is a dmesg output when it happens:
>> http://paste.debian.net/170723/
>>
>> I am using Debian Jessie with 3.16.0-4-amd64 kernel.
>>
>> Is there any way to check if the device is wrong?
>>
>> The problem is that it occurs and if there is a recording, it doesn't
>> record.
>>
>> I want to check with a script if it happerns and do a fast reboot.
>>
>> Best regards.
>
I have a similar problem with a saa7164 PCI based card (HVR-2250).
Every once or twice a year, the card just stops working.
I have i no symptoms until the backend actually tries to access the
card. Nothing in any log, until a recording is supposed to start, and
fails.. I just have cron grep for the failure in the backend log and
reboot. This catches it quickly and I only miss about 2 minutes of the
show.
I run the following from cron at 01 and 31 minutes past the hour on the
backend.
DVBSTAT=`grep "Failed to open DVB frontend device"
/var/log/mythtv/mythbackend.log`
if [ ! "$DVBSTAT" = "" ]
then
echo "REBOOTING BECAUSE of $DVBSTAT"
stop mythtv-backend
/sbin/reboot
fi
More information about the mythtv-users
mailing list