flat assembler
Message board for the users of flat assembler.

Index > Windows > Get CPU temperature and fun speed.

Author
Thread Post new topic Reply to topic
Roman



Joined: 21 Apr 2012
Posts: 1796
Roman 18 Sep 2015, 09:39
I found Win32_TemperatureProbe, but how using not understood.
Post 18 Sep 2015, 09:39
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20344
Location: In your JS exploiting you and your system
revolution 18 Sep 2015, 10:50
Roman wrote:
Get ... fun speed
What is the speed of fun? Razz
Post 18 Sep 2015, 10:50
View user's profile Send private message Visit poster's website Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 1796
Roman 18 Sep 2015, 12:08
O ! Sorry , fan speed.
Friday. Fun Smile
Post 18 Sep 2015, 12:08
View user's profile Send private message Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 1796
Roman 19 Sep 2015, 10:18
I found RDMSR (Intel pdf http://www.intel.com/content/www/us/en/embedded/testing-and-validation/cpu-monitoring-dts-peci-paper.html)
But my programm error on RDMSR and shut down.
I using Fasm version 1.69.03
Post 19 Sep 2015, 10:18
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20344
Location: In your JS exploiting you and your system
revolution 19 Sep 2015, 11:06
RDMSR is a privileged instruction. For a normal user space application it generates an exception. You can only execute it at privilege level 0.
Post 19 Sep 2015, 11:06
View user's profile Send private message Visit poster's website Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 1796
Roman 19 Sep 2015, 11:10
If write driver and using RDMSR.
Its work ?
Post 19 Sep 2015, 11:10
View user's profile Send private message Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 1796
Roman 19 Sep 2015, 11:14
I found this code(its for Windows or Dos ?):
Code:
format PE DLL native 4.0 at 0x10000
entry DriverEntry 
include 'c:\fasm\include\win32ax.inc'
;include 'c:\fasm\include\DDK\INCLUDE\DDK\ntstatus.inc'

section '.text' code readable executable notpageable 
proc DriverEntry 
     int 3;db 0xcc 
     mov eax,1 ;STATUS_DEVICE_CONFIGURATION_ERROR
     ret 
endp 

section '.reloc' fixups data readable discardable 
    

I not understood how in my program find entry in dll ?
I mean if i load dll i found (for example) MessageBox name.
Post 19 Sep 2015, 11:14
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20344
Location: In your JS exploiting you and your system
revolution 19 Sep 2015, 11:27
Roman wrote:
If write driver and using RDMSR.
Its work ?
It depends upon your version of Windows and how you boot your system. You might need a signed driver, or you might have to boot in a different way.

See also: https://www.raymond.cc/blog/loading-unsigned-drivers-in-windows-7-and-vista-64-bit-x64/
Post 19 Sep 2015, 11:27
View user's profile Send private message Visit poster's website Reply with quote
Andrew Martin



Joined: 30 Sep 2015
Posts: 29
Location: 404, Lugansk
Andrew Martin 02 Oct 2015, 09:02
The motherboard contents SuperIO controller chip, which handles all information from sensors. You must find datasheet for your SuperIO controller chip. For example, in my computer, this chip accessible via CPU I/O ports, so INPOUT32.DLL may be used.
Post 02 Oct 2015, 09:02
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.