Hi all,
My freevo setup continues to get better :) I've just enabled the idlebar
plugin, however it doesn't know about the new i2c sensors location with
the 2.6.19 kernel. I had to edit system.py in
/usr/lib/python2.4/site-packages/freevo/plugins/idlebar to get it to
work. I added the new path called k619path, then perform a test to see
if it exists, and if so override the k6path. The patch diff is at the
bottom of the email.
However it still doesn't work quite right. sensors output give the temps
correctly:
CPU Temp: +39.0°C (high = +190°C, hyst = -78°C)
Int Temp: +55.0°C (high = +204°C, hyst = +0°C)
using the following compute for temp1 (temp 2 doesn't need a compute line)
compute temp1 (@ - 73.869) / 0.9528, (@ * 0.9528) + 73.869
I put the following in the idlebar plugin activate line, as described in
the plugin about how to deal with scaling:
plugin.activate('idlebar.system.sensors', level=30, args=(('temp1','((@
- 73.869) / 0.9528)'), 'temp2', None))
But it doesn't work, the temperature gets displayed as things like -65
Any suggestions?
Patch for system.py:
194a195
> self.k619path = '/sys/class/hwmon/hwmon0'
251a253,255
> if os.path.exists(self.k619path):
> self.k6path = self.k619path
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users