CN103345425A - Method for achieving control over rotation speed of system fan through SMI interruption - Google Patents

Method for achieving control over rotation speed of system fan through SMI interruption Download PDF

Info

Publication number
CN103345425A
CN103345425A CN2013102014907A CN201310201490A CN103345425A CN 103345425 A CN103345425 A CN 103345425A CN 2013102014907 A CN2013102014907 A CN 2013102014907A CN 201310201490 A CN201310201490 A CN 201310201490A CN 103345425 A CN103345425 A CN 103345425A
Authority
CN
China
Prior art keywords
fan
smi
bios
cpu
rotation speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2013102014907A
Other languages
Chinese (zh)
Inventor
鄢建龙
吴登勇
赵鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Chaoyue Numerical Control Electronics Co Ltd
Original Assignee
Shandong Chaoyue Numerical Control Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Chaoyue Numerical Control Electronics Co Ltd filed Critical Shandong Chaoyue Numerical Control Electronics Co Ltd
Priority to CN2013102014907A priority Critical patent/CN103345425A/en
Publication of CN103345425A publication Critical patent/CN103345425A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Control Of Temperature (AREA)

Abstract

The invention discloses a method for achieving control over the rotation speed of a system fan through SMI interruption, and belongs to the technical field of computers. The method comprises the steps that in the starting and initializing processes of a BIOS, a register of a south bridge chip set is configured, and the south bridge chip set is made to produce SMI interruption signals at intervals to a CPU; after receiving the SMI interruption signals, the CPU enters an SMM mode, and a system control right is transferred into an SMI handler of the BIOS; a code for detecting the temperature of the CPU, a code for detecting environment temperature and a code for detecting the rotation speed of the fan are added in the SMI handler of the BIOS; the SMI handler of the BIOS controls the rotation speed of the fan. Compared with the prior art, the method for achieving control over the rotation speed of the system fan through SMI interruption is more flexible, timelier in alarming and more accurate in judgment.

Description

A kind of method of interrupting realizing the control of system fan rotating speed by SMI
 
