login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
21
Re: [BUG?] APM is hidden in menuconfig
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Rafael J. Wysocki <rjw@...>
To: Jarek Poplawski <jarkao2@...>
Cc: <linux-kernel@...>
Subject:
Re: [BUG?] APM is hidden in menuconfig
Date: Wednesday, February 20, 2008 - 8:23 pm
On Wednesday, 20 of February 2008, Jarek Poplawski wrote:
quoted text
> Hi, > > I needed APM to have poweroff on old box. So, in 2.6.24.2 menuconfig: > > 1) Power management options --> > No APM. > 2) [*] Power Management support > No APM. I can see ACPI... > 3) I try searching with "/" + "APM" > APM [=n] > Depends on: !X86_VOYAGER && X86_32 && PM_SLEEP && !X86_VISWS > 4) I check above: all correct except: > Symbol: PM_SLEEP [=n] > No more "depends on". > 5) Exit menuconfig - enter grep: > 6) Some time wasting in arch/. > 7) less kernel/power/Kconfig: > config PM_SLEEP > bool > depends on SUSPEND || HIBERNATION > default y > ... > config SUSPEND > bool "Suspend to RAM and standby" > depends on PM > depends on SUSPEND_UP_POSSIBLE || SUSPEND_SMP_POSSIBLE > default y > ---help--- > Allow the system to enter sleep states in which main memory is > powered and thus its contents are preserved, such as the > suspend-to-RAM state (i.e. the ACPI S3 state). > > 8) Back to menuconfig: > [*] Suspend to RAM and standby > > Bingo! APM revealed! (And not even "DEPRECATED"!) > > So, has it to be so hard? It seems not - at least in good old times...
Something in APM uses some code from drivers/base/power/main.c that depends on PM_SLEEP. Thanks, Rafael --
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[BUG?] APM is hidden in menuconfig
, Jarek Poplawski
, (Wed Feb 20, 8:08 am)
Re: [BUG?] APM is hidden in menuconfig
, Rafael J. Wysocki
, (Wed Feb 20, 8:23 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
[GIT PATCH] driver core patches against 2.6.24
David Miller
Slow DOWN, please!!!
Peter Zijlstra
[PATCH 00/23] per device dirty throttling -v8
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Natalie Protasevich
[BUG] New Kernel Bugs
git
:
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
573 guests
online.
Online users
belgranos87
Syndicate