Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Temperature Monitoring for Via CPU

    Scheduled Pinned Locked Moved Hardware
    3 Posts 1 Posters 2.1k Views
    Loading More Posts
    • 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.
    • D
      DigitalSpirit
      last edited by

      How determine temperature via nano cpu ?

      1 Reply Last reply Reply Quote 0
      • D
        DigitalSpirit
        last edited by

        I fiind linux driver
        http://os1a.cs.columbia.edu/lxr/source/drivers/hwmon/via-cputemp.c
        Driver simply read cpu msr register?

        case 0xA:
        122                 /* C7 A */
        123         case 0xD:
        124                 /* C7 D */
        125                 data->msr = 0x1169;
        126                 break;
        127         case 0xF:
        128                 /* Nano */
        129                 data->msr = 0x1423;
        

        Can i use this for cpu temp measure?

        
        kldload cpuctl
        printf '%d\n' `cpucontrol -m 0x1423 /dev/cpuctl0 | cut -f 4 -d" "`
        
        1 Reply Last reply Reply Quote 0
        • D
          DigitalSpirit
          last edited by

          I make kernel module for monitoring cpu temperature
          https://dl.dropbox.com/u/75811597/viatemp.tar

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.