Bug#473055: laptop-mode-tools: failure to re-apply spindown settings on resume from hibernate or suspend

2008-04-05 Thread Bart Samwel
Hi Sheridan, Sheridan Hutchinson wrote: Ok I've spent some time on this and the problem is more widespread than I thought. As discussed before, LTM is not being loaded when resuming from suspend or hibernate, however I also discovered contrary to my previous report, that LTM is not activated

Bug#473055: laptop-mode-tools: failure to re-apply spindown settings on resume from hibernate or suspend

2008-04-05 Thread Sheridan Hutchinson
Sheridan Hutchinson wrote: If however the laptop is on AC from a fresh boot and hibernate (S4) it, upon resume LTM doesn't work at all, and doesn't appear to get run at all because: CORRECTION If however the laptop is on AC from a fresh boot and hibernated (S4), and then has the power cord out

Bug#473055: laptop-mode-tools: failure to re-apply spindown settings on resume from hibernate or suspend

2008-04-05 Thread Sheridan Hutchinson
Bart Samwel wrote: There would be a good explanation for all of this if the script /etc/init.d/laptop-mode is failing somehow. The startup calls and the on-resume calls to laptop mode tools are done through this script, the remove-AC-while-up-and-running situation goes through another path.

Bug#473055: laptop-mode-tools: failure to re-apply spindown settings on resume from hibernate or suspend

2008-04-05 Thread Sheridan Hutchinson
Hi Bart, I've been doing some more experimenting this evening! I removed acpi-support and acpi-support-base completely (even removing /etc/acpi and the something /var directory). To my astonishment, although I lost LTM functionality completely and some function of the bespoke Thinkpad keys,

Bug#473055: laptop-mode-tools: failure to re-apply spindown settings on resume from hibernate or suspend

2008-04-04 Thread Sheridan Hutchinson
Ok I've spent some time on this and the problem is more widespread than I thought. As discussed before, LTM is not being loaded when resuming from suspend or hibernate, however I also discovered contrary to my previous report, that LTM is not activated when the laptop boots up from fresh when

Bug#473055: laptop-mode-tools: failure to re-apply spindown settings on resume from hibernate or suspend

2008-04-03 Thread Bart Samwel
On Thu, April 3, 2008 09:26, Sheridan Hutchinson wrote: Bart Samwel wrote: But it might be the case that pm-utils is secretly handling your suspend needs. I haven't quite figured out what the status of that is, and how that works. Perhaps you could try putting a script S99laptop-mode in

Bug#473055: laptop-mode-tools: failure to re-apply spindown settings on resume from hibernate or suspend

2008-04-03 Thread Sheridan Hutchinson
Bart Samwel wrote: But it might be the case that pm-utils is secretly handling your suspend needs. I haven't quite figured out what the status of that is, and how that works. Perhaps you could try putting a script S99laptop-mode in /etc/pm/sleep.d with the following contents: Hi Bart, I

Bug#473055: laptop-mode-tools: failure to re-apply spindown settings on resume from hibernate or suspend

2008-04-03 Thread Sheridan Hutchinson
Bart Samwel wrote: The acpi-support scripts should already be there. :-/ Could you perhaps put some debugging code into the acpi-support scripts, to check if they are actually run? I'm marauding through /etc/acpi and am learning how this all fits together. I'll try to put something together;

Bug#473055: laptop-mode-tools: failure to re-apply spindown settings on resume from hibernate or suspend

2008-03-31 Thread Bart Samwel
Sheridan Hutchinson wrote: Bart Samwel wrote: Hi Sheridan, Thanks for reporting! Could you check the following: * After resuming, does it work again after you run (as root) invoke-rc.d laptop-mode restart? * What suspend/resume software are you using? acpi-support, pm-utils, hibernate, ...?

Bug#473055: laptop-mode-tools: failure to re-apply spindown settings on resume from hibernate or suspend

2008-03-30 Thread Sheridan Hutchinson
Bart Samwel wrote: Hi Sheridan, Thanks for reporting! Could you check the following: * After resuming, does it work again after you run (as root) invoke-rc.d laptop-mode restart? * What suspend/resume software are you using? acpi-support, pm-utils, hibernate, ...? Firstly, running the

Bug#473055: laptop-mode-tools: failure to re-apply spindown settings on resume from hibernate or suspend

2008-03-28 Thread Bart Samwel
Sheridan Hutchinson wrote: Package: laptop-mode-tools Version: 1.36-1 Severity: normal Hi Bart :) I have been wanting to make this bug-report for some time, however I have been waiting for 2.6.24 to filter into testing (just to be sure) before I made it. On my system at least, this is

Bug#473055: laptop-mode-tools: failure to re-apply spindown settings on resume from hibernate or suspend

2008-03-27 Thread Sheridan Hutchinson
Package: laptop-mode-tools Version: 1.36-1 Severity: normal Hi Bart :) I have been wanting to make this bug-report for some time, however I have been waiting for 2.6.24 to filter into testing (just to be sure) before I made it. On my system at least, this is trivially easy and perfectly