From: valvoline <val...@ti...> - 2002-08-24 17:23:19
|
hi all, i follow the acpi thread under linux, since the first versions, actually i'm running a 2.4.19 box, under an asus L3860C laptop. I've tried the last patch for this kernel, and all works fine! (fans status, temperature, cpu throttling, etc.)...but sleep mode, doesn't work. i've tried the software suspend patch (swusp), but without any success. the system doesn't do nothing, even if i can see five sleep modes with a 'cat /proc/acpi/sleep'; it show me: S0, S1, S2, S3, S4, S5. I've checked for the ACPI_CONFIG_SLEEP, flag, and it's set to 'y'. I've tried all the five states, with a 'echo n > /proc/acpi/sleep', where n is the number (1,2,3,4,5,0), but without any success: It does nothing. reading this ml, i've learned, about a not well support of sleep states under 2.4.x, and many gurus suggests to use a 2.5.LAST kernel to use this functions. since, i need a well-known kernel, and the 2.4.19 is a very stable and efficent one for me, i've tried another way, to solve the problem: i've hacked the acpi.c and apm.c drivers files under the arch/i386/kernel, and i've bypassed some controls, to load both apm and acpi. Next, i've disabled the Battery, AC-Adapter and Button flags, from ACPI config. Under APM config, i've enabled the 'PM at boot time' and 'Enable console Blanking using APM'. the system seems to work properly (fans works fine, and are triggered wells), the thermal zone works fine, and....apmd suspend/standby WORKS! there're some problems, that i don't know, doing something like above ? suggests ?, comments ?...any will be welcome! thanx in advance. -- [ valvoline :: VRL Team :: s0ftpj :: freaknet Medialab :: GPG key available ] [ key fingerprint :: - :: B7E2 48BC 705F AE8F 9ABE E422 076A 2561 1D67 B4DD ] [ GPG key available on keyserver :: pgp.mit.edu :: with keyID :: 1D67B4DD :: ] |