Re: [linux-pm] [RFC] Add some hooks to generic suspend code

From: Pavel Machek
Date: Wed Jun 01 2005 - 03:23:19 EST


Hi!

> > Why do you need it? Do you initiate suspend without userland asking
> > you to?
>
> Because there is an existing API, via /dev/apm_bios, and that's all X
> understands ! And because I've always done that ;)

Try stopping doing that ;-).

[On i386, we do not emulate apm, and it still works. Reason is that we
switch to other console before suspend, so X has to give up
framebuffer control, anyway.]

Pavel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/