⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 w83792d

📁 linux 内核源代码
💻
字号:
Kernel driver w83792d=====================Supported chips:  * Winbond W83792D    Prefix: 'w83792d'    Addresses scanned: I2C 0x2c - 0x2f    Datasheet: http://www.winbond.com.tw/E-WINBONDHTM/partner/PDFresult.asp?Pname=1035Author: Chunhao HuangContact: DZShen <DZShen@Winbond.com.tw>Module Parameters-----------------* init int  (default 1)  Use 'init=0' to bypass initializing the chip.  Try this if your computer crashes when you load the module.* force_subclients=bus,caddr,saddr,saddr  This is used to force the i2c addresses for subclients of  a certain chip. Example usage is `force_subclients=0,0x2f,0x4a,0x4b'  to force the subclients of chip 0x2f on bus 0 to i2c addresses  0x4a and 0x4b.Description-----------This driver implements support for the Winbond W83792AD/D.Detection of the chip can sometimes be foiled because it can be in aninternal state that allows no clean access (Bank with ID register is notcurrently selected). If you know the address of the chip, use a 'force'parameter; this will put it into a more well-behaved state first.The driver implements three temperature sensors, seven fan rotation speedsensors, nine voltage sensors, and two automatic fan regulationstrategies called: Smart Fan I (Thermal Cruise mode) and Smart Fan II.Automatic fan control mode is possible only for fan1-fan3. Fan4-fan7 can runsynchronized with selected fan (fan1-fan3). This functionality and manual PWMcontrol for fan4-fan7 is not yet implemented.Temperatures are measured in degrees Celsius and measurement resolution is 1degC for temp1 and 0.5 degC for temp2 and temp3. An alarm is triggered whenthe temperature gets higher than the Overtemperature Shutdown value; it stayson until the temperature falls below the Hysteresis value.Fan rotation speeds are reported in RPM (rotations per minute). An alarm istriggered if the rotation speed has dropped below a programmable limit. Fanreadings can be divided by a programmable divider (1, 2, 4, 8, 16, 32, 64 or128) to give the readings more range or accuracy.Voltage sensors (also known as IN sensors) report their values in millivolts.An alarm is triggered if the voltage has crossed a programmable minimumor maximum limit.Alarms are provided as output from "realtime status register". Following bitsare defined:bit - alarm on:0  - in01  - in12  - temp13  - temp24  - temp35  - fan16  - fan27  - fan38  - in29  - in310 - in411 - in512 - in613 - VID change14 - chassis15 - fan716 - tart117 - tart218 - tart319 - in720 - in821 - fan422 - fan523 - fan6Tart will be asserted while target temperature cannot be achieved after 3 minutesof full speed rotation of corresponding fan.In addition to the alarms described above, there is a CHAS alarm on the chipswhich triggers if your computer case is open (This one is latched, contraryto realtime alarms).The chips only update values each 3 seconds; reading them more often willdo no harm, but will return 'old' values.W83792D PROBLEMS----------------Known problems:	- This driver is only for Winbond W83792D C version device, there	  are also some motherboards with B version W83792D device. The	  calculation method to in6-in7(measured value, limits) is a little	  different between C and B version. C or B version can be identified	  by CR[0x49h].	- The function of vid and vrm has not been finished, because I'm NOT	  very familiar with them. Adding support is welcome. 	- The function of chassis open detection needs more tests.	- If you have ASUS server board and chip was not found: Then you will	  need to upgrade to latest (or beta) BIOS. If it does not help please	  contact us.Fan control-----------Manual mode-----------Works as expected. You just need to specify desired PWM/DC value (fan speed)in appropriate pwm# file.Thermal cruise--------------In this mode, W83792D provides the Smart Fan system to automatically controlfan speed to keep the temperatures of CPU and the system within specificrange. At first a wanted temperature and interval must be set. This is donevia thermal_cruise# file. The tolerance# file serves to create T +- toleranceinterval. The fan speed will be lowered as long as the current temperatureremains below the thermal_cruise# +- tolerance# value. Once the temperatureexceeds the high limit (T+tolerance), the fan will be turned on with aspecific speed set by pwm# and automatically controlled its PWM duty cyclewith the temperature varying. Three conditions may occur:(1) If the temperature still exceeds the high limit, PWM dutycycle will increase slowly.(2) If the temperature goes below the high limit, but still above the lowlimit (T-tolerance), the fan speed will be fixed at the current speed becausethe temperature is in the target range.(3) If the temperature goes below the low limit, PWM duty cycle will decreaseslowly to 0 or a preset stop value until the temperature exceeds the lowlimit. (The preset stop value handling is not yet implemented in driver)Smart Fan II------------W83792D also provides a special mode for fan. Four temperature points areavailable. When related temperature sensors detects the temperature in presettemperature region (sf2_point@_fan# +- tolerance#) it will cause fans to runon programmed value from sf2_level@_fan#. You need to set four temperaturesfor each fan./sys files----------pwm[1-3] - this file stores PWM duty cycle or DC value (fan speed) in range:	0 (stop) to 255 (full)pwm[1-3]_enable - this file controls mode of fan/temperature control:            * 0 Disabled            * 1 Manual mode            * 2 Smart Fan II            * 3 Thermal Cruisepwm[1-3]_mode - Select PWM of DC mode            * 0 DC            * 1 PWMthermal_cruise[1-3] - Selects the desired temperature for cruise (degC)tolerance[1-3] - Value in degrees of Celsius (degC) for +- Tsf2_point[1-4]_fan[1-3] - four temperature points for each fan for Smart Fan IIsf2_level[1-3]_fan[1-3] - three PWM/DC levels for each fan for Smart Fan II

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -