Hi,

On Sun, Sep 27, 2015 at 08:13:06PM +0530, Ritesh Raj Sarraf wrote:
> 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.

I've been quite happy with the workaround, and it's just one of many
workarounds I need to have on this system, so I can't promise much.  :-(

But there's another related issue, one you encountered already I think.  The
laptop_mode script executes its modules in the background and doesn't wait for
them.  But systemd kills all forked processes after a little while, and on my
laptop, this little while is a little bit too early for hdparm to do its job.
(And I may only wonder what else was left off.)  So I had to add "wait" just
after the "for SCRIPT in /usr/share/laptop-mode-tools/modules/* ...",
otherwise it was unpredictable what it would do.  That's something you might
want to add anyway.

-- 
Tomáš Janoušek, a.k.a. Pivník, a.k.a. Liskni_si, http://work.lisk.in/

Reply via email to