trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: May 2016

Re: [trinity-users] KPowersave stopped working

From: Slávek Banko <slavek.banko@...>
Date: Sun, 8 May 2016 10:50:51 +0200
On Tuesday 19 of April 2016 11:36:17 Jan Stolarek wrote:
> Hi all,
>
> I have TDE 3.5.13.2 installed on Debian 7.10. Some time ago (probably after
> one of security updates) my KPowerSave stopped working - it does not allow
> me to set power scheme nor does it recognize whether the laptop is running
> on battery or A/C. These features still work in other programs (eg. htop
> recognizes whether I am running on battery or A/C, I can use cpufreq-set to
> set CPU speed) so this is not a system-wide breakage. Does anyone have any
> ideas what might be wrong?
>
> Janek
>

HAL does not have its own init script, because it automatically triggered by 
the dbus - see /usr/share/dbus-1/system-services/org.freedesktop.Hal.service

However, it seems that I've discovered a problem due to what HAL startup 
fails. Try creating the following symlinks (needs to run as root):

ln -s -t /etc/hal/fdi /usr/share/hal/fdi/information /usr/share/hal/fdi/preprobe


...and then try to activate HAL by using the following command (as user):

dbus-send --system --print-reply --dest=org.freedesktop.DBus /org/freedesktop/
DBus org.freedesktop.DBus.StartServiceByName string:org.freedesktop.Hal 
uint32:0

-- 
Slávek