On 08/05/16 09:50, Slávek Banko wrote:
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
/usr/share/dbus-1/system-services/org.freedesktop.Hal.service: No such file or directory
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
I have no directory /etc/hal/fdi on my machine.
...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
I didn't create the links but here's what I got:
$ dbus-send --system --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.StartServiceByName string:org.freedesktop.Hal uint32:0 Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Hal was not provided by any .service files
Hope this helps.
Philip Ashmore