Show
Ignore:
Timestamp:
07/03/07 15:22:28 (5 years ago)
Author:
khali
Message:

Drop VRM reporting and selection support from libsensors. Since kernel
2.6.9, the right VID conversion formula is selected automatically
depending on the CPU model, so the user shouldn't have to care.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-3.0.0/doc/vid

    r2601 r4543  
    4444Note that versions 8.1 - 8.4 are compatible. 
    4545 
    46 lm_sensors versions through 2.6.3 support only the VRM 8.2 standard. 
    47  
    48 Starting in lm_sensors 2.6.4 the VRM version is configurable. 
    49 To configure the sensor chip for the correct voltage range, 
    50 you must set the "vrm" correctly either via /proc, /sys,  or sensors.conf. 
    51  
    52 To be compatible with previous lm_sensors versions, the vrm defaults 
    53 to version 8.2. Generally, for recent motherboards, this will not 
    54 be correct. Try 9.0 first. 
    55  
    56 To change the vrm version to 9.0, for example, do the following 
    57 after the chip module (in this example, w83781d) is loaded: 
    58  
    59         (kernel 2.4) 
    60             echo 9.0 > /proc/sys/dev/sensors/w83781d-isa-0290/vrm 
    61         (kernel 2.6) 
    62             echo 90 > /sys/bus/i2c/devices/0-0290/vrm 
    63  
    64 Alternatively, add a line in /etc/sensors.conf in the w83781d section 
    65 (you should put this line BEFORE any line that uses vid in a calculation): 
    66  
    67         set vrm 9.0 
    68  
    69 and then, after the chip module is loaded, do: 
    70  
    71         sensors -s 
    72  
    73 After this, reading the vid either by 
    74  
    75         (kernel 2.4) 
    76             cat /proc/sys/dev/sensors/w83781d-isa-0290/vid 
    77         (kernel 2.6 - divide the output by 1000) 
    78             cat /sys/bus/i2c/devices/0-0290/in0_ref 
    79  
    80 or by 
    81  
    82         sensors 
    83  
    84 should show the new vid value. 
    85  
    86  
    87 The following values are legal vrm values. Other values will be 
    88 allowed but will result in using the 8.2 standard. 
    89  
    90         2.4, 8.1-8.5, 9.0, 9.1, 10.0 
    91  
     46Since Linux 2.6.9, the correct VRM version is selected automatically 
     47based on the CPU brand and model. Thus you shouldn't have to care about 
     48it. If you are using a brand new CPU and even the latest kernel complains 
     49("Unknown VRM version of your CPU"), this means that the kernel must be 
     50taught about this new CPU model. Please report to us in this case. 
    9251 
    9352Remember, the VID pins on the sensor chips are inputs only. 
    94 That means they can't be changed and there shouldn't be 
    95 any problems if you experiment with the vrm values until you 
    96 get it right. You cannot manipulate the actual processor core 
    97 voltage through lm_sensors drivers. 
    98  
    99 Not all sensor chips have VID inputs. 
    100 For those that do, the VRM support status is listed below. 
    101  
    102 The following chip drivers support all the VRM versions via 
    103 /etc/sensors.conf and the vrm entry in /proc or /sys: 
    104  
    105         adm1025, adm1026, asb100, lm85, lm87, 
    106         vt1211, vt8231, w83627hf, w83781d 
    107  
    108  
    109 The following chip drivers support only VRM 8.2 and cannot be changed: 
    110  
    111         adm1024, it87, mtp008 
    112         adm9240, gl520sm, lm78, maxilife 
    113  
    114 If you have a board with one of these chips which needs advanced 
    115 VRM support please email us. 
     53You cannot use them to manipulate the actual processor core voltage. 
    11654 
    11755------------------