[laptop-mode] Wrong hdparm setting applied after resume

Arthur Archnix arthur.archnix at gmail.com
Thu Jul 3 19:03:20 CEST 2008


This is a multi-part message in MIME format.
--------------020806050407020003060200
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

I've followed the conversation about this on launchpad, but haven't seen it arise on Debian Lenny as of yet, except for 
my own problems with it that is.

The problem being that after resume from suspend an hdparm value of 128 is always applied. Removing then re-inserting 
the ac power applies the correct settings. Or, if you resume on battery simply plugging in the ac-power will apply the 
correct settings. So, this is really only a problem when resuming on battery. In all other respects laptop-mode is 
working quiet well. Thanks much for the iwl powersave stuff!

I've attached text files of laptop-mode.conf, hdparm.conf, output of hdparm -I /dev/sda and a text file of all installed 
apps. The important ones to note - I think - are that I don't have acpi or acpi-tools installed. Everything but this one 
little bothersome thing is working so well, even without them, that I'm afraid of messing something more important up by 
installing them.

Let me know what other information I can provide. Here's some basic info, and I noticed that I don't have at least one 
of the recommends, apmd. But this laptop is pretty new, and my understanding was that apm was disabled in the newer 
kernels by default anyway.

Some basic info:
================

Debian Lenny/Testing 2.6.24-1-686

arthur at archnix:~$ aptitude show laptop-mode-tools
Package: laptop-mode-tools
State: installed
Automatically installed: no
Version: 1.42-1
Recommends: acpid | apmd | pbbuttonsd | pmud, hdparm, sdparm, hal


Best,
Arthur

--------------020806050407020003060200
Content-Disposition: inline;
 filename="laptop-mode.conf"
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

An embedded and charset-unspecified text was scrubbed...
Name: laptop-mode.conf
Url: http://mailman.samwel.tk/pipermail/laptop-mode/attachments/20080703/4b0e3896/attachment-0001.ksh 

--------------020806050407020003060200
Content-Disposition: inline;
 filename="hdparm.conf"
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

An embedded and charset-unspecified text was scrubbed...
Name: hdparm.conf
Url: http://mailman.samwel.tk/pipermail/laptop-mode/attachments/20080703/4b0e3896/attachment-0003.txt 

--------------020806050407020003060200
Content-Disposition: inline;
 filename="installed_apps.txt"
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

An embedded and charset-unspecified text was scrubbed...
Name: installed_apps.txt
Url: http://mailman.samwel.tk/pipermail/laptop-mode/attachments/20080703/4b0e3896/attachment-0004.txt 

--------------020806050407020003060200
Content-Disposition: inline;
 filename="hdparm_I.txt"
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

An embedded and charset-unspecified text was scrubbed...
Name: hdparm_I.txt
Url: http://mailman.samwel.tk/pipermail/laptop-mode/attachments/20080703/4b0e3896/attachment-0005.txt 

--------------020806050407020003060200--


More information about the laptop-mode mailing list