[PATCH] fd.o bug #7165: Make HAL work with S1 - Standby

David Zeuthen david at fubar.dk
Fri Aug 4 12:34:35 PDT 2006


On Fri, 2006-08-04 at 19:01 +0200, Danny Kukawka wrote:
> Hi,
> 
> this patch adds, as requested in fd.o bug #7165 [1], support for standby (S1) 
> to HAL. This is useful on older machines, which not work e.g. with 
> suspend2ram (S3) but support standby (S1).

So, I think instead of adding a new method Standby() which in many ways
is similar to Suspend(), we should rather have a white-list of those
broken machines and just do ACPI S1 on them instead of ACPI S3. 

After all, conceptually S1 and S3 are totally similar, I can't imagine
when you want to go S1 instead of S3 [1].

How about that?

    David

[1] : maybe to reduce latency on wakeup but that sounds like an
implementation detail rather than something we should expose in the
interface that end-user apps use. 

E.g. if we have a nice interface to the kernel we could say "put the
machine to sleep - first go to S1, after 30 minutes go to S3 and after
to hours go to S4". Unfortunately we don't have that just now.





More information about the hal mailing list