Technical field
The present invention relates to a kind of field of computer technology, specifically a kind of method of interrupting realizing the control of system fan rotating speed by SMI.
Background technology
The control of traditional system fan rotating speed can realize by special external circuits, also can realize by the rotation speed of the fan control module in the Super IO chip.
No matter being special circuit or the rotation speed of the fan control module in the Super IO chip, all is the temperature that obtains environment according to temperature sensor, and the monitoring by to cpu temperature or mainboard temperature automatically rotation speed of the fan controls.Can set the threshold value of one group of temperature, set the rotating speed of corresponding fan in each temperature stage, the rotating speed of fan is adjusted automatically along with the mainboard variation of temperature.Perhaps set a rate of curve, make rotation speed of the fan along with variation of temperature changes gently and automatically.Can also set in the Super IO chip and after CPU or mainboard temperature reach certain threshold value, produce one and interrupt or allow hummer sound reporting to the police.Perhaps when fan breaks down, also produce and interrupt and warning.
If certain temperature sensor fails uses special external circuits mode or Super IO mode just can't make correct judgement, also just can't control effectively rotation speed of the fan.Might cause false alarm or not warning like this.Also can't make correct judgement in time if the fan control module in the Super IO chip breaks down, have certain limitation for the control of CPU and system temperature.
Summary of the invention
Technical assignment of the present invention is at above weak point, and a kind of dirigibility that has more is provided, and it is more timely to report to the police, and judges a kind of method of interrupting realizing the control of system fan rotating speed by SMI more accurately.
The technical solution adopted for the present invention to solve the technical problems is:
Step is:
(1), in the process of BIOS opening initialization, the register of South Bridge chip group is configured, allow the South Bridge chip group intermittently produce the SMI look-at-me and give CPU;
(2), CPU enters the SMM pattern after receiving the SMI look-at-me, system's control is transferred among the SMI handler of BIOS;
(3), in the SMI of BIOS Handler, add the code that cpu temperature detects, add the code that environment temperature detects, add the code that rotation speed of the fan detects;
(4), the SMI Handler of BIOS control rotation speed of the fan.
The monitoring temperature module is connected to the SMI handler of South Bridge chip group and BIOS; The SMI handler of South Bridge chip group and BIOS is connected to fan control module; Fan control module is connected to the SMI handler of BIOS.
The monitoring temperature module is connected to the South Bridge chip group by lpc bus or I2C bus; The South Bridge chip group is connected to fan control module by lpc bus or I2C bus.
Detailed step is:
(1), by to the configuration of South Bridge chip group related register, allow the South Bridge chip group can intermittently produce the SMI look-at-me and give CPU;
(2), will be in the time interval of setting after the BIOS start, system's control is transferred among the SMI handler of BIOS;
(3), in the SMI of BIOS Handler, add the code that code that cpu temperature detects and environment temperature detect, obtain cpu temperature and environment temperature situation; Add the code that rotation speed of the fan detects, can obtain the real-time rotating speed of cpu fan, system fan;
(4), the SMI Handler of BIOS is by the real-time rotating speed to cpu temperature and environment temperature and cpu fan, system fan, makes a comprehensive judgement, control the rotating speed of cpu fan or system fan, and determine the amplitude that rotation speed of the fan is adjusted.
If after adjusting rotation speed of the fan, find that detected rotation speed of the fan do not make corresponding adjustment, fault has taken place in the rotation speed of the fan control module that just can judge this part, or the rotation speed of the fan testing circuit is out of joint, thereby sends warning.If after adjusting rotation speed of the fan, detected corresponding rotation speed of the fan has been made correct variation, but the temperature detection value of correspondence does not change with it, so just might be that fault has appearred in the monitoring temperature module; Can make a comprehensive judgement according to various situations, the strategy of making adjustment again perhaps produces alerting signal.
BIOS is the abbreviation of English " Basic Input Output System ", and literally the back Chinese is exactly " Basic Input or Output System (BIOS) ".It is one group of program that is cured in the computing machine on the mainboard on the rom chip, the program of the most important basic input and output of its in store computing machine, system's configuration information, start back self-check program and system's self-triggered program.Its major function provides the bottom, the most direct hardware setting and control for computing machine.
SMI, English full name System Management Interrupt is translated as system management interrupt.
SMM, English full name System Management Mode is translated as System Management Mode.
A kind of method by the control of SMI interruption realization system fan rotating speed of the present invention is compared with prior art, has the following advantages:
1, owing to use intermittent smi signal to interrupt, the SMI Handler of BIOS can monitor in real time to cpu temperature and environment temperature and cpu fan and system fan;
2, can be because of the fault of circuit, or the fault that produces of Super IO, and cause judging in time and controlling and to produce alerting signal;
3, can be by the temperature of CPU and the temperature of other each parts of mainboard be comprehensively judged, the control of rotation speed of the fan is had very big degree of freedom;
4, adjust the rotating speed of cpu fan or system fan according to cpu temperature or system environments temperature, after cpu temperature or mainboard temperature reach a threshold value, send alerting signal.
Description of drawings
The present invention is further described below in conjunction with accompanying drawing.
Accompanying drawing 1 is a kind of structured flowchart that interrupts the method for realization system fan rotating speed control by SMI.
Embodiment
The invention will be further described below in conjunction with the drawings and specific embodiments.
A kind of method of interrupting the control of realization system fan rotating speed by SMI of the present invention, step is:
(1), in the process of BIOS opening initialization, the register of South Bridge chip group is configured, allow the South Bridge chip group intermittently produce the SMI look-at-me and give CPU;
(2), CPU enters the SMM pattern after receiving the SMI look-at-me, system's control is transferred among the SMI handler of BIOS;
(3), in the SMI of BIOS Handler, add the code that cpu temperature detects, add the code that environment temperature detects, add the code that rotation speed of the fan detects;
(4), the SMI Handler of BIOS control rotation speed of the fan.
The monitoring temperature module is connected to the SMI handler of South Bridge chip group and BIOS; The SMI handler of South Bridge chip group and BIOS is connected to fan control module; Fan control module is connected to the SMI handler of BIOS.
The monitoring temperature module is connected to the South Bridge chip group by lpc bus or I2C bus; The South Bridge chip group is connected to fan control module by lpc bus or I2C bus.
Detailed step is:
(1), by to the configuration of South Bridge chip group related register, allow the South Bridge chip group can intermittently produce the SMI look-at-me and give CPU;
(2), will be in the time interval of setting after the BIOS start, system's control is transferred among the SMI handler of BIOS;
(3), in the SMI of BIOS Handler, add the code that code that cpu temperature detects and environment temperature detect, obtain cpu temperature and environment temperature situation; Add the code that rotation speed of the fan detects, can obtain the real-time rotating speed of cpu fan, system fan;
(4), the SMI Handler of BIOS is by the real-time rotating speed to cpu temperature and environment temperature and cpu fan, system fan, makes a comprehensive judgement, control the rotating speed of cpu fan or system fan, and determine the amplitude that rotation speed of the fan is adjusted.
If after adjusting rotation speed of the fan, find that detected rotation speed of the fan do not make corresponding adjustment, fault has taken place in the rotation speed of the fan control module that just can judge this part, or the rotation speed of the fan testing circuit is out of joint, thereby sends warning.If after adjusting rotation speed of the fan, detected corresponding rotation speed of the fan has been made correct variation, but the temperature detection value of correspondence does not change with it, so just might be that fault has appearred in the monitoring temperature module; Can make a comprehensive judgement according to various situations, the strategy of making adjustment again perhaps produces alerting signal.
A kind of method of interrupting realizing the control of system fan rotating speed by SMI of the present invention except the described technical characterictic of instructions, is the known technology of those skilled in the art.

