From: valvo <val...@vr...> - 2002-08-29 14:45:20
|
On Tue, Aug 27, 2002 at 02:55:25AM -0400, Giridhar Pemmasani wrote: > 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.=20 >=20 > --- 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; > =20 > /* only support S1 and S5 on kernel 2.4 */ > - if (state !=3D ACPI_STATE_S1 || state !=3D ACPI_STATE_S5) > + if (state !=3D ACPI_STATE_S1 && state !=3D ACPI_STATE_S5) > return AE_ERROR; > =20 > acpi_enter_sleep_state_prep(state); >=20 i don't understand the purpouses of this patch...can you be more explicit, = plz ? --=20 [ valvoline :: VRL Team :: s0ftpj :: freaknet Medialab :: GPG key available= ] [ key fingerprint :: - :: B7E2 48BC 705F AE8F 9ABE E422 076A 2561 1D67 B4D= D ] [ GPG key available on keyserver :: pgp.mit.edu :: with keyID :: 1D67B4DD := : ] |