Re: Issues with gkrellm-uguru and gkrellm-hddtemp

Bill WIlson <[email protected]>
Newsgroups gmane.comp.gnome.apps.gkrellm
Message-ID <[email protected]>
On Sat, 5 Aug 2006 05:48:52 +0200
"Tobias van Dyk" <[email protected]> wrote:

> However I think that seeing that gkrellm supports the lm-sensors readings in the long term a better solution is to use uGuru that way.
> 
> best wishes
> Tobias
>   ----- Original Message ----- 
>   From: Steven Collins 
>   To: GKrellm Support List 
>   Sent: Saturday, August 05, 2006 1:59 AM
>   Subject: Re: [Gkrellm] Issues with gkrellm-uguru and gkrellm-hddtemp
> 
> 
>   Tobias,
> 
>   Thanks for the response. However, I'm not entirely clear on what you're saying. I have Hans' code installed (which I hadn't done yet when you responded) and get see the readings from the M/B in the files he creates in the "/sys" filesystem. Unfortunately sensors can't yet read that data. Are you implying that your plug-in is dependent on lm_senors? 
> 
>   Regards,
>   Steven

The Linux kernel is changing where hardware monitoring data appears under /sys
and I have a patch for the next release that will let gkrellm see the new location.
If you are seeing readings under /sys/class/hwmon then that's what you would need.
I want to look over some things but then I can put up a test gkrellm tarball for
you to try by the end of the weekend if you want to try it?

The patch also changes gkrellm to use libsensors for sensor readings when
libsensors is installed, so the situation would be this:

If you have libsensors installed and a /etc/sensors.conf then gkrellm will
use libsensors.  Otherwise gkrellm will get sensor readings from /sys/bus/i2c/devices
as before and additionally from /sys/class/hwmon.  But if libsensors isn't
updated to know about uGuru yet, then you would need to make sure
gkrellm will use /sys and not libsensors by not having an /etc/sensors.conf.
If you need /etc/sensors.conf for another program though, then let me know
so I can look at adding a way to direct the new gkrellm to use /sys even when
it detects it can use libsensors.

A current side effect of this is that when people start using a gkrellm that
switches to using libsensors, the gkrellm sensors config will get reset and enables
and alarms will need to be reconfigured.  I'll look at it some more, but don't know
if I will be able to come up with a way to prevent that.

Bill
_______________________________________________
Gkrellm mailing list
[email protected]
http://lists.jutley.org/cgi-bin/mailman/listinfo/gkrellm
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.