[mythtv-users] REGRESSION: mythbackend 0.25 does not recover firewire connection without restart anymore

Peter Bennett cats22 at comcast.net
Thu May 3 23:39:04 UTC 2012


On 5/3/2012 11:14 AM, Gerald Brandt wrote:
>> I suggest try running plugreport from the command line before and
>> after
>> the power-off, to see if maybe the port is changing, or some other
>> parameter is getting reset. If the port is changed or the n_p2p is
>> reset
>> this may be preventing the backend from connecting.
>>
>> Another suggestion - set the wakeup for 5 minutes early, then have a
>> script that checks plugreport for a good connectionto the firewire,
>> then
>> restarts the backend. I am not sure how you will kick off this script
>> at
>> wake-up time, there probably are several ways to do this.
>>
>> My experience is that I cannot use sleep. I think that my USB QAM
>> tuners
>> prevent sleep. If I try to suspend, the machine hangs. So I shut down
>> the server and use ACPI wakeup to reboot with a 5 minutes early
>> setting.
>> This works well, it may be preferable to using a suspend.
>>
>> I have a bunch of scripts for checking the status of firewire and
>> other
>> things, and sending emails and text messages if something is
>> disconnected of failing. I can share them if they may be useful.
>>
>> Peter
> Yes, please share.
>
> Gerald
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>

My scripts are here - this is a work in progress - I am reworking them
for 0.25 so they may not work perfectly at this time. I have an earlier
version running successfully on 0.24. There is also some testing stuff,
patches, executables, etc.  Look in install/opt/mythtv for the scripts.
Parameters for the scripts are in install/etc/opt/mythtv.

https://www.dropbox.com/sh/2pxr0wo8lax4720/_S-zDs9Qsm


Peter



More information about the mythtv-users mailing list