Bug#659260: pm-utils: incompatible with /etc/sysctrl.conf and not obvious

2014-06-06 Thread Osamu Aoki
Hi, Thanks for applying my first patch. It has been 2 years. It is about time to fix this. I agree this first patch is the best option as I rethink. Let me comment on the hardcoded values. They were the same values in kernel then (2012/Feb) which should be 3.2.0 or 3.1.0. Osamu -- To UN

Bug#659260: pm-utils: incompatible with /etc/sysctrl.conf and not obvious

2014-06-02 Thread Martin Pitt
Hey Osamu, Osamu Aoki [2012-02-10 1:06 +0900]: > === Solution 1: simple fix === > > In laptop_mode, change laptop_mode_ac() function as follows. > > === > laptop_mode_ac() { > # disable laptop mode, set vm parameters back to sane defaults > if state_exists laptop_mode_default; then >

Bug#659260: pm-utils: incompatible with /etc/sysctrl.conf and not obvious

2012-02-09 Thread Osamu Aoki
Package: pm-utils Version: 1.4.1-9 Severity: normal Tags: patch === Problem and consideration === I was trying to set slow updates for my SSD on my laptop even under AC power # ssd_ac_mode default (for testing) vm.laptop_mode = 5 vm.dirty_ratio = 60 vm.background_ratio = 40 vm.dirt