Changeset 4264
- Timestamp:
- 12/18/06 08:43:00 (2 years ago)
- Files:
-
- lm-sensors/trunk/CHANGES (modified) (2 diffs)
- lm-sensors/trunk/etc/sensors.conf.eg (modified) (2 diffs)
- lm-sensors/trunk/lib/access.c (modified) (1 diff)
- lm-sensors/trunk/lib/chips.c (modified) (2 diffs)
- lm-sensors/trunk/lib/chips.h (modified) (1 diff)
- lm-sensors/trunk/prog/sensors/chips.c (modified) (1 diff)
- lm-sensors/trunk/prog/sensors/main.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
lm-sensors/trunk/CHANGES
r4263 r4264 12 12 Add config-file scanner regression tests 13 13 Add f71872f support 14 Add w83627dhg support (David Holl, #2157) 14 15 Man page i2cdetect.8: Describe the output convention 15 16 Man page sensors.1: Update (option -c) and clean up … … 28 29 Drop option -a (show algorithm names) 29 30 Add f71872f support 31 Add w83627dhg support (David Holl, #2157) 30 32 Program sensors-detect: Add SMSC DME1737 detection 31 33 Add Fintek F71882FG and EPoX EP1308 detection lm-sensors/trunk/etc/sensors.conf.eg
r4168 r4264 2633 2633 # Winbond W83627EHF configuration originally contributed by Leon Moonen 2634 2634 # This is for an Asus P5P800, voltages for A8V-E SE. 2635 chip "w83627ehf-*" 2635 chip "w83627ehf-*" "w83627dhg-*" 2636 2636 2637 2637 label in0 "VCore" … … 2641 2641 label in8 "VBAT" 2642 2642 2643 # The W83627DHG has no in9, uncomment the following line 2644 # ignore in9 2643 2645 2644 2646 # +12V is in1 and +5V is in6 as recommended by datasheet lm-sensors/trunk/lib/access.c
r4208 r4264 461 461 } 462 462 if ((res = sensors_set_feature(name, feature_nr, value))) { 463 sensors_parse_error("Can't set feature.", 464 chip->sets[i].lineno); 463 465 err = res; 464 466 continue; lm-sensors/trunk/lib/chips.c
r4232 r4264 1955 1955 1956 1956 /* No support for Linux 2.4 yet (sysctl) */ 1957 /* W83627DHG uses same structure excluding in9* */ 1957 1958 static sensors_chip_feature w83627ehf_features[] = 1958 1959 { … … 6081 6082 { SENSORS_W83L785TS_PREFIX, w83l785ts_features }, 6082 6083 { SENSORS_W83627EHF_PREFIX, w83627ehf_features }, 6084 { SENSORS_W83627DHG_PREFIX, w83627ehf_features }, /* Similar to W83627EHF but no in9 */ 6083 6085 { SENSORS_AS99127F_PREFIX, as99127f_features }, 6084 6086 { SENSORS_ASB100_PREFIX, asb100_features }, lm-sensors/trunk/lib/chips.h
r4232 r4264 869 869 870 870 871 /* Winbond W83627EHF Super-I/O chips */ 871 /* Winbond W83627EHF & W83627DHG Super-I/O chips */ 872 /* (W83627DHG is similar to W83627EHF but no in9) */ 872 873 873 874 #define SENSORS_W83627EHF_PREFIX "w83627ehf" 875 #define SENSORS_W83627DHG_PREFIX "w83627dhg" 874 876 875 877 #define SENSORS_W83627EHF_IN0 1 /* R */ lm-sensors/trunk/prog/sensors/chips.c
r4232 r4264 2896 2896 { 2897 2897 char *label; 2898 int i, valid ;2898 int i, valid, num_in; 2899 2899 double cur, min, div, max, alarm, over, hyst; 2900 2900 2901 for (i = 0; i < 10; i++) { 2901 if (!strcmp(name->prefix, "w83627dhg")) 2902 num_in = 9; 2903 else 2904 num_in = 10; 2905 2906 for (i = 0; i < num_in; i++) { 2902 2907 if (!sensors_get_label_and_valid(*name,SENSORS_W83627EHF_IN0+i, 2903 2908 &label,&valid) lm-sensors/trunk/prog/sensors/main.c
r4232 r4264 368 368 { "w83687thf", print_w83781d }, 369 369 { "w83627ehf", print_w83627ehf }, 370 { "w83627dhg", print_w83627ehf }, 370 371 { "w83791d", print_w83781d }, 371 372 { "w83792d", print_w83792d },
