[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ignore system APM suspend on AC power



Jaume: If you want system suspend requests to be ignored
while on ac power, what you would need to do is set
SUSPEND_ON_AC=false in /etc/apm/apmd_proxy.conf.
The default is "true".

Even so, that won't do it.  Current kernels do _not_
support the rejection of suspend requests.  It is not a
question of kernel configuration choices; the APM driver
just doesn't support this yet.

Chris: It would be a good idea to make the note

    exit 1 # Reject (NOTE kernel support must be enabled)

clearer.  You write:

> This note just means that you must have APM support compiled into
> the kernel and turned on.  From what you write that appears to be
> true.

but of course it is true whenever the apmd_proxy script is
running.  What you might want to say is:

    exit 1 # Reject suspend request
    # Note that this will only work on kernels that allow
    # user space to reject suspend requests.

--
Thomas

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: