Announcement

Collapse
No announcement yet.

No Folders or Files Under /proc/acpi/thermal_zone ??? (SOLVED)!!!

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    No Folders or Files Under /proc/acpi/thermal_zone ??? (SOLVED)!!!

    Hello;

    I'm trying to modify a Superkaramba script and I discovered the subject problem (bug?). I was under the impression that the subject directory should contain files relavant to my CPU's tempurature including a high and low temp event triggers (trip points). Where are these folders and files? Please advise.

    Mark

    Thanks to everyone who contributed. I have Superkaramba doing exactly what I want it to do. Thanks.
    "If you're in a room with another person who sees the world exactly as you do, one of you is redundant." Dr. Steven Covey, The 7-Habits of Highly Effective People

    #2
    Re: No Folders or Files Under /proc/acpi/thermal_zone

    I was under the impression that the subject directory should contain files relavant to my CPU's tempurature
    Maybe there isn't acpi support ? (your hardware ?)

    I'm using lm-sensors.
    lm-sensors - utilities to read temperature/voltage/fan sensors
    Lm-sensors is a hardware health monitoring package for Linux. It allows you
    to access information from temperature, voltage, and fan speed sensors. It
    works with most newer systems.

    This package contains programs to help you set up and read data from
    lm-sensors.

    Homepage: http://www.lm-sensors.org

    About lm-sensors

    SensorInstallHowto
    https://help.ubuntu.com/community/SensorInstallHowto

    HOW TO: Install and configure lm-sensors
    http://ubuntuforums.org/showthread.php?t=2780

    Here it was easy. After i installed lm-sensors:
    Code:
    sudo sensors-detect
    and
    To make the sensors modules behave correctly, add these lines to
    /etc/modules:

    #----cut here----
    # I2C adapter drivers
    i2c-nforce2
    # Chip drivers
    asb100
    #----cut here----

    Do you want to add these lines to /etc/modules automatically? (yes/NO)
    Reading sensor outputs:
    Code:
    :~$ sensors
    Note
    Here lm-sensors outputs are a bit buggy:
    CPU Temp is M/B Temp and fan rpm's are too high (2x).


    Small Superkaramba example (using lm-sensors):
    http://kubuntuforums.net/forums/inde...3366#msg103366
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Re: No Folders or Files Under /proc/acpi/thermal_zone

      Rog131;

      Thanks for the info. Okay, I already had lm-sensors installed and since my original post, I've run the config and auto - loaded the module scripts and rebooted the system. Every thing works and ~$ sensors gives me some weird readings.

      asb100-i2c-1-2d
      Adapter: SMBus nForce2 adapter at 5500
      VCore 1: +1.71 V (min = +1.31 V, max = +1.97 V)
      +3.3V: +3.26 V (min = +2.96 V, max = +3.63 V)
      +5V: +4.87 V (min = +4.49 V, max = +5.51 V)
      +12V: +11.67 V (min = +9.55 V, max = +14.41 V)
      -12V (reserved):
      -12.20 V (min = -0.00 V, max = -0.00 V)
      -5V (reserved):
      -5.12 V (min = -0.00 V, max = -0.00 V)
      CPU Fan: 5314 RPM (min = 42187 RPM, div = 2)
      Chassis Fan:
      0 RPM (min = -1 RPM, div = 2)
      Power Fan: 0 RPM (min = 21093 RPM, div = 2)
      M/B Temp: +28°C (high = +80°C, hyst = +75°C)
      CPU Temp (Intel):
      +34°C (high = +80°C, hyst = +75°C)
      Power Temp:
      +126°C (high = +80°C, hyst = +75°C)
      CPU Temp (AMD):
      +25°C (high = +80°C, hyst = +75°C)
      vid: +1.650 V (VRM Version 9.0)
      alarms:

      w83l785ts-i2c-1-2e
      Adapter: SMBus nForce2 adapter at 5500
      temp: +45°C (high = +100°C)
      The last tempurature is the only one that fluctuates like I would expect a CPU temp to do as load is applied and removed.

      I have an AMD Athlon 2200+ XP processor installed.

      CPU Temp (Intel) seems to stay at 93C

      CPU Temp (AMD) seems to stay at 77C So which CPU Temp is actually the M/B, AMD or Intel?

      Here's my last question... and it's a biggy! What is the script (using grep, awk, and sed) to get any desired text from sensors output to my customized superkaramba theme?

      sensor=program program="sensors | grep "temp:" | awk '{print $1, $2}' | sed

      I've read through the man pages for grep, awk, and sed. Needless to say, I'm overwhelmed at this point. That was like taking a drink from a fire hose on full!!! :-X

      Thanks.
      "If you're in a room with another person who sees the world exactly as you do, one of you is redundant." Dr. Steven Covey, The 7-Habits of Highly Effective People

      Comment


        #4
        Re: No Folders or Files Under /proc/acpi/thermal_zone

        sensors gives me some weird readings.

        The last tempurature is the only one that fluctuates like I would expect a CPU temp to do as load is applied and removed.

        So which CPU Temp is actually the M/B, AMD or Intel?

        About sensors:
        man sensors tells:
        NAME
        sensors - print sensors information

        SYNOPSIS
        sensors [ options ] [ chips ]
        sensors -s [ options ] [ chips ]

        DESCRIPTION
        sensors is used to show the current readings of all sensor chips.
        sensors -s is used to set all limits as specified in the configuration
        file.

        sensors knows about certain chips, and outputs nicely formatted read‐
        ings for them; but it can also display the information of unknown
        chips, as long as libsensors knows about them.

        OPTIONS
        -c config-file
        Specify a configuration file. If no file is specified,
        ‘/etc/sensors.conf’ is used. Use ‘-c /dev/null’ to temporarily
        disable this default configuration file.
        => sensors reads /etc/sensors.conf

        sensors.conf = Sensors configuration file used by 'libsensors'

        I have Asus A7N8X-E and sensors.conf tells:
        # Most Asus boards have temperatures settled like that:
        label temp1 "M/B Temp"
        label temp2 "CPU Temp"
        # However, some boards have them swapped (A7N8X Deluxe rev.2,
        # A7N8X-E Deluxe rev.2, CUV4X):
        # label temp1 "CPU Temp"
        # label temp2 "M/B Temp"
        => To me M/B Temp is CPU Temp (with default configuration file).

        Note
        # Premade configurations for other boards can be found at:
        # http://www.lm-sensors.org/trac/wiki/Configurations/
        # If your motherboard isn't listed there and you create a configuration for it
        # please add it there.

        With SuperKaramba it is easiest to use
        Code:
        :~$ sensors -c /dev/null
        Here it tells:
        asb100-i2c-1-2d
        Adapter: SMBus nForce2 adapter at 5500
        in0: +1.68 V (min = +1.31 V, max = +1.97 V)
        in1: +1.68 V (min = +1.31 V, max = +1.97 V)
        in2: +3.33 V (min = +2.96 V, max = +3.63 V)
        in3: +2.91 V (min = +2.67 V, max = +3.28 V)
        in4: +3.10 V (min = +2.51 V, max = +3.79 V)
        in5: +3.09 V (min = +0.00 V, max = +0.00 V)
        in6: +3.09 V (min = +0.00 V, max = +0.00 V)
        fan1: 4218 RPM (min = -1 RPM, div = 2)
        fan2: 3245 RPM (min = 5273 RPM, div = 2)
        fan3: 3970 RPM (min = -1 RPM, div = 2)
        temp1: +47°C (high = +80°C, hyst = +75°C)
        temp2: +10°C (high = +80°C, hyst = +75°C)
        temp3: +126°C (high = +80°C, hyst = +75°C)
        temp4: +25°C (high = +80°C, hyst = +75°C)
        vid: +1.650 V (VRM Version 9.0)
        alarms:
        To me:
        => CPU temp = temp1
        => CPU fan = fan1

        temp2...temp4 are garbage. I don't think that my MB have more than one temperature sensor (where is that manual... ).

        =>
        CPU tempereature:
        Code:
        :~$ sensors -c /dev/null | awk '/temp1:/ { print $2 }'
        +48°C
        for SK
        Code:
        sensor=program program="sensors -c /dev/null | awk '/temp1:/ { print $2 }' "
        Note
        SK bar-command does not understand +48°C
        => removing + and °C solves that:
        Code:
        :~$ sensors -c /dev/null | awk '/temp1:/ { print $2 }' | tr -d +°C
        48
        for SK
        Code:
        sensor=program program="sensors -c /dev/null | awk '/temp1:/ { print $2 }' | tr -d +°C"
        man tr
        TR(1) User Commands TR(1)

        NAME
        tr - translate or delete characters

        SYNOPSIS
        tr [OPTION]... SET1 [SET2]

        DESCRIPTION
        Translate, squeeze, and/or delete characters from standard input, writ‐
        ing to standard output.

        -c, -C, --complement
        first complement SET1

        -d, --delete
        delete characters in SET1, do not translate

        -s, --squeeze-repeats
        replace each input sequence of a repeated character that is
        listed in SET1 with a single occurrence of that character

        -t, --truncate-set1

        and for CPU fan:
        Code:
        :~$ sensors -c /dev/null | awk ' /fan1:/ {print $2/2}'
        Note
        I'm dividing it.

        for SK
        Code:
        sensor=program program="sensors -c /dev/null | awk '/fan1:/ {print $2/2}' "

        Tried with Small Monitor
        http://www.kde-look.org/content/show...?content=30890

        Seems to work
        Before you edit, BACKUP !

        Why there are dead links ?
        1. Thread: Please explain how to access old kubuntu forum posts
        2. Thread: Lost Information

        Comment


          #5
          Re: No Folders or Files Under /proc/acpi/thermal_zone

          my thermal zone folder is also empty..

          no other problems with acpi, and it has always been enabled in BIOS..


          Comment

          Working...
          X