public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* patch: acpi-20020821 fix?
@ 2002-08-27  6:55 Giridhar Pemmasani
       [not found] ` <15723.8797.507913.189282-KT8MnZFsUJrzAs+eN625g9BFLwJMpSEX@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Giridhar Pemmasani @ 2002-08-27  6:55 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

It seems that the following patch against drivers/acpi/system.c
is needed to get 'echo -n 5 > /proc/acpi/sleep' to work as
expected. 

--- system.c.orig   Tue Aug 27 02:42:17 2002
+++ system.c    Tue Aug 27 02:43:42 2002
@@ -110,7 +110,7 @@
    acpi_status status;
 
    /* only support S1 and S5 on kernel 2.4 */
-   if (state != ACPI_STATE_S1 || state != ACPI_STATE_S5)
+   if (state != ACPI_STATE_S1 && state != ACPI_STATE_S5)
        return AE_ERROR;
 
    acpi_enter_sleep_state_prep(state);


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-08-29 20:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-27  6:55 patch: acpi-20020821 fix? Giridhar Pemmasani
     [not found] ` <15723.8797.507913.189282-KT8MnZFsUJrzAs+eN625g9BFLwJMpSEX@public.gmane.org>
2002-08-29 14:44   ` valvo
     [not found]     ` <20020829144434.GB246-eODHXEvUBeUUXDL+gvDWyA@public.gmane.org>
2002-08-29 15:13       ` Matthew Wilcox
2002-08-29 15:20       ` Ville Syrjälä
     [not found]         ` <20020829182033.A23001-ORSVBvAovxo@public.gmane.org>
2002-08-29 20:47           ` valvo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox