[Bug 74394] Re: power.sh should allow laptop_mode to do it's thing

2008-08-18 Thread Tormod Volden
acpi-support (0.110) intrepid; urgency=low * Let laptop-mode-tools run properly (closes LP: #250938) - power.sh: remove laptop-mode invocations, should be handled by pm-utils - acpi-support: remove SPINDOWN_TIME, should be controlled by laptop-mode ** Changed in: acpi-support (Ubuntu)

[Bug 74394] Re: power.sh should allow laptop_mode to do it's thing

2008-07-11 Thread Joss Winn
Running Hardy on a Dell D430. I've installed the laptop-mode-tools upstream deb package from the maintainer's website on his suggestion. It's seems to be widely acknowledged that good laptop power management in Ubuntu is broken. With the upstream Debian package, things appear to be working but

[Bug 74394] Re: power.sh should allow laptop_mode to do it's thing

2008-06-12 Thread Alexey Borzenkov
I was applying a similar patch for a while now and didn't have any problems (of course you'd have to apply my patch from bug #239419). I was going to finally report it, but found this bug. It is shocking that this wasn't fixed for 1.5 years. O.o Oh well, if developers don't care I guess we'll

[Bug 74394] Re: power.sh should allow laptop_mode to do it's thing

2008-06-10 Thread Tormod Volden
Yes, upstream went away from using start/stop to only use auto some time ago. But a patch was kept in the Ubuntu version to retain the start/stop options, probably because of interactions with acpi-support. I am not sure if this patch is needed any longer. Testing would be welcome, as well as

[Bug 74394] Re: power.sh should allow laptop_mode to do it's thing

2008-06-10 Thread Jason
Seems this old bug has regained a lot of attention these days. I'm just wondering why the original patch by Roy is kept back, for so long. The logic is crystal clear and It works perfectly well. And this bug still doesn't have an assignee? -- power.sh should allow laptop_mode to do it's thing

[Bug 74394] Re: power.sh should allow laptop_mode to do it's thing

2008-06-09 Thread Roy Badami
AFAICS you should *never* call $LAPTOP_MODE start (or stop). You should always use $LAPTOP_MODE auto (which will then honour the config file preferences). -roy -- power.sh should allow laptop_mode to do it's thing https://bugs.launchpad.net/bugs/74394 You received this bug notification because

[Bug 74394] Re: power.sh should allow laptop_mode to do it's thing

2008-06-07 Thread Tormod Volden
chourave, I didn't attach a new script, but a patch for it. A patch only includes the changes, and you have to apply it with: sudo patch -i power.sh.patch /etc/apci/power.sh (or just hand-edit the power.ch yourself, and move $LAPTOP_MODE start to the bottom of the laptop_mode_enable function)

[Bug 74394] Re: power.sh should allow laptop_mode to do it's thing

2008-06-07 Thread chourave
ok Tormod, thank you for patching my linux knowledge !! Your solution is simpler than mine : I have an additionnal logical condition evaluation to distinguish between the laptop-mode script and the laptop_mode_enable function if [ x$ENABLE_LAPTOP_MODE = xtrue ]; then (sleep 5

[Bug 74394] Re: power.sh should allow laptop_mode to do it's thing

2008-06-07 Thread Tormod Volden
Yes, they will be applied twice, but that shouldn't be a problem. If we want to have this changed in Hardy (StableReleaseUpdate) then the change has to be minimal. These things have been changed again upstream and will look different in Intrepid. Which reminds me that I already have installed the

[Bug 74394] Re: power.sh should allow laptop_mode to do it's thing

2008-06-07 Thread Tormod Volden
Never mind, it was pm-utils I had upgraded, and not acpi-support. Please also see bug #89269, I wonder if this bug is a duplicate of that one. -- power.sh should allow laptop_mode to do it's thing https://bugs.launchpad.net/bugs/74394 You received this bug notification because you are a member

[Bug 74394] Re: power.sh should allow laptop_mode to do it's thing

2008-06-07 Thread Tormod Volden
Daniel Hahler, you worked on this AFAICS: Doesn't it make sense to call $LAPTOP_MODE start _after_ the hdparm settings in /etc/acpi/power.sh? -- power.sh should allow laptop_mode to do it's thing https://bugs.launchpad.net/bugs/74394 You received this bug notification because you are a member of

[Bug 74394] Re: power.sh should allow laptop_mode to do it's thing

2008-06-06 Thread chourave
I agree with Roy description. Everything worked fine under Gutsy with kernel 2-6-22-14, I have just upgraded my kernel : installing 2-6-24-16. It fixes my resume problem, but now laptop-mode is broken. 1. In order to control everything using laptop-mode.conf, I used to enable laptop-mode both

[Bug 74394] Re: power.sh should allow laptop_mode to do it's thing

2008-06-06 Thread Tormod Volden
Yes, this is horribly broken in Ubuntu 8.04. I guess it would help if power.sh does its settings _before_ it calls laptop_mode, so that laptop_mode's settings will prevail. Please test the patch and report whether it helps for you. ** Attachment added: call laptop_mode *after* doing its own power

[Bug 74394] Re: power.sh should allow laptop_mode to do it's thing

2008-06-06 Thread chourave
Sorry Tormod, your script seems not be complete... In fact power.sh doen't really call laptop mode, it call two functions defined at the beginning of the script: laptop_mode_enable and laptop_mode_disable -- power.sh should allow laptop_mode to do it's thing

[Bug 74394] Re: power.sh should allow laptop_mode to do it's thing

2008-02-26 Thread Tormod Volden
AFAICS, this is the same in Hardy. I am not sure how much power.sh is in use, but it looks wrong as it is. ** Description changed: Binary package hint: acpi-support - In 6.06.1 LTS, /usr/acpi/power.sh explicitly calls + In 6.06.1 LTS, /etc/acpi/power.sh explicitly calls laptop_mode

[Bug 74394] Re: power.sh should allow laptop_mode to do it's thing

2007-11-04 Thread Jason
Indeed! I was just about to report this bug and found this one. Current power.sh does not respect configurations in laptop-mode.conf on: when to enable, hdparm -B value, and hdparm -S value. Why no just leave decisions to laptop-mode.conf and make things NOT that ambiguous! -- power.sh should

[Bug 74394] Re: power.sh should allow laptop_mode to do it's thing

2007-11-04 Thread Jason
Forgot to mention that I'm using Feisty. -- power.sh should allow laptop_mode to do it's thing https://bugs.launchpad.net/bugs/74394 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list

[Bug 74394] Re: power.sh should allow laptop_mode to do it's thing

2007-04-05 Thread James Stembridge
Both of these issues still exist in Feisty. Is there anything blocking the supplied path being applied? -- power.sh should allow laptop_mode to do it's thing https://launchpad.net/bugs/74394 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com