Replace VID_FROM_REG() with vid_from_reg() in new sensors_vid.h.
Update library so it can be set in sensors.conf.
Add new documentation. Update mkpatch for new file.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1352 7894878c-1315-0410-8ee3-d5d059ff63e0
For lm78, 78-j, 79, w83781d, and as99127f, the chips have integral
inverters, so the compute lines are inverting.
Therefore the min register is really max and vice versa.
So the library was wrong, but sensors.conf.eg was wrong too,
so the chip got programmed correctly but 'sensors' printed
min and max backwards.
This was a different situation than for the previous fix to
sensors.conf.eg, where the chips were programmed wrong due
solely to sensors.conf.eg being incorrect.
In this fix we change the library and sensors.conf.eg.
The chip is still programmed right by 'sensors -s' (since
the library and sensors.conf changes cancel each other out)
but 'sensors' now prints correctly.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1305 7894878c-1315-0410-8ee3-d5d059ff63e0
These were set to NO_MAPPING so compute entries for
the fans would not affect the fan_mins.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1255 7894878c-1315-0410-8ee3-d5d059ff63e0
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
patch from Christian Zuckschwerdt:
Hi,
On Fri, 15 Jun 2001, Mark D. Studebaker wrote:
> I looked at the patch and I see there are separate
> /proc entries for the 9 and 12 bit outputs.
> Why not just make the 12 bit output the only output using "temp"??
> I don't understand the need for all the new /proc entries,
> except perhaps for debugging inside #ifdef DEBUG.
> Would you or Jan be willing to develop a patch that way?
> I'm all for increased accuracy as a standard feature - why not?
Ok. I rewrote the patch to support standard (9bit) and enhanced (12bit)
accuracy via the "temp" entry. The "raw" interface is also gone.
There are some quirks needed for the sensors app. It seems that
prog/sensors/chips.c fixes the output to %+3.1f
Thats not good for 12bit mode which gives you 2 decimals and therefor
wrong scaling.
Precision is .062 with 12bit (4 decimal bits) instead of .5 with 9bit (1
decimal bit). That way 2 decimals seem a natural choice.
On the other hand I see no obvious reason not to fix decimals to 1...
I'm lost there -- suggestions anyone?
Another problem is that 12bit is slow and laggy. I don't recommend making
it the default mode.
cu.
:
Christian
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1145 7894878c-1315-0410-8ee3-d5d059ff63e0
> - Update, if necessary, the version number of `sensors'
> (edit prog/sensors/main.c and change the VERSION define)
> `cvs diff -r Vx-y-z prog/sensors' is your friend.
It seems that VERSION is now defined to LM_VERSION, so I removed this line
from the checklist.
> - Update if necessary, the version number of libsensors
I did a `cvs diff -r V2-5-5'. Looking at it, I see no interface changes,
but I do see new functionality. So I updated the library minor version.
The library version is now 1.2.0.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1129 7894878c-1315-0410-8ee3-d5d059ff63e0
_sysctl_real
_register_entry
_proc_real
_detect
_deregister_entry
_chips_data
which were the global symbols renamed in i2c-proc.[ch] in the
i2c package.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1101 7894878c-1315-0410-8ee3-d5d059ff63e0
on both platforms). LM87 support is very far along, and should work
for a majority of users, but some minor tweaks are still on the to-do list.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@963 7894878c-1315-0410-8ee3-d5d059ff63e0
4 banks per memory chip. Add banks entry to libsensors and
use # of banks in calculation.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@839 7894878c-1315-0410-8ee3-d5d059ff63e0