On Mon, 2015-09-14 at 17:48 +0200, Tomas Janousek wrote:
> Well, but the important thing is whether you're seeing a message
> without
> "[unchanged]" in it after resuming.  It's quite possible that in your
> use case
> (resuming in a different AC state) laptop_mode will be invoked in a
> way not to
> remain "unchanged". But I'm concerned with an entirely different use
> case:
> 
> - suspend
> - do nothing at all, especially don't touch the AC cable
> - resume
> - wait a minute
> - not hear the annoying spinning drive any more
> 
> For this use case, invoking laptop_mode force is necessary, as the
> drive
> doesn't remember the sleep timeouts and the kernel doesn't care about
> them at
> all.  And I rather suspect that there may be other things that
> laptop_mode
> sets that are forgotten after a resume, but I may be wrong.


I haven't been able to reproduce it here on my setup. But since you do
have a workaround, I'm going to keep this bug open, but will look at it
at a later stage.

In the meantime, if you can come up with a patch, I'll be happy to take
it.


-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to