FS#20317 - [laptop-mode-tools] doesn't set automatic Power Management Settings

Attached to Project: Arch Linux
Opened by RicardoH (richer) - Thursday, 29 July 2010, 20:33 GMT
Last edited by Eric Belanger (Snowman) - Wednesday, 04 August 2010, 01:34 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Laptop-mode-tools doesn't set automatic Power Management Settings. I set this settings in /etc/laptop-mode/laptop-mode.conf:

#
# Power management for HD (hdparm -B values)
#
BATT_HD_POWERMGMT=254
LM_AC_HD_POWERMGMT=255
NOLM_AC_HD_POWERMGMT=255

When the laptop is on AC, the settings apply correctly, but when i plug out the cable (so change to Battery), the APM values change to 1, contrary to 254 in the settings above. Then if i restart laptop-mode manually (/etc/rc.d/laptop-mode restart) the settings apply in battery mode. Also if i change the settings with hdparm (hdparm -B 254 /dev/sda) it also works.

Maybe is a problem with ACPI management, but i can't be sure where exactly begin to happen.

Even if i active Verbose mode in laptop-mode syslog, it says that on battery change hdparm -B 254 /dev/sda. Soo...


Additional info:
* package version(s)
Name : laptop-mode-tools
Version : 1.55-1
* My laptop is a Dell XPS M1330. I upload my laptop-mode config file

Steps to reproduce:
- Start laptop-mode daemon normally with AC connected
- Disconnect the cable changing to battery mode
- Confirm APM levels with hdparm -I /dev/sda
This task depends upon

Closed by  Eric Belanger (Snowman)
Wednesday, 04 August 2010, 01:34 GMT
Reason for closing:  Not a bug
Comment by Eric Belanger (Snowman) - Tuesday, 03 August 2010, 23:40 GMT
My laptop no longer works so i can't really test/debug the package so I'll probably need to ask another dev about it.

At first glance, I'm not sure if this is really a bug or a configuration issue, i.e. the default config is not working with your hardware/setup. It would probably be better to report this upstream and see what they'll say about it.
Comment by RicardoH (richer) - Wednesday, 04 August 2010, 00:46 GMT
Update! Update! i made some test and is not laptop-mode-tools related, is KDE related, Powerdevil i assume. I test the situation with openbox and it works fine. Maybe this bug report must be closed and another bug opened for KDE. I try to research more the powerdevil situation

Loading...