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, ...?

Firstly, running the invoke command after a resume solves this problem
completely!  I'm presuming that it is supposed to re-run automatically?

I don't have the hibernate package installed, however I do have pm-utils
and acpi-support installed.  ACPI-support handles all my power
management with pm-utils being ignored by me (it's present merely to
satisfy dependencies).

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:

#! /bin/sh

if [ "$1" = "thaw" -o "$1" = "resume" ] ; then
  invoke-rc.d laptop-mode restart
fi


If pm-utils is secretly handling suspend on your system, this should do the trick. (Make sure the script is marked executable -- I don't know if it needs this but better safe than sorry.) Please let me know the results!

Cheers,
Bart



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to