[mythtv] RFE: Allowing backend to trigger S3 sleep while frontend is connected and idle

Michael T. Dean mtdean at thirdcontact.com
Sat Oct 1 19:58:32 UTC 2011


On 09/26/2011 02:53 PM, Stuart Morgan wrote:
> On Monday 26 Sep 2011 20:44:59 Lawrence Rust wrote:
>> I have found that some dvb cards from various kernel versions require
>> re-opening in mythbackend after recovery from S3.  This is certainly
>> true of the Nova-S and tbs6981 with kernels from 2.6.36 thru 3.0.  It's
>> especially important if some dvb modules have to be unloaded for
>> suspend.  Does this patch cater for that?  At present I use an ACPI
>> script to restart the backend which is clumsy.
> Right now I'm only working on allowing the backend to shutdown (or sleep if so
> configured) if frontends are idle, thus removing the need to use workarounds
> such as mythwelcome. Having the backend handle sleep better isn't something I
> plan on working on at this time.

Besides, the actual shutdown can--and should for "special case 
hardware"--be done with a script.  Just because there's a dbus shutdown 
that integrates with your desktop-environment shutdown doesn't mean 
MythTV needs hacks to deal with the intricacies of different hardware 
shutdown/suspend requirements.  It means that either a) the DE needs to 
handle those cases or b) you need to handle them with a custom shutdown 
script.

Mike


More information about the mythtv-dev mailing list