On 17.11.2010 14:21, Florian Kriener wrote:
> Hello,
> 
> thanks for fixing the Bug. I just checked the new version, however I ran 
> into a new problem, but this time it's HAL (I'm using KDE, so I kind of 
> depend on it). I already appended my findings to a HAL bugreport [1], 
> that might cover the same problem. I'm not sure however.
> 
> The problem is, that HAL calles pm-powersave from the script
> hal-system-power-set-power-save(-linux). The skript always gets a 
> "false" as a value via some obscure standard input method. This results 
> in HAL calling "pm-powersave false" and thus renders it unusable.

I added a
echo "set-power-save $value" >> /tmp/log
to /usr/lib/hal/scripts/hal-system-power-set-power-save

The log file correctly shows
true when I pull the ac plug and false when the laptop runs on ac.

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to