I have on laptop compaq pressario 706EA with one via chipset, so to work well I had remove APIC (Adv programming interrupt control) and I found this patch on http://www.linux-on-laptops.com, that works perfectly with kernel 2.4.18 + acpi 20020611 + kacpid20020611-2.4.18
patch-acpi-acpi20020611-swsusp8.gz doesnt change great things and I dont understand why i cant suspend my machine, etc.. to compile with patch-acpi-acpi20020611-swsusp8.gz I had to add suspend.h to buffer.c like this pacth shows. *** linux-2.4.18/fs/buffer.c.orig Sat Jun 29 01:12:27 2002 --- linux-2.4.18/fs/buffer.c Sat Jun 29 00:57:19 2002 *************** *** 47,52 **** --- 47,53 ---- #include <linux/highmem.h> #include <linux/module.h> #include <linux/completion.h> + #include <linux/suspend.h> #include <asm/uaccess.h> #include <asm/io.h> My acpi is working good since that I apply this pacth I have more 1/2 hour of battery and power down completely and reboots well. as you can see: sergio@darkstar:~#cat acpitbl Signature: FACP Length: 116 Revision: 0x01 Checksum: 0xb3 OEMID: COMPAQ OEM Table ID: EAGLES OEM Revision: 0x06040000 Creator ID: PTL_ Creator Revision: 0x000f4240 FIRMWARE_CTRL: 0x0defffc0 DSDT: 0x0defb667 INT_MODEL: 0x00 SCI_INT: 10 SMI_CMD: 0x0000802f ACPI_ENABLE: 0xf0 ACPI_DISABLE: 0xf1 S4BIOS_REQ: 0xf2 PM1a_EVT_BLK: 0x00008000 PM1b_EVT_BLK: 0x00000000 PM1a_CNT_BLK: 0x00008004 PM1b_CNT_BLK: 0x00000000 PM2_CNT_BLK: 0x00000000 PM_TMR_BLK: 0x00008008 GPE0_BLK: 0x00008020 GPE1_BLK: 0x00000000 PM1_EVT_LEN: 4 PM1_CNT_LEN: 2 PM2_CNT_LEN: 0 PM_TM_LEN: 4 GPE0_BLK_LEN: 4 GPE1_BLK_LEN: 0 GPE1_BASE: 0 P_LVL2_LAT: 90 P_LVL3_LAT: 900 FLUSH_SIZE: 0 FLUSH_STRIDE: 0 DUTY_OFFSET: 0 DUTY_WIDTH: 4 DAY_ALRM: 0x7d MON_ALRM: 0x7e CENTURY: 0x7f Flags: 0x00000 bye PS works with acpid from acpid.sf.net but to compile and install this acpi I done something like this: make make rmp and install from the acipd-i386.rpm and works I can catch all events buttons like this from /var/log/messages Jul 3 04:54:52 darkstar kernel: [ACPI Debug] String: ==== Fn+F3 hot key handler ==== Jul 3 04:54:52 darkstar kernel: [ACPI Debug] String: Change between LCD, CRT, or both LCD and CRT displays Jul 3 04:54:52 darkstar kernel: [ACPI Debug] String: --------- VIA SOFTWARE SMI PMIO 2Fh ------------ Jul 3 04:54:53 darkstar kernel: Detected lost ACPI interrupt or from /var/log/acpid [Wed Jul 3 04:57:24 2002] received event "button/sleep SLPB 00000080 00000001" [Wed Jul 3 04:57:24 2002] completed event "button/sleep SLPB 00000080 00000001" Sergiomb
kacpid-20020611-2.4.18.diff.gz
Description: GNU Zip compressed data