Claims (4)

1. method that interrupt to realize the control of system fan rotating speed by SMI is characterized in that step is:
(1), in the process of BIOS opening initialization, the register of South Bridge chip group is configured, allow the South Bridge chip group intermittently produce the SMI look-at-me and give CPU;
(2), CPU enters the SMM pattern after receiving the SMI look-at-me, system's control is transferred among the SMI handler of BIOS;
(3), in the SMI of BIOS Handler, add the code that cpu temperature detects, add the code that environment temperature detects, add the code that rotation speed of the fan detects;
(4), the SMI Handler of BIOS control rotation speed of the fan.
2. a kind of method of interrupting realizing the control of system fan rotating speed by SMI according to claim 1 is characterized in that the monitoring temperature module is connected to the SMI handler of South Bridge chip group and BIOS; The SMI handler of South Bridge chip group and BIOS is connected to fan control module; Fan control module is connected to the SMI handler of BIOS.
3. a kind of method of interrupting realizing the control of system fan rotating speed by SMI according to claim 2 is characterized in that the monitoring temperature module is connected to the South Bridge chip group by lpc bus or I2C bus; The South Bridge chip group is connected to fan control module by lpc bus or I2C bus.
4. a kind of method that interrupt to realize the control of system fan rotating speed by SMI according to claim 1 and 2 is characterized in that step is:
(1), by to the configuration of South Bridge chip group related register, allow the South Bridge chip group can intermittently produce the SMI look-at-me and give CPU;
(2), will be in the time interval of setting after the BIOS start, system's control is transferred among the SMI handler of BIOS;
(3), in the SMI of BIOS Handler, add the code that code that cpu temperature detects and environment temperature detect, obtain cpu temperature and environment temperature situation; Add the code that rotation speed of the fan detects, can obtain the real-time rotating speed of cpu fan, system fan;
(4), the SMI Handler of BIOS is by the real-time rotating speed to cpu temperature and environment temperature and cpu fan, system fan, makes judgement, controls the rotating speed of cpu fan or system fan, and the amplitude adjusted of rotation speed of the fan.
CN2013102014907A 2013-05-28 2013-05-28 Method for achieving control over rotation speed of system fan through SMI interruption Pending CN103345425A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013102014907A CN103345425A (en) 2013-05-28 2013-05-28 Method for achieving control over rotation speed of system fan through SMI interruption

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013102014907A CN103345425A (en) 2013-05-28 2013-05-28 Method for achieving control over rotation speed of system fan through SMI interruption

Publications (1)

Publication Number Publication Date
CN103345425A true CN103345425A (en) 2013-10-09

Family

ID=49280223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013102014907A Pending CN103345425A (en) 2013-05-28 2013-05-28 Method for achieving control over rotation speed of system fan through SMI interruption

Country Status (1)

