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
--- Politechnika Łódzka Lodz University of Technology
Treść tej wiadomości zawiera informacje przeznaczone tylko dla adresata. Jeżeli nie jesteście Państwo jej adresatem, bądź otrzymaliście ją przez pomyłkę prosimy o powiadomienie o tym nadawcy oraz trwałe jej usunięcie.
This email contains information intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient or if you have received this message in error, please notify the sender and delete it from your system.
A partial answer to self:
It turns out that the problem was caused by HAL not running. However, it is not enough to start hald (HAL daemon) from within TDE and then starting KPowerSave. For things to work properly hald must be started before logging into TDE.
That being said, how do I make hald start during system boot? I have hald binary in /usr/sbin but I am missing startup scripts in /etc/init.d. During Good Old Times it was enough to create a script that run the required command and place that script in directory corresponding to a given runlevel (in case of Debian this would be /etc/rc5.d). But this does not seem to work. Does anyone have a script that starts up hald and could perhaps post it to the list?
Janek
Dnia wtorek, 19 kwietnia 2016, Jan Stolarek napisał:
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
Politechnika Łódzka Lodz University of Technology
Treść tej wiadomości zawiera informacje przeznaczone tylko dla adresata. Jeżeli nie jesteście Państwo jej adresatem, bądź otrzymaliście ją przez pomyłkę prosimy o powiadomienie o tym nadawcy oraz trwałe jej usunięcie.
This email contains information intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient or if you have received this message in error, please notify the sender and delete it from your system.
To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
--- Politechnika Łódzka Lodz University of Technology
Treść tej wiadomości zawiera informacje przeznaczone tylko dla adresata. Jeżeli nie jesteście Państwo jej adresatem, bądź otrzymaliście ją przez pomyłkę prosimy o powiadomienie o tym nadawcy oraz trwałe jej usunięcie.
This email contains information intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient or if you have received this message in error, please notify the sender and delete it from your system.
On Tuesday 19 April 2016 20.58:21 Jan Stolarek wrote:
It turns out that the problem was caused by HAL not running.
I have TDE 3.5.13.2 installed on Debian 7.10.
There may be a good reason for you to stick to 3.5.13, but I think even on 7.10 TDE 14.x no more requires HAL, which would be another way to solve your problem.
Regards,
Thierry TDE 14.0.3 on openSUSE 13.1, Leap 42.1 and Debian 8
On fedora you have /etc/profiles.d/ with bash scripts that are loaded on boot and when you open a terminal. The scripts load the environment vars.
Do you have this in your distro?
Em terça-feira, 19 de abril de 2016, Thierry de Coulon tdecoulon@gmail.com escreveu:
On Tuesday 19 April 2016 20.58:21 Jan Stolarek wrote:
It turns out that the problem was caused by HAL not running.
I have TDE 3.5.13.2 installed on Debian 7.10.
There may be a good reason for you to stick to 3.5.13, but I think even on 7.10 TDE 14.x no more requires HAL, which would be another way to solve your problem.
Regards,
Thierry TDE 14.0.3 on openSUSE 13.1, Leap 42.1 and Debian 8
To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net javascript:; For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net javascript:; Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
Hi Jan
That being said, how do I make hald start during system boot? I have hald binary in /usr/sbin but I am missing startup scripts in /etc/init.d. During Good Old Times it was enough to create a script that run the required command and place that script in directory corresponding to a given runlevel (in case of Debian this would be /etc/rc5.d). But this does not seem to work. Does anyone have a script that starts up hald and could perhaps post it to the list?
Search for the file "skeleton" in /etc/init.d. Copy this file perhaps to "hald.sh" and edit it. If you have finished run "update-rc.d" to aktivate the skript. Read also the README-File in /etc/init.d
BTW: Runlevel 2 is the prefered runlevel in debian.
Hope that helps Rolf
Thanks for your reply Rolf. I will try your tips sometime next week - I only have access to this machine on Mondays and Tuesdays ;-) OI have seen the skeleton file before posting, but the truth is it looks quite daunting. I was hoping someone might already have a file for starting HAL but if not I guess I'll have to write it myself.
Jan
Dnia środa, 20 kwietnia 2016, Rolf Schmidt napisał:
Hi Jan
That being said, how do I make hald start during system boot? I have hald binary in /usr/sbin but I am missing startup scripts in /etc/init.d. During Good Old Times it was enough to create a script that run the required command and place that script in directory corresponding to a given runlevel (in case of Debian this would be /etc/rc5.d). But this does not seem to work. Does anyone have a script that starts up hald and could perhaps post it to the list?
Search for the file "skeleton" in /etc/init.d. Copy this file perhaps to "hald.sh" and edit it. If you have finished run "update-rc.d" to aktivate the skript. Read also the README-File in /etc/init.d
BTW: Runlevel 2 is the prefered runlevel in debian.
Hope that helps Rolf
--- Politechnika Łódzka Lodz University of Technology
Treść tej wiadomości zawiera informacje przeznaczone tylko dla adresata. Jeżeli nie jesteście Państwo jej adresatem, bądź otrzymaliście ją przez pomyłkę prosimy o powiadomienie o tym nadawcy oraz trwałe jej usunięcie.
This email contains information intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient or if you have received this message in error, please notify the sender and delete it from your system.
On 04/22/2016 12:17 AM, Jan Stolarek wrote:
Thanks for your reply Rolf. I will try your tips sometime next week - I only have access to this machine on Mondays and Tuesdays ;-) OI have seen the skeleton file before posting, but the truth is it looks quite daunting. I was hoping someone might already have a file for starting HAL but if not I guess I'll have to write it myself.
Jan
Dnia środa, 20 kwietnia 2016, Rolf Schmidt napisał:
Hi Jan
That being said, how do I make hald start during system boot? I have hald binary in /usr/sbin but I am missing startup scripts in /etc/init.d. During Good Old Times it was enough to create a script that run the required command and place that script in directory corresponding to a given runlevel (in case of Debian this would be /etc/rc5.d). But this does not seem to work. Does anyone have a script that starts up hald and could perhaps post it to the list?
Search for the file "skeleton" in /etc/init.d. Copy this file perhaps to "hald.sh" and edit it. If you have finished run "update-rc.d" to aktivate the skript. Read also the README-File in /etc/init.d
BTW: Runlevel 2 is the prefered runlevel in debian.
Hope that helps Rolf
Politechnika Łódzka Lodz University of Technology
I have a hal startup script from TDE 3.5.13.2 and Squeeze if that might help. I can send it to you if you like. hal.gz file.
Greg M
I have a hal startup script from TDE 3.5.13.2 and Squeeze if that might help. I can send it to you if you like. hal.gz file.
This would be great - I also have TDE 3.5.13.2 and Squeeze. I'd really appreciate if you could mail it to me.
Jan
Greg M
To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
--- Politechnika Łódzka Lodz University of Technology
Treść tej wiadomości zawiera informacje przeznaczone tylko dla adresata. Jeżeli nie jesteście Państwo jej adresatem, bądź otrzymaliście ją przez pomyłkę prosimy o powiadomienie o tym nadawcy oraz trwałe jej usunięcie.
This email contains information intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient or if you have received this message in error, please notify the sender and delete it from your system.
Hi Jan
Get you a start script up and running with the tips I've get you?
Bye Rolf
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
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
On Monday 09 of May 2016 00:55:47 Philip Ashmore wrote:
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
Do you have HAL installed? What a distribution and version? I tested HAL on Debian 7 (Wheezy) and now I verified HAL files on Ubuntu 13.04 (Raring).
On 09/05/16 21:09, Slávek Banko wrote:
On Monday 09 of May 2016 00:55:47 Philip Ashmore wrote:
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
Do you have HAL installed? What a distribution and version? I tested HAL on Debian 7 (Wheezy) and now I verified HAL files on Ubuntu 13.04 (Raring).
I'm running Debian Jessie, the only package with hal in its name is kpowersave-nohal-trinity.
Sorry for the noise if your question was specific to Wheezy/Raring.
On 2016/05/11 09:08 AM, Philip Ashmore wrote:
I'm running Debian Jessie, the only package with hal in its name is kpowersave-nohal-trinity.
Sorry for the noise if your question was specific to Wheezy/Raring.
AFAIK there is no HAL support in Jessie, No wonder kpowersave does not work. You need to use tdepoweresave instead. You will need R14.0.x though. Cheers Michele
On Wednesday 11 May 2016 00:08:18 Philip Ashmore wrote:
On 09/05/16 21:09, Slávek Banko wrote:
On Monday 09 of May 2016 00:55:47 Philip Ashmore wrote:
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
Do you have HAL installed? What a distribution and version? I tested HAL on Debian 7 (Wheezy) and now I verified HAL files on Ubuntu 13.04 (Raring).
I'm running Debian Jessie, the only package with hal in its name is kpowersave-nohal-trinity.
Having HAL installed on Jessie borders on impossible!!
Lisi