I'm running RedHat 5.2 (with kernel 2.2.10) on a NEC Versa LX laptop. The BIOS is American Megatrends AMIBIOS, version 330000, 8/28/98. When I try to suspend to disk (hibernate), the screen blanks for a second and the hard drive spins but then the screen turns back on and the laptop doesn't finish suspending to disk. The kernel APM debug messages show that a suspend event occurs but then a normal resume event is received 8 seconds later. This happens both with and without apmd 2.4, and both with and without Stephen Rothwell's latest kernel APM patch. I don't have this problem under Windows 95, so it looks like a kernel APM problem. If I do a normal suspend and then unsuspend the laptop before trying to suspend to disk, the suspend to disk works. Suspend to disk continues to work until I reboot: No resume event is received by the kernel until I initiate a resume from the suspend to disk. Can anyone tell me why this might be happening? Is there a way to prevent the laptop from resuming within 8 seconds of a suspend event? Simply modifying the kernel apm.c code to ignore resume events that occur within 8 seconds of a suspend event (analogous to CONFIG_APM_IGNORE_SUSPEND_BOUNCE) doesn't seem to work. I'm guessing that something within the BIOS isn't getting initialized until I do a normal suspend. Here are the APM boot messages (with debugging turned on): apm: BIOS version 1.2 Flags 0x03 (Driver version 1.9) apm: entry f000:ef50 cseg16 f000 dseg 40 cseg len ffff, dseg len 100 cseg16 len 12 apm: Connection version 1.2 apm: AC on line, battery status high, battery life 100% apm: battery flag 0x01, battery life unknown Thanks! -Ted -- Ted Belding [EMAIL PROTECTED] University of Michigan Center for the Study of Complex Systems Homepage: http://www-personal.umich.edu/~streak/ PGP key: http://www-personal.umich.edu/~streak/pgp-key.html
