Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Hardware & Devices
  4. CPU Tempreture Memory Location

CPU Tempreture Memory Location

Scheduled Pinned Locked Moved Hardware & Devices
performancehelp
7 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    richardza
    wrote on last edited by
    #1

    Hi there, does anyone know in what memory location I can read the CPU tempreture\fan speed. I am guesing it is a memory location, as that would be the most logical...but it could also mean that every motherboard is different. In my case I want to read this information on an IBM Anyplace Kiosk. Google has let me down...Please help!!! Thanks. :confused: The Mac

    D D D 3 Replies Last reply
    0
    • R richardza

      Hi there, does anyone know in what memory location I can read the CPU tempreture\fan speed. I am guesing it is a memory location, as that would be the most logical...but it could also mean that every motherboard is different. In my case I want to read this information on an IBM Anyplace Kiosk. Google has let me down...Please help!!! Thanks. :confused: The Mac

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      crystalmac wrote:

      Hi there, does anyone know in what memory location I can read the CPU tempreture\fan speed

      There isn't any. This is usually polled from an I/O port in the machines chipset. The location (port#) changes from manufacturer to manufacturer. It's not Google that let you down, it's IBM because they don't publish this kind of information easily. You're best bet to to crack open the box, get the chipset manufacturer and ID information, then start Googling around for that instead. You might actually come up with a couple utilities that will return the data for you.

      Dave Kreskowiak Microsoft MVP - Visual Basic

      R 1 Reply Last reply
      0
      • R richardza

        Hi there, does anyone know in what memory location I can read the CPU tempreture\fan speed. I am guesing it is a memory location, as that would be the most logical...but it could also mean that every motherboard is different. In my case I want to read this information on an IBM Anyplace Kiosk. Google has let me down...Please help!!! Thanks. :confused: The Mac

        D Offline
        D Offline
        Dan Neely
        wrote on last edited by
        #3

        If you can find out what the BIOS for the board is you can use speedfan to get the numbers. There's an option to get user created mappings for most major mobo designs, if IBM used something wierd in the kiosk you might have to figure the locations out the hardway, but otherwise you should be good to go with it. PS if the board's a few years old you could also try motherboard monitor, but MBM has been abandoned by the developer and doens't support newer boards.

        -- Rules of thumb should not be taken for the whole hand.

        1 Reply Last reply
        0
        • D Dave Kreskowiak

          crystalmac wrote:

          Hi there, does anyone know in what memory location I can read the CPU tempreture\fan speed

          There isn't any. This is usually polled from an I/O port in the machines chipset. The location (port#) changes from manufacturer to manufacturer. It's not Google that let you down, it's IBM because they don't publish this kind of information easily. You're best bet to to crack open the box, get the chipset manufacturer and ID information, then start Googling around for that instead. You might actually come up with a couple utilities that will return the data for you.

          Dave Kreskowiak Microsoft MVP - Visual Basic

          R Offline
          R Offline
          richardza
          wrote on last edited by
          #4

          I need to do this in software from C#. But after my initial search there seemed no way to do this...this was why I posted in the hardware forum because I thought would have to do it the hardway. HOWEVER it seems I am in luck, the temperature reading is implemented in ACPI and is available as a WMI object, provided the correct drivers are installed. Found a great example on this site: http://www.cicoria.com/cs1/blogs/cedarlogic/archive/2006/11/29/404.aspx[^] Works well on my HP laptop, but not on my desktop which has an MSI i975 motherboard which is about 3 years old... Holding thumbs it will work on the kiosk...(have not got one to test this just yet). Now I just have to find a way to get the fan speed. :) The Mac

          D 1 Reply Last reply
          0
          • R richardza

            Hi there, does anyone know in what memory location I can read the CPU tempreture\fan speed. I am guesing it is a memory location, as that would be the most logical...but it could also mean that every motherboard is different. In my case I want to read this information on an IBM Anyplace Kiosk. Google has let me down...Please help!!! Thanks. :confused: The Mac

            D Offline
            D Offline
            David Crow
            wrote on last edited by
            #5

            Is the Win32_TemperatureProbe class of any help?


            "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

            "Judge not by the eye but by the heart." - Native American Proverb

            D 1 Reply Last reply
            0
            • R richardza

              I need to do this in software from C#. But after my initial search there seemed no way to do this...this was why I posted in the hardware forum because I thought would have to do it the hardway. HOWEVER it seems I am in luck, the temperature reading is implemented in ACPI and is available as a WMI object, provided the correct drivers are installed. Found a great example on this site: http://www.cicoria.com/cs1/blogs/cedarlogic/archive/2006/11/29/404.aspx[^] Works well on my HP laptop, but not on my desktop which has an MSI i975 motherboard which is about 3 years old... Holding thumbs it will work on the kiosk...(have not got one to test this just yet). Now I just have to find a way to get the fan speed. :) The Mac

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #6

              crystalmac wrote:

              HOWEVER it seems I am in luck, the temperature reading is implemented in ACPI and is available as a WMI object, provided the correct drivers are installed. Found a great example on this site:

              That's right! So long as the WMI providers are installed AND that they actually provide the data you want. Sadly, most don't! From IBM, don't count it working.

              Dave Kreskowiak Microsoft MVP - Visual Basic

              1 Reply Last reply
              0
              • D David Crow

                Is the Win32_TemperatureProbe class of any help?


                "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

                "Judge not by the eye but by the heart." - Native American Proverb

                D Offline
                D Offline
                Dave Kreskowiak
                wrote on last edited by
                #7

                Only if the WMI Providers for the MoBo have been installed. Most of the manufacturers don't bother creating the providers for this stuff. Other stuff, like the motherboard and manufacturer details, yes, but not the fan and temp counters. Pity, 'cause I would like to use them myself.

                Dave Kreskowiak Microsoft MVP - Visual Basic

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups