Le lundi 26 novembre 2007, Sjoerd Simons a écrit : > On Mon, Nov 26, 2007 at 01:49:49AM +0100, Matthieu Gallien wrote: > > Package: hal > > Version: 0.5.10-2 > > Severity: normal > > > > Due to the last upload of hal, there is regression in the support of pmu. > > None of them seems complicated to fix as I was able to find workarounds > > without prior knowledge of hal and dbus stuff.. > > > > The symptom was that I was no longer able to suspend to ram using > > kpowersave. I used qdbusviewer to interacts with hald and also executed > > hals in a console. I found that > > /usr/lib/hal/hal-system-power-pm-is-supported reports to hal that my > > computer cannot suspend to ram. This is wrong. Since the regression, I > > was able to suspend my computer using: > > /usr/lib/hal/hal-system-power-pmu sleep > > Hmm, do we still ship hal-system-power-pmu, we shouldn't. But that's > another bug :)
Yes you still ship hal-system-power-pmu and I use it currently. > > > I believe that /usr/lib/hal/hal-system-power-pm-is-supported should be > > fixed to at least say yes when an hal helper is able to do the job. > > Second problem, /usr/lib/hal/scripts/linux/hal-system-power-suspend-linux > > is not able to suspend to ram my computer. There the problem is that hal > > apparently only supports pm-utils. Again, adding those some lines solved > > the problem: > > What needs to be fixed is pm-utils to properly support suspend on PMU > machines. As soon as this is fixed, hal will automagically start working > again. Yeah why not. It is not my package and I have no right to say what is the best. I know that currently hal no longer support pmu and I found a workaround before pm-utils is fixed. This is why I submitted this bug report. There is people who have lost functionnality. > > I'd rather spend my time fixing pm-utils then adding workarounds in hal to > hid problems :) I just haven't come around to actually fixing pm-utils yet. Do I need to submit a bug report ? > > Sjoerd -- GALLIEN Matthieu