Announcement

Collapse
No announcement yet.

Lm-sensors?

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

    Lm-sensors?

    Hey All,

    I see that Lm-sensors is installed but I can't find it. I want something that will show me the fan speed, cup temp, etc. Is this a good one? Or what?

    Thanks,
    James

    #2
    Re: Lm-sensors?

    You first need to configure lm-sensors with this guide; then, you can either check your sensors by running the command "sensors" from a terminal, or by installing one of the many frontend applications - such as ksensors.
    Asus G1S-X3:
    Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

    Comment


      #3
      Re: Lm-sensors?

      OK.. I am working on doing the configure with the guide. I am a bit confused though. I get too sensors-detect, answer Yes to all the questions. So it tells me
      Code:
      To make the sensors modules behave correctly, add these lines to
      /etc/modules:
      
      #----cut here----
      # Chip drivers
      # no driver for SMSC LPC47M172 Super IO Fan Sensors yet
      #----cut here----
      Then asks
      Code:
      Do you want to add these lines to /etc/modules automatically? (yes/NO)
      So I tell it Yes.

      Then, run /etc/init.d/module-init-tools
      Now I run this as sudo. It brings me back to a command line.

      Here's where it confuses me. It says:
      To make the sensors modules behave correctly, add these lines to
      /etc/modprobe.d/local and run update-modules:

      #----cut here----
      # I2C module options
      alias char-major-89 i2c-dev
      #----cut here----
      #************************************************* *******************************
      So I
      Code:
      sudo kate /etc/modprobe.d/local
      But there isn't anything in this file. So I read down and it says
      4. In this example, we add the modules in reverse order (order is critical!) in "/etc/modules".

      #************************************************* ***********************
      # /etc/modules: kernel modules to load at boot time.
      #
      # This file should contain the names of kernel modules that are
      # to be loaded at boot time, one per line. Comments begin with
      # a "#", and everything on the line after them are ignored.

      psmouse
      mousedev
      ide-cd
      ide-disk
      ide-generic
      lp

      #For lm-sensors, i2c modules
      it87
      i2c-viapro
      i2c-isa

      #end of file!
      #************************************************* ****************
      And

      4. I found that there was no "/etc/modprobe.d/local" and that "alias char-major-89 i2c-dev" was already listed in "/etc/modprobe.d/aliases". So, nothing to do here.
      Now "alias char-major-89 i2c-dev is listed in /etc/modprobe.d/aliases file. Now it does look different in my file that what is listed here
      alias char-major-89-* i2c_dev
      So it says "Nothing to do here" So I move to step 5 which says
      5.Now load the modules manually using modprobe and update the dependencies.
      So I
      Code:
      sudo modprobe i2c-sensor
      And get

      Code:
      FATAL: Module i2c_sensor not found.
      So I guess I missed something in step 4. Where it is telling me to add things. So what did I miss?

      Thanks,
      James

      Comment


        #4
        Re: Lm-sensors?

        I honestly don't know that it is still required to build that "makedev.sh" script -- that guide is from 2004. After installing lm-sensors, I run the
        Code:
        sudo sensors-detect
        script and it seems to work pretty well. It is not picking up the fan speeds on my CPU and case, but I suspect that is more to do with running new hardware than any shortcoming in lm-sensors. It picks up my CPU speed(s) and temps, GPU temp, hard drive temps (after I installed hddtemp), memory and swap usage, and so forth.

        So, I would try running sudo sensors-detect command and see how close you come to "close enough". At the end of the script, it asks you whether you want it to make the entries in /etc/modules, you need to type "yes" since the default is "No".

        Here's their current information:

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



        EDIT: Also if you open the file /etc/sensors.conf, and start reading at the top, there's pretty good information before it gets into the board-specific settings.

        Comment


          #5
          Re: Lm-sensors?

          As dibl told: Install, sensors-detect (Yes), use...


          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)
          Answering - yes.

          Reading sensor outputs:
          Code:
          :~$ sensors

          Weird readings:

          I have Asus A7N8X-E and sensors.conf /1/ 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).

          /1/
          sensors reads /etc/sensors.conf
          sensors.conf = Sensors configuration file used by 'libsensors'


          Links:

          Topic: Ksensors won't show fan speed!
          http://kubuntuforums.net/forums/inde...opic=3089228.0

          Topic: No Folders or Files Under /proc/acpi/thermal_zone
          http://kubuntuforums.net/forums/inde...opic=3089934.0
          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


            #6
            Re: Lm-sensors?

            Thanks for all the replys so far

            So I followed the link given http://www.lm-sensors.org/ and did the "sudo sensors-detect" Went through the list telling it "YES" each time it asked me too. Now in on the web page it says
            At the end, sensors-detect should output following:

            Driver `w83627ehf' (should be inserted):
            Detects correctly:
            * ISA bus address 0x0290 (Busdriver `i2c-isa')
            Chip `Winbond W83627EHF/EHG Super IO Sensors' (confidence: 9)
            Now mine looked a bit different

            Code:
            Now follows a summary of the probes I have just done.
            Just press ENTER to continue:
            
            Driver `to-be-written' (should be inserted):
             Detects correctly:
             * ISA bus, address 0xc00
              Chip `SMSC LPC47M172 Super IO Fan Sensors' (confidence: 9)
            Now because mine says 'to-be-written' does this mean no modules got written? Or what?

            Next it says
            Code:
            I will now generate the commands needed to load the required modules.
            Just press ENTER to continue:
            So I "enter"

            Then
            Code:
            To make the sensors modules behave correctly, add these lines to
            /etc/modules:
            
            #----cut here----
            # Chip drivers
            # no driver for SMSC LPC47M172 Super IO Fan Sensors yet
            #----cut here----
            
            
            Do you want to add these lines to /etc/modules automatically? (yes/NO)
            So again "yes" Brings me back to the command line. So I

            Code:
            james@DeskTop:~$ sensors
            No sensors found!
            Make sure you loaded all the kernel drivers you need.
            Try sensors-detect to find out which these are.
            james@DeskTop:~$
            When I told it Yes to add the lines shouldn't it have loaded them for me? If not what do I do in order to load them.

            Thanks,
            Jame

            Comment


              #7
              Re: Lm-sensors?

              Once you complete the "sensors-detect" session, you have to run the command:
              Code:
              sudo /etc/init.d/module-init-tools
              You should be good to go after that.
              Asus G1S-X3:
              Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

              Comment


                #8
                Re: Lm-sensors?

                K I "think" it's not loading the kernel modules cause when I run "sudo /etc/init.d/module-init-tools" I get

                Code:
                 * Loading kernel modules...                           
                * Loading manual drivers...                       [ OK ]
                After that I run "sensors" and I get

                Code:
                No sensors found!
                Make sure you loaded all the kernel drivers you need.
                Try sensors-detect to find out which these are.
                Now when it tells me "Loading kernel modules..." and there isn't an [ OK ] after it, that means it didn't load them, right?

                Thanks,
                James

                Comment


                  #9
                  Re: Lm-sensors?

                  I think this means you are suffering from "new hardware syndrome":

                  # no driver for SMSC LPC47M172 Super IO Fan Sensors yet


                  Here's what mine says when I get to that stage of sensors-detect:

                  Code:
                  #----cut here----
                  # I2C adapter drivers
                  # modprobe unknown adapter ivtv i2c driver #0
                  # modprobe unknown adapter NVIDIA i2c adapter
                  # modprobe unknown adapter NVIDIA i2c adapter
                  # modprobe unknown adapter NVIDIA i2c adapter
                  # modprobe unknown adapter NVIDIA i2c adapter
                  # Chip drivers
                  # no driver for Analog Devices ADT7473 yet
                  coretemp
                  #----cut here----
                  Which is only slightly better than your result -- as you can see my new stuff doesn't get a lot of support either.

                  Comment


                    #10
                    Re: Lm-sensors?

                    Darn. Not that it's a big deal. I just got a used system at a pawn shop and the fans on it are very noisy so thought I would run a system stat for a bit and make sure nothing is over heating and such.

                    Thanks,
                    James

                    Comment

                    Working...
                    X