PDA

View Full Version : programming by Qt, getting bios information



ensky_cy
15th December 2009, 07:01
I want to get cpu's temprature,and the laptop's energe,and so on.
Anybody can give me some advices?
Thank you!

squidge
15th December 2009, 08:27
It depends on the processor and temperature sensors installed on your PC. You need to access the system management interface, and this interface can change based on motherboard, chipset, processor... It's not common.

A typical temperature sensor is the W83667HG.

ensky_cy
15th December 2009, 09:54
It depends on the processor and temperature sensors installed on your PC. You need to access the system management interface, and this interface can change based on motherboard, chipset, processor... It's not common.

A typical temperature sensor is the W83667HG.

Ok,thank you!I download some softwares,installing in my notebook,they can tell me the energe of my notebook,and the memory usage ...,so ,I want to implement these functions.May be I need C or assembler language.....

squidge
15th December 2009, 12:20
C is fine, but it's going to be very system specific.

Tanuki-no Torigava
15th December 2009, 13:15
Ok. First thing is to define on which OS you want to do it. Anyway there is nothing you can do with that on Qt but on C/C++ - yes. For Linux I can suggest you libsmbios (http://linux.dell.com/libsmbios/main/), where you can find a C++ binding as well. But it is low level programing highly dependent on OS and underlying hardware.

Good luck,
-- tanuki