Re: APM poweroff under Linux 2.4.7 / 2.4.2 RH 7.1

Stephen Rothwell (sfr@canb.auug.org.au)
Mon, 13 Aug 2001 17:42:04 +1000


Hi Riley,

On Thu, 9 Aug 2001 08:34:51 +0100 (BST) Riley Williams <rhw@MemAlpha.CX> wrote:
>
> Of the many patches theein, the enclosed TWO are the only ones that
> touch apm.c so they are the patches you may need to consider. I'd
> certainly be interested in your comments thereon.

I have seen both these patches. The first is not relevant (it just changes
how we register a sysreq key). The second has the effect of NOT using
the real mode power off code unless both CONFIG_APM_REAL_MODE_POWER_OFF
was set at kerne configure time AND "apm=realmode" was specified on the
kernel command line at boot time.

So those having trouble powering off with 2.4.[78] when the Red Hat kernel
did power off, should try building their kernels with
CONFIG_APM_REAL_MODE_POWER_OFF NOT selected.

Cheers,
Stephen Rothwell
IBM OzLabs - Linux Technology Centre
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/