Bug 19610 - apm flags '-i' and '-n' don't work
Summary: apm flags '-i' and '-n' don't work
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: apmd   
(Show other bugs)
Version: 7.0
Hardware: i386 Linux
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: Aaron Brown
Depends On:
TreeView+ depends on / blocked
Reported: 2000-10-23 15:24 UTC by Joe Krahn
Modified: 2007-04-18 16:29 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-10-24 08:28:13 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Joe Krahn 2000-10-23 15:24:46 UTC
apm has flags '-i' and '-n' to enable/disable system suspend.
These appear to be no longer relevant for newer kernels, so the
functionality is compiled out with #ifdef APM_IOC_IGNORE statements,
but the usage message and manpage both suggest that this 
feature is still there.

While this could be quickly fixed with another #ifdef or two,
it would be nice if apm could control/query state settings to
pass to the apmd proxy script. It would be good to have a set
of variables and available settings in /etc/apm.conf, so that
adding features to apm control doesn't mean rewriting apm.

I came across this when trying to figure out how to use a laptop
with an external keyboard, mouse and monitor plugged in, and be
able to close the lid without suspending. This is similar to using
an real docking bay, which may or may not benefit from more apm

Thanks, Joe Krahn

Comment 1 Bernhard Rosenkraenzer 2000-10-24 08:28:08 UTC
We actually have a set of variables and available settings. It's in /etc/sysconfig/apmd. (config files specific to Red Hat Linux usually are in /etc/sysconfig, and the base package doesn't support this sort of stuff).

Fixing up the man page now...

Comment 2 Bernhard Rosenkraenzer 2000-11-02 12:39:16 UTC
Fixed in 3.0final-24

Note You need to log in before you can comment on or make changes to this bug.