On Sat, Sep 21, 2013 at 03:11:48PM +0530, Ritesh Raj Sarraf wrote:
> On Saturday 21 September 2013 01:39 PM, Adam Lee wrote:
> > As $subject, laptop-mode-tools should do some works before suspend or
> > after resume, but it is not triggered now.
> >
> > For example, "Power management for HD (hdparm -B values)" setting will
> > get lost after resume, that value will be reset to default value, 128.
> 
> That'd be very surprising. LMT does act on suspend and resume. Assume
> you suspend while on ac, resume on battery, you want to trigger the
> power saving settings. LMT does take care of it.

What if suspend on ac and resume on ac, but some settings changed? How
about reloading or restarting LMT after every resume to workaround?

> Do you think you might have something else interfering? Any other power
> management tool ?

Yes, this might be a kernel bug, that value is not saved and restored
correctly.

I throught it was a "LMT & systemd" issue because SysVinit with pm-utils
worked fine. I get it now, LMT under SysVinit doesn't do that, a script
delivered by hdparm package does, /usr/lib/pm-utils/power.d/95hdparm-apm

-- 
Adam Lee
http://adam8157.info


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to