mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 06:15:15 +00:00
Apply patch from David Gesswein:
The following patch does the following: Fixed bug with not all alarms enabled. Added ability to read battery voltage Select temperature sensor type at module load time. Added setting for Inside Technologies 786LCD board to example config file I also fixed what looked like a typo in the existing it87 section where in6_min/max was set twice and in7 was not set. As commented I think the equation for the negative voltages are wrong but without that motherboard I can't verify. With the 786LCD board sensors-detect reports a lm78 which doesn't exist and a sis5595 which may be part of the SIS630 chip but doesn't perform the monitoring. The it8705F/SIS950 which is on the board is reported as a misdetect. I didn't know enough about the various chips to figure out how to get correct detections. David Gesswein git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1146 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -2554,6 +2554,15 @@ void print_it87(const sensors_chip_name *name)
|
||||
} else
|
||||
printf("ERROR: Can't get IN7 data!\n");
|
||||
free_the_label(&label);
|
||||
if (!sensors_get_label_and_valid(*name,SENSORS_IT87_IN8,&label,&valid) &&
|
||||
!sensors_get_feature(*name,SENSORS_IT87_IN8,&cur)) {
|
||||
if (valid) {
|
||||
print_label(label,10);
|
||||
printf("%+6.2f V\n", cur);
|
||||
}
|
||||
} else
|
||||
printf("ERROR: Can't get IN8 data!\n");
|
||||
free_the_label(&label);
|
||||
|
||||
if (!sensors_get_label_and_valid(*name,SENSORS_IT87_FAN1,&label,&valid) &&
|
||||
!sensors_get_feature(*name,SENSORS_IT87_FAN1,&cur) &&
|
||||
|
Reference in New Issue
Block a user