Changeset 649

Show
Ignore:
Timestamp:
12/01/99 22:07:51 (13 years ago)
Author:
frodo
Message:

Something in the README about ways to determine your chips

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/README

    r614 r649  
    2929At least the following SMBus adapters are supported: 
    3030  Acer Labs M1541 and M1543C (used in the Aladdin IV, V and Pro 2 chipsets) 
     31  AMD 756 
    3132  Apple Hydra (used on some PPC machines) 
    3233  Intel ICH (used in the Intel 810 and 810E chipsets) 
     
    6162If you want to offer more substantial help, this is very welcome too, of 
    6263course. 
     64 
     65 
     66Don't ask us whether we support a particular mainboard; we do not know. 
     67We *do* know what hardware we support, but usually, it is easier to 
     68install everything and run sensors-detect. It will tell you what hardware 
     69you have (and incidentally, what corresponding drivers are needed). You 
     70could also take a look at http://members.brabant.chello.nl/~a.vankaam/mbm 
     71(this lists chips found on many mainboard, but regrettable, not the adapters 
     72on them) or http://web01.fureai.or.jp/~hirobo/project/reserch_project.html 
     73(yes, it is japanese; you want the ninth column, and it again lists only 
     74chips, not adapters). 
    6375 
    6476 
     
    97109 
    98110The latest version of this package can always be found on our homepage: 
    99 http://www.netroedge.com/~lm78. Pre-release  versions can be retrieved 
     111http://www.netroedge.com/~lm78. Pre-release versions can be retrieved 
    100112through anonymous CVS; see doc/cvs for more information. 
    101113 
  • lm-sensors/trunk/lib/access.c

    r207 r649  
    129129} 
    130130 
     131#include <stdio.h> 
     132 
    131133/* Look up the label which belongs to this chip. Note that chip should not 
    132134   contain wildcard values! *result is newly allocated (free it yourself). 
    133135   This function will return 0 on success, and <0 on failure.  */ 
    134 int sensors_get_label(sensors_chip_name name, int feature, char **result) 
     136int sensors_get_label1(sensors_chip_name name, int feature, char **result) 
    135137{ 
    136138  const sensors_chip *chip; 
     
    154156} 
    155157 
     158int sensors_get_label(sensors_chip_name name, int feature, char **result) 
     159{ 
     160        int res=sensors_get_label1(name,feature,result); 
     161        if (res) fprintf(stderr,"\nerror get_label: %d\n",res); 
     162        return res; 
     163} 
     164 
    156165/* Read the value of a feature of a certain chip. Note that chip should not 
    157166   contain wildcard values! This function will return 0 on success, and <0 
    158167   on failure. */ 
    159 int sensors_get_feature(sensors_chip_name name, int feature, double *result) 
     168int sensors_get_feature1(sensors_chip_name name, int feature, double *result) 
    160169{ 
    161170  const sensors_chip_feature *main_feature; 
     
    197206} 
    198207       
     208int sensors_get_feature(sensors_chip_name name, int feature, double *result) 
     209{ 
     210        int res=sensors_get_feature1(name,feature,result); 
     211        if (res) fprintf(stderr,"\nerror get_feature: %d\n",res); 
     212        return res; 
     213} 
     214 
    199215/* Set the value of a feature of a certain chip. Note that chip should not 
    200216   contain wildcard values! This function will return 0 on success, and <0