Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: cputemp 1.0 Released For Linux Thermal Monitoring

  1. #11
    Join Date
    Dec 2010
    Location
    MA, USA
    Posts
    1,485

    Default

    Quote 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.

  2. #12
    Join Date
    Feb 2008
    Location
    Linuxland
    Posts
    5,329

    Default

    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...

  3. #13
    Join Date
    Jan 2009
    Location
    Italy
    Posts
    82

    Default

    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.

  4. #14

    Default

    Quote 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!

  5. #15
    Join Date
    Dec 2011
    Posts
    2,193

    Default

    Quote 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.

  6. #16
    Join Date
    Oct 2010
    Posts
    352

    Default

    Quote 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •