Comment 22 for bug 198808

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 198808] Re: [Hardy] HAL breaks pm-utils quirks and resuming

Bernhard Gehl [2008-03-21 12:12 -0000]:
> Why not put something in like "25-kernel-quirk-pm-checkdefaults.fdi" which
> 1) matches for the pm-quirks and exits if any (including the ".none") quirks are set
> 2) matches for the ati/nvidia/intel drivers and exits if one of these is used

That's the entire problem. Of course we would like to do that, but
FDIs don't allow that with the current hal version. So these hacks
have to do for Hardy.

> Oh - and picking up an idea I got from awen on Bug #202814: I think it
> would help diagnosing the suspend/resume process a lot, if the pm-
> suspend-script contained a line like "echo $* >> ~/pm-suspend.log" to
> log the quirks it was called with.

When I debug them, I usually add somethign like this to the script in
question:

  exec 2>/tmp/99video.trace
  set -x