Changeset 4083
- Timestamp:
- 08/03/06 22:28:20 (7 years ago)
- Location:
- lm-sensors/trunk
- Files:
-
- 8 modified
-
CHANGES (modified) (3 diffs)
-
etc/sensors.conf.eg (modified) (1 diff)
-
lib/chips.c (modified) (1 diff)
-
lib/chips.h (modified) (1 diff)
-
prog/detect/sensors-detect (modified) (2 diffs)
-
prog/sensord/chips.c (modified) (1 diff)
-
prog/sensors/chips.c (modified) (1 diff)
-
prog/sensors/main.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/CHANGES
r4077 r4083 6 6 File etc/sensors.conf.eg: Add an smsc47m192 section 7 7 Comment out all set statements 8 Add an it8716 section 8 9 Library: Fix device scan when no i2c support is present 9 10 Add support for W83627EHF voltage inputs and alarms … … 11 12 Fix all memory leaks (yeah!) 12 13 Fix no sensors being reported as an error 14 Add support for the IT8716F chip 13 15 Makefile: Don't grep autoconf.h on user-space targets 14 16 Fix depmod on non-running kernel version … … 44 46 Add abituguru support (Hans de Goede) 45 47 Fix memory leak when printing an unknown chip 48 Add it8716 support 49 Make each it87 fan and fan div optional 46 50 Program sensors-detect: Add ServerWorks HT-1000 SMBus detection 47 51 Add ATI IXP200/300/400 SMBus detection -
lm-sensors/trunk/etc/sensors.conf.eg
r4074 r4083 1679 1679 1680 1680 1681 chip "it8716-*" 1682 1683 # Voltages 1684 1685 label in0 "VCore" 1686 label in2 "+3.3V" 1687 label in3 "+5V" 1688 label in4 "+12V" 1689 label in7 "5VSB" 1690 label in8 "VBat" 1691 1692 compute in3 ((6.8/10)+1)*@ , @/((6.8/10)+1) 1693 compute in4 ((30/10)+1)*@ , @/((30/10)+1) 1694 compute in7 ((6.8/10)+1)*@ , @/((6.8/10)+1) 1695 1696 # If vid (nominal CPU voltage) isn't correct, hardcode the correct value 1697 # instead. 1698 # set in0_min vid * 0.95 1699 # set in0_max vid * 1.05 1700 # set in2_min 3.3 * 0.95 1701 # set in2_max 3.3 * 1.05 1702 # set in3_min 5 * 0.95 1703 # set in3_max 5 * 1.05 1704 # set in4_min 12 * 0.95 1705 # set in4_max 12 * 1.05 1706 # set in7_min 5 * 0.95 1707 # set in7_max 5 * 1.05 1708 # The chip does not support in8 min/max 1709 1710 # Temperatures 1711 1712 # If you are lucky, the BIOS has set the proper sensor types for you. 1713 # If your temperature readings are completely whacky you probably 1714 # need to change the sensor types. Adujst and uncomment the 1715 # appropriate lines below. 1716 # 1717 # 2 = thermistor; 3 = thermal diode; 0 = unused 1718 # set sensor1 3 1719 # set sensor2 3 1720 # set sensor3 3 1721 1722 # If a given sensor isn't used, you will probably want to ignore it 1723 # as well (see ignore statement right below). 1724 # The CPU sensor can be any of temp1, temp2 or temp3 - it's motherboard 1725 # dependent. Same for the motherboard temperature. 1726 1727 # label temp1 "CPU Temp" 1728 # label temp2 "M/B Temp" 1729 # ignore temp3 1730 1731 # set temp1_over 60 1732 # set temp1_low 10 1733 # set temp2_over 50 1734 # set temp2_low 10 1735 1736 # Fans 1737 1738 # The CPU fan can be any of fan1, fan2 or fan3 - it's motherboard 1739 # dependent. Same for the case fan. 1740 1741 # label fan1 "CPU Fan" 1742 # label fan2 "Case Fan" 1743 # ignore fan3 1744 1745 # set fan1_min 2000 1746 # set fan2_min 2000 1747 1748 1681 1749 chip "fscpos-*" 1682 1750 # Fujitsu-Siemens Poseidon chip -
lm-sensors/trunk/lib/chips.c
r4035 r4083 5905 5905 { SENSORS_IT87_PREFIX, it87_features }, 5906 5906 { SENSORS_IT8712_PREFIX, it87_features }, 5907 { SENSORS_IT8716_PREFIX, it87_features }, 5907 5908 { SENSORS_FSCPOS_PREFIX, fscpos_features }, 5908 5909 { SENSORS_FSCSCY_PREFIX, fscscy_features }, -
lm-sensors/trunk/lib/chips.h
r4035 r4083 1542 1542 #define SENSORS_IT87_PREFIX "it87" 1543 1543 #define SENSORS_IT8712_PREFIX "it8712" 1544 #define SENSORS_IT8716_PREFIX "it8716" 1544 1545 1545 1546 #define SENSORS_IT87_IN0 1 /* R */ -
lm-sensors/trunk/prog/detect/sensors-detect
r4082 r4083 1494 1494 { 1495 1495 name => "ITE IT8716F", 1496 driver => " to-be-tested",1496 driver => "it87", 1497 1497 isa_addrs => [0x290], 1498 1498 isa_detect => sub { ite_isa_detect 2, @_ }, … … 1740 1740 { 1741 1741 name => "ITE IT8716F Super IO Sensors", 1742 driver => " to-be-tested",1742 driver => "it87", 1743 1743 devid => 0x8716, 1744 1744 logdev => 0x04, -
lm-sensors/trunk/prog/sensord/chips.c
r3173 r4083 547 547 548 548 static const char *it87_names[] = { 549 SENSORS_IT87_PREFIX, SENSORS_IT8712_PREFIX, NULL 549 SENSORS_IT87_PREFIX, SENSORS_IT8712_PREFIX, 550 SENSORS_IT8716_PREFIX, NULL 550 551 }; 551 552 -
lm-sensors/trunk/prog/sensors/chips.c
r4037 r4083 3603 3603 if (!sensors_get_label_and_valid(*name,SENSORS_IT87_FAN1,&label,&valid) && 3604 3604 !sensors_get_feature(*name,SENSORS_IT87_FAN1,&cur) && 3605 !sensors_get_feature(*name,SENSORS_IT87_FAN1_DIV,&fdiv) &&3606 3605 !sensors_get_feature(*name,SENSORS_IT87_FAN1_MIN,&min)) { 3607 3606 if (valid) { 3608 3607 print_label(label,10); 3609 printf("%4.0f RPM (min = %4.0f RPM, div = %1.0f) %s\n", 3610 cur,min,fdiv, alarms&IT87_ALARM_FAN1?"ALARM":""); 3611 } 3612 } else 3613 printf("ERROR: Can't get FAN1 data!\n"); 3608 printf("%4.0f RPM (min = %4.0f RPM", cur, min); 3609 /* fan1_div is optional */ 3610 if (!sensors_get_feature(*name, SENSORS_IT87_FAN1_DIV, &fdiv)) 3611 printf(", div = %1.0f)", fdiv); 3612 else 3613 printf(") "); 3614 printf(" %s\n", alarms&IT87_ALARM_FAN1?"ALARM":""); 3615 } 3616 } 3614 3617 free(label); 3615 3618 if (!sensors_get_label_and_valid(*name,SENSORS_IT87_FAN2,&label,&valid) && 3616 3619 !sensors_get_feature(*name,SENSORS_IT87_FAN2,&cur) && 3617 !sensors_get_feature(*name,SENSORS_IT87_FAN2_DIV,&fdiv) &&3618 3620 !sensors_get_feature(*name,SENSORS_IT87_FAN2_MIN,&min)) { 3619 3621 if (valid) { 3620 3622 print_label(label,10); 3621 printf("%4.0f RPM (min = %4.0f RPM, div = %1.0f) %s\n", 3622 cur,min,fdiv, alarms&IT87_ALARM_FAN2?"ALARM":""); 3623 } 3624 } else 3625 printf("ERROR: Can't get FAN2 data!\n"); 3623 printf("%4.0f RPM (min = %4.0f RPM", cur, min); 3624 /* fan2_div is optional */ 3625 if (!sensors_get_feature(*name, SENSORS_IT87_FAN2_DIV, &fdiv)) 3626 printf(", div = %1.0f)", fdiv); 3627 else 3628 printf(") "); 3629 printf(" %s\n", alarms&IT87_ALARM_FAN2?"ALARM":""); 3630 } 3631 } 3626 3632 free(label); 3627 3633 if (!sensors_get_label_and_valid(*name,SENSORS_IT87_FAN3,&label,&valid) && 3628 3634 !sensors_get_feature(*name,SENSORS_IT87_FAN3,&cur) && 3629 !sensors_get_feature(*name,SENSORS_IT87_FAN3_DIV,&fdiv) &&3630 3635 !sensors_get_feature(*name,SENSORS_IT87_FAN3_MIN,&min)) { 3631 3636 if (valid) { 3632 3637 print_label(label,10); 3633 printf("%4.0f RPM (min = %4.0f RPM, div = %1.0f) %s\n", 3634 cur,min,fdiv, alarms&IT87_ALARM_FAN3?"ALARM":""); 3635 } 3636 } else 3637 printf("ERROR: Can't get FAN3 data!\n"); 3638 printf("%4.0f RPM (min = %4.0f RPM", cur, min); 3639 /* fan3_div is optional */ 3640 if (!sensors_get_feature(*name, SENSORS_IT87_FAN3_DIV, &fdiv)) 3641 printf(", div = %1.0f)", fdiv); 3642 else 3643 printf(") "); 3644 printf(" %s\n", alarms&IT87_ALARM_FAN3?"ALARM":""); 3645 } 3646 } 3638 3647 free(label); 3639 3648 -
lm-sensors/trunk/prog/sensors/main.c
r4035 r4083 382 382 { "it87", print_it87 }, 383 383 { "it8712", print_it87 }, 384 { "it8716", print_it87 }, 384 385 { "ddcmon", print_ddcmon }, 385 386 { "eeprom", print_eeprom },
