Bug 113541 - /proc/sys/vm/laptop_mode not changed while running in powersave mode
Summary: /proc/sys/vm/laptop_mode not changed while running in powersave mode
Status: RESOLVED WONTFIX
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Mobile Devices (show other bugs)
Version: Beta 3
Hardware: Other All
: P5 - None : Normal
Target Milestone: ---
Assignee: Holger Macht
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-27 14:03 UTC by Andreas Jaeger
Modified: 2005-08-31 10:49 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Jaeger 2005-08-27 14:03:47 UTC
aj@x40:~> cat /proc/sys/vm/laptop_mode
0
aj@x40:~> powersave -a
ONLINE
aj@x40:~> powersave -a
OFFLINE
aj@x40:~> cat /proc/sys/vm/laptop_mode
0
powersave -x
Acoustic
Performance     AC_default_scheme
Powersave       active  battery_default_scheme
Presentation
Comment 1 Holger Macht 2005-08-30 15:12:52 UTC
We do not change any harddisk settings by default anymore. You can enable this
again with YaST or in /etc/sysconfig/powersave/scheme_*
So this is usual behaviour at the moment.
Comment 2 Forgotten User ZhJd0F0L3x 2005-08-30 16:10:37 UTC
And there are reasons for this:
- we had lots of "Drive ready, seek complete" messages in the logs on drives
that did not support power management (should be fixed, we now first check
capabilities before we set the mode)
- some machines (my Dell D600) locked up hard sometimes when the drive was spun
down and a disk access took place. I don't remember the bug #, axboe voted for a
hardware bug ;-) but we decided to be better safe than sorry.
Comment 3 Andreas Jaeger 2005-08-30 18:59:59 UTC
Holger, which variable do I have to change?  Do you mean DISK_STANDBY_MODE?
It is not clear which variable changes laptop_mode
Comment 4 Forgotten User ZhJd0F0L3x 2005-08-30 19:16:29 UTC
## Path:                System/Powermanagement/Powersave/Scheme/Performance
## Type:                list(performance,powersave,aggressiv_powersave,off)
## Default:             "off"
#
# Activates the Advanded Power Management function 
# of your IDE-disks, SCSI disks will be omitted.
# Setting this to "off" will skip this setting.
# 
DISK_STANDBY_MODE="powersave"


anything but "off" and "performance" will activate laptop mode (and APM of the
drive, if it supports it). Maybe i should reword the comment a little bit to
make this more clear (OTOH, i always wanted to decouple the APM settings from
the laptop-mode / remount settings)
Comment 5 Thomas Renninger 2005-08-31 10:35:56 UTC
Can we close this WONTFIX?
Comment 6 Andreas Jaeger 2005-08-31 10:46:44 UTC
yes, we can.
Comment 7 Forgotten User ZhJd0F0L3x 2005-08-31 10:49:57 UTC
aj, if you want a better configuration frontend etc, put it into the feature
document ;-)