I have a Compaq Armada 7800 running mostly potato, a freshly-compiled 2.2.14 kernel, and an off-the-shelf 3.0 apmd. The apm kernel options enabled are:
# CONFIG_APM_IGNORE_USER_SUSPEND is not set CONFIG_APM_DO_ENABLE=y CONFIG_APM_CPU_IDLE=y CONFIG_APM_DISPLAY_BLANK=y CONFIG_APM_POWER_OFF=y CONFIG_APM_IGNORE_MULTIPLE_SUSPEND=y CONFIG_APM_IGNORE_SUSPEND_BOUNCE=y CONFIG_APM_RTC_IS_GMT=y CONFIG_APM_ALLOW_INTS=y My problem is, my laptop won't stay asleep. When I put it to sleep (pressing the poweron/suspend button above the keyboard), it reliably wakes up between twenty-nine and thirty-one minutes later. I believe that this was initially because I left it connected to the internet while I put it to sleep. Consequentially, when my ISP dropped the connection due to inactivity, it would wake my laptop up. When I figured this out, I dropped the connection before I put to sleep, and waited to see if it woke up again. (At the time, I did not have CONFIG_APM_ALLOW_INTS enabled.) When I came back from running errands a couple of hours later, I found that the computer was completely hung. It wouldn't wake up via the sleep/wakeup button, nor would it listen to the power switch (which is just a slider, not a rocker switch). I had to unplug it and remove the battery to get it to turn off. Now that I've enabled CONFIG_APM_ALLOW_INTS, it wakes up after 29 to 31 minutes again. A sample entry from my syslog is Jan 8 13:48:01 erudite /USR/SBIN/CRON[305]: (root) CMD (run-parts --report /etc/cron.minutely) Jan 8 13:49:01 erudite /USR/SBIN/CRON[311]: (root) CMD (run-parts --report /etc/cron.minutely) Jan 8 13:49:07 erudite cardmgr[131]: executing: './network suspend eth0' Jan 8 13:49:07 erudite cardmgr[131]: executing: './serial suspend ttyS3' Jan 8 13:49:07 erudite apmd[151]: User Suspend Jan 8 14:20:00 erudite cardmgr[131]: executing: './network resume eth0' Jan 8 14:20:01 erudite apmd[151]: Normal Resume after 00:30:54 (100% unknown) AC power Jan 8 14:20:01 erudite cardmgr[131]: executing: './serial resume ttyS3' Jan 8 14:20:01 erudite apmd[151]: Now using AC Power Jan 8 14:20:52 erudite /USR/SBIN/CRON[364]: (root) CMD (run-parts --report /etc/cron.minutely) Jan 8 14:20:52 erudite /USR/SBIN/CRON[365]: (root) CMD (test -f /proc/modules && /sbin/rmmod -a) What could be causing this? -- Kerne

