[mythtv-users] How wakeup detects manual/auto poweron
John.Veness.myth at pelago.org.uk
Thu Aug 9 20:49:07 UTC 2007
Brian Steele wrote:
> On 8/8/07, Michelle Dupuis <support at ocg.ca> wrote:
>> Can someone explain how on powerup, myth can detect whether it was started
>> by ACPI wakeup, or by manual powerup?
>> The manual powerup starts myth in the FE, while acpi wakeup starts myth in
>> the Welcome screen.
> I believe Myth looks at the upcoming recordings to decide how it was
> started. If you have the "stay on x minutes before recording" setting
> set to 20 minutes, then any upcoming recording scheduled within the
> next 20 minutes will cause myth to think it was started automatically.
> If there are no upcoming recordings in that window, myth thinks it
> was started manually.
I wonder if there could be a more elegant way of doing this, maybe by
comparing the current time with the wakeup time stored in the BIOS?
John Veness, MythTV user, UK, DVB-T
More information about the mythtv-users