Im try to use amdtemp module for determine cpu temperature. But sysctl OID return wrong information:
My hardware is:
...
...
My board is:
My system is:
FreeBSD 8.1-PRERELEASE
In case amdtemp.ko is the correct module for my equipment - so my question - where developers find the information under the specification? I am a little familiar with programming on C and probably could add some code for this module for supporting my CPU, but I do not have not enough information - from which registers / on modern the processor it is necessary for memory to read the information.
Code:
sysctl -a |grep temperature
dev.cpu.0.temperature: 13.0C
dev.cpu.1.temperature: 13.0C
dev.cpu.2.temperature: 13.0C
dev.cpu.3.temperature: 13.0C
dev.cpu.4.temperature: 13.0C
dev.cpu.5.temperature: 13.0C
My hardware is:
...
Code:
CPU: AMD Phenom(tm) II X6 1090T Processor (3210.89-MHz K8-class CPU)
Origin = "AuthenticAMD" Id = 0x100fa0 Family = 10 Model = a Stepping = 0
Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
Features2=0x802009<SSE3,MON,CX16,POPCNT>
AMD Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!>
AMD Features2=0x37ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT>
TSC: P-state invariant
real memory = 17179869184 (16384 MB)
avail memory = 16536182784 (15770 MB)
Event timer "LAPIC" frequency 0 Hz quality 500
ACPI APIC Table: <050310 APIC1140>
FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs
FreeBSD/SMP: 1 package(s) x 6 core(s)
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
cpu2 (AP): APIC ID: 2
cpu3 (AP): APIC ID: 3
cpu4 (AP): APIC ID: 4
cpu5 (AP): APIC ID: 5
ioapic0 <Version 2.1> irqs 0-23 on motherboard
ioapic1 <Version 2.1> irqs 24-55 on motherboard
My board is:
Code:
Manufacturer: ASUSTeK Computer INC.
Product Name: Crosshair IV Formula
My system is:
FreeBSD 8.1-PRERELEASE
In case amdtemp.ko is the correct module for my equipment - so my question - where developers find the information under the specification? I am a little familiar with programming on C and probably could add some code for this module for supporting my CPU, but I do not have not enough information - from which registers / on modern the processor it is necessary for memory to read the information.