Country Link
CN (1) CN103345425A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104636221A (en) * 2013-11-12 2015-05-20 研祥智能科技股份有限公司 Method and device for processing computer system fault
CN105183506A (en) * 2015-08-17 2015-12-23 山东超越数控电子有限公司 Method for solving power-down resetting of PCI (Programmable Communications Interface) device register during wake-up from S3
CN105736433A (en) * 2014-12-10 2016-07-06 中国长城计算机深圳股份有限公司 Fan control method and device and terminal
CN107145359A (en) * 2017-05-12 2017-09-08 郑州云海信息技术有限公司 A kind of BMC changes the optimization method of BIOS option
CN108874632A (en) * 2017-05-11 2018-11-23 精英电脑股份有限公司 The alarming method for power of computer system errors
CN109828882A (en) * 2017-11-23 2019-05-31 研祥智能科技股份有限公司 Cpu temperature and system ambient temperature monitoring device
CN111381643A (en) * 2018-12-28 2020-07-07 技嘉科技股份有限公司 Component power consumption switching circuit and mainboard thereof

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6259172B1 (en) * 1998-07-15 2001-07-10 Samsung Electronics Co., Ltd. Cooling fan controlling apparatus for computer
CN1332398A (en) * 2000-06-16 2002-01-23 株式会社东芝 Computer system and speed-controlling method of cooling fan
CN1412646A (en) * 2001-10-19 2003-04-23 联想(北京)有限公司 Computer temperature control device and method
US6647320B1 (en) * 1999-09-13 2003-11-11 Fujitsu Limited Software-based temperature controller circuit in electronic apparatus
CN1622040A (en) * 2003-11-24 2005-06-01 顺德市顺达电脑厂有限公司 Computer device abnormal detection and protection method
CN1808335A (en) * 2005-01-20 2006-07-26 英业达股份有限公司 Heat radiation method
CN101727349A (en) * 2008-11-03 2010-06-09 英业达股份有限公司 Method for transmitting system messages of computer system and configuration management program thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6259172B1 (en) * 1998-07-15 2001-07-10 Samsung Electronics Co., Ltd. Cooling fan controlling apparatus for computer
US6647320B1 (en) * 1999-09-13 2003-11-11 Fujitsu Limited Software-based temperature controller circuit in electronic apparatus
CN1332398A (en) * 2000-06-16 2002-01-23 株式会社东芝 Computer system and speed-controlling method of cooling fan
CN1412646A (en) * 2001-10-19 2003-04-23 联想(北京)有限公司 Computer temperature control device and method
CN1622040A (en) * 2003-11-24 2005-06-01 顺德市顺达电脑厂有限公司 Computer device abnormal detection and protection method
CN1808335A (en) * 2005-01-20 2006-07-26 英业达股份有限公司 Heat radiation method
CN101727349A (en) * 2008-11-03 2010-06-09 英业达股份有限公司 Method for transmitting system messages of computer system and configuration management program thereof

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104636221A (en) * 2013-11-12 2015-05-20 研祥智能科技股份有限公司 Method and device for processing computer system fault
CN104636221B (en) * 2013-11-12 2020-03-17 研祥智能科技股份有限公司 Computer system fault processing method and device
CN105736433A (en) * 2014-12-10 2016-07-06 中国长城计算机深圳股份有限公司 Fan control method and device and terminal
CN105183506A (en) * 2015-08-17 2015-12-23 山东超越数控电子有限公司 Method for solving power-down resetting of PCI (Programmable Communications Interface) device register during wake-up from S3
CN108874632A (en) * 2017-05-11 2018-11-23 精英电脑股份有限公司 The alarming method for power of computer system errors
CN107145359A (en) * 2017-05-12 2017-09-08 郑州云海信息技术有限公司 A kind of BMC changes the optimization method of BIOS option
CN109828882A (en) * 2017-11-23 2019-05-31 研祥智能科技股份有限公司 Cpu temperature and system ambient temperature monitoring device
CN111381643A (en) * 2018-12-28 2020-07-07 技嘉科技股份有限公司 Component power consumption switching circuit and mainboard thereof

Similar Documents

Publication Publication Date Title
CN103345425A (en) Method for achieving control over rotation speed of system fan through SMI interruption
CN102830247A (en) Method and device for detecting rotation state of rotation part
CN101609424B (en) System hardware monitoring and simulation testing module and method thereof
WO2007062897A3 (en) Apparatus and method for measuring and reporting processor capacity and processor usage in a computer system with processors of different speed and/or architecture
US9841795B2 (en) Method for resetting an electronic device having independent device domains
US20130073876A1 (en) Network wake up system with protection function
CN104899109A (en) Operating system based CPU temperature obtaining system
CN104794033A (en) CPU low-frequency fault positioning method and device based on BMC
US20120131371A1 (en) Method for obtaining power states of a computer
CN105843365A (en) Sensor control method and device
CN103995766A (en) Method for detecting and controlling temperatures of processor
CN104035536A (en) Monitoring and reset control method of embedded system
CN104331347A (en) Variable error rate-oriented check point interval real-time determining method
CN103530197A (en) Method for detecting and solving Linux system deadlock
US8015337B2 (en) Power efficient interrupt detection
US6321289B1 (en) Apparatus for automatically notifying operating system level applications of the occurrence of system management events
US6463492B1 (en) Technique to automatically notify an operating system level application of a system management event
CN117149691A (en) PCIe reference clock switching method, device, equipment and storage medium
CN103543682A (en) Method and device for identifying input state by common IO port
CN104750551A (en) A computer system and user-defined responding method thereof
CN103902425A (en) Computer system state monitoring method and device
CN112363894A (en) Domestic computer fault alarm system
US20060200275A1 (en) Apparatus and method for regulating temperature of a central processing unit
CN108167105B (en) Hydraulic unit vibration accident shutdown protection method and device
CN203798513U (en) Helium mass spectrometer data change detection additional apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20131009

WD01 Invention patent application deemed withdrawn after publication