screenlets-dev team mailing list archive
-
screenlets-dev team
-
Mailing list archive
-
Message #00520
[Bug 694857] Re: [Sensors] sensors.py flaws
If you find out why hddtemp does not appear in the list, please report
it. The temperature is obtained by 'netcat 127.0.0.1 7634'. If you are
reporting, you should provide the output of netcat and the
sensors_get_sensors_list and sensors_get_sensor_value commands. The
easiest way to debug it is to modify and run sensors.py directly.
For me the sensors_get_sensors_list returns nothing as expected. Since I
don't really have hardware to test it, I'm not going to try to sort out
negative values. I don't know about 'coretemp-isa' either. The sensors
module is written by lots of people during a long period of time, so it
is a conglomerate of features. It's not a coherent and well designed
module.
If you provide a patch to make sensors better, we can apply it, if it
seems to work fine. But we cannot remove any present functionality, even
if it really has bad design.
I guess you have to sort most of things out in your own screenlet with
some reasonable heuristics.
--
You received this bug notification because you are a member of
Screenlets Dev Team, which is subscribed to Screenlets.
https://bugs.launchpad.net/bugs/694857
Title:
[Sensors] sensors.py flaws
References