Announcement

Collapse
No announcement yet.

cputemp 1.0 Released For Linux Thermal Monitoring

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ansla
    replied
    Originally posted by fabioamd87 View Post
    wow, now I can find it, it appeared from some minutes.
    but it didn't compile:

    Installing cputemp:
    Copying program to /tmp/yaourt-tmp-fabio/aur-cputemp/pkg/usr/bin: Done.
    Checking if log exists: No
    ***Creating Log:
    Traceback (most recent call last):
    File "./Setup.py", line 77, in <module>
    open (logpath + "/cputemp.log", 'w' ).write("cputemp log \n\n")
    IOError: [Errno 13] Permission denied: '/var/log//cputemp.log'
    Chuck Norris may be able to install software system wide as a regular user, but you need to be root to do that.

    Leave a comment:


  • uid313
    replied
    Originally posted by schmidtbag View Post
    Right I get that much but what makes ACPI better for reading temperatures? I pretty much got the impression that ACPI was more revolved around keeping your computer power efficient and quiet. While temperatures take a big part in that, I don't see why power control couldn't just use I2C sensors.
    I don't know.
    I thought maybe that with I2C you have have a special driver for every sensors, and that with ACPI you can just call the ACPI and get it without having special drivers for every sensor.

    Leave a comment:


  • ncopa
    replied
    Originally posted by ifoo View Post
    I've done a C port of the tool. You can find it at https://github.com/ifoo/ccputemp.
    Now were talking!

    Thanks a bunch!

    Leave a comment:


  • tettamanti
    replied
    Big WTF here...
    The program just uses the legacy interface for ACPI thermal zones. Newer kernels expose the TZ using the standard hwmon interface (i.e. /sys/class/hwmon) and readings are picked up automatically by libsensor along with the ones from native interfaces.

    Leave a comment:


  • curaga
    replied
    If there wasn't a native way to read the temps, then you could use ACPI for it. But since there is a superior native interface...

    Leave a comment:


  • schmidtbag
    replied
    Originally posted by uid313 View Post
    lm_sensors read from I2C and other buses to communicate directly with the integrated circuit and stuff.
    cputemp mentioned in the article reads from ACPI.
    Right I get that much but what makes ACPI better for reading temperatures? I pretty much got the impression that ACPI was more revolved around keeping your computer power efficient and quiet. While temperatures take a big part in that, I don't see why power control couldn't just use I2C sensors.

    Leave a comment:


  • ifoo
    replied
    ccputemp

    Originally posted by ncopa View Post
    Would be nice to have this ported to C so it does not depend on the non-lightweight python package, or even Lua.
    I've done a C port of the tool. You can find it at https://github.com/ifoo/ccputemp.

    Leave a comment:


  • jhansonxi
    replied
    How does this compare to "sensors" from lm-sensors?

    Code:
    $ sensors
    atk0110-acpi-0
    Adapter: ACPI interface
    Vcore Voltage:      +1.14 V  (min =  +0.85 V, max =  +1.60 V)
     +3.3 Voltage:      +3.31 V  (min =  +2.97 V, max =  +3.63 V)
     +5 Voltage:        +4.97 V  (min =  +4.50 V, max =  +5.50 V)
     +12 Voltage:      +12.22 V  (min = +10.20 V, max = +13.80 V)
    CPU FAN Speed:     2743 RPM  (min =  600 RPM)
    CHASSIS FAN Speed: 2872 RPM  (min =  600 RPM)
    POWER FAN Speed:      0 RPM  (min =  600 RPM)
    CPU Temperature:    +46.0?C  (high = +60.0?C, crit = +95.0?C)
    MB Temperature:     +40.0?C  (high = +45.0?C, crit = +95.0?C)

    Leave a comment:


  • curaga
    replied
    Originally posted by uid313 View Post
    But Python is installed by default on Ubuntu. I guess on most other distributions too.
    And that's just one of the things wrong with Ubuntu

    Leave a comment:


  • uid313
    replied
    Originally posted by ncopa View Post
    Would be nice to have this ported to C so it does not depend on the non-lightweight python package, or even Lua.
    But Python is installed by default on Ubuntu. I guess on most other distributions too.

    Leave a comment:

Working...
X