Mark M. Hoffman
ad686ca408
bugfixes:
...
* VIDs were reading 10x too big - fixed integer magnitude
* enabling smart tach for one fan sometimes disabled it for others -
fixed bit-twiddling during writes
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2689 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-09-15 13:27:45 +00:00
Mark M. Hoffman
35729048e9
bugfix: small tweak to VID calculation for VRM v10.0
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2688 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-09-15 13:21:47 +00:00
Jean Delvare
6c96e6495b
Stupid typo.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2687 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-09-13 19:34:56 +00:00
Jean Delvare
e7e57349c2
Link to Floyd L. Davidson's tellerstats stuff.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2686 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-09-13 19:13:38 +00:00
Mark M. Hoffman
f47f0d2caf
bugfix: typo which broke fan1, fan2, & fan4 alarms
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2685 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-09-08 16:24:41 +00:00
Mark M. Hoffman
b3945a5625
Added support for LM93.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2684 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-09-08 16:21:44 +00:00
Mark M. Hoffman
3d08e7b625
Add missing ALARMS support for LM93 to libsensors.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2683 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-09-08 15:04:59 +00:00
Jean Delvare
ff74b8931c
Fix a few quirks in the lm87 section.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2682 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-31 21:03:26 +00:00
Jean Delvare
474d9b8bf1
Make it clear that the gl518sm "iterate" trick is gone in the
...
Linux 2.6 driver (ticket #1767 ).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2681 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-31 18:53:01 +00:00
Jean Delvare
657ffe4e9c
Wait for user input to continue (as opposed to 5 sec delay).
...
Can be skipped using -y.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2680 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-30 19:31:46 +00:00
Jean Delvare
7c969daeb5
Display lm87 vid with 3 decimal places.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2679 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-30 19:23:32 +00:00
Jean Delvare
eb8ced91c4
Trivial fixes (typo...)
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2678 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-30 19:19:52 +00:00
Jean Delvare
043d2bb261
New header file, for functions shared among i2c command line
...
tools (i2cdetect, i2cdump, i2cset).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2677 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-30 18:43:12 +00:00
Jean Delvare
e594f08271
Wait for user input to continue (as opposed to 5 sec delay).
...
Can be skipped using -y.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2676 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-29 21:22:00 +00:00
Jean Delvare
1cc6544e2b
Refactor i2c device opening.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2675 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-28 20:42:49 +00:00
Jean Delvare
680fc92ede
Don't hide adm1027 fans 2, 3 and 4 by default (ticket #1766 ).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2674 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-28 09:23:34 +00:00
Jean Delvare
2f3df5d0cb
Mass reindent.
...
Drop /dev/i2cN support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2673 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-26 21:01:40 +00:00
Mark M. Hoffman
c4fde53ac5
Reordered functions to get rid of all unnecessary forward decls. This
...
revision should be functionally equivalent with the previous, except one small
bugfix: a typo in one of the smart tach SYSCTL numbers. The unified diff from
this revision to the previous is nearly useless - sorry, it can't be helped.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2672 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-23 21:57:11 +00:00
Mark M. Hoffman
fafcbe79d7
Added support and documentation for auto/PWM:
...
* temp/pwm channel bindings
* temp channel base/offsets temperatures
* temp channel boost/hysteresis limits
* temp channel minimum PWM
* temp channel hysteresis for PWM
* pwm output spin-up minimum and spin-up duration
* pwm output #PROCHOT and #VRDHOT ramp times
Also...
* bugfix: #PROCHOT interval handling was broken
* bugfix: small documentation typo re: prochotN
* removed some TODO comments resolved by testing
* moved h/w register #defines into separate header
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2671 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-23 20:29:15 +00:00
Jean Delvare
0ca078c43a
Fix lm87 section, will help with the 2.6 driver.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2670 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-23 18:44:15 +00:00
Jean Delvare
d942e0f86f
Update.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2669 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-22 17:00:00 +00:00
Jean Delvare
28d90f50d5
Move it87 voltage limits setting after compute lines.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2668 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-22 16:46:30 +00:00
Mark M. Hoffman
36d420a4a6
bugfix: cut-n-paste mistake in previous fix *sigh*
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2667 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-19 19:12:16 +00:00
Mark M. Hoffman
8ad8ec2c5e
bugfix: forgot to actually update/read block1 - this should fix broken
...
alarm and #VRDHOT readings
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2666 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-19 18:50:38 +00:00
Jean Delvare
3046624dea
Hide 2.6 adm1027 alarm_mask being missing.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2665 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-19 17:22:24 +00:00
Jean Delvare
0d969d7486
Support udev. Patch by Aurelien Jarno.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2664 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-18 19:55:33 +00:00
Jean Delvare
89deecca35
Wait for user input to continue (as opposed to 5 sec delay).
...
Can be skipped using -y.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2663 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-16 18:55:39 +00:00
Jean Delvare
ed81aef459
Include xeontemp and pc87360 in the patch.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2662 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-16 18:24:55 +00:00
Jean Delvare
e7f4222ccb
Mass coding-style update.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2661 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-15 12:23:14 +00:00
Mark M. Hoffman
34f34e64ca
Added support and documentation for:
...
* reading #VRDHOT inputs
* reading GPIO pins (input only for now)
* reading alarms status
* #PROCHOT override control
* #PROCHOT sampling interval control
* Manual PWM output control
* PWM output frequency control
Also, some whitespace cleanup in the driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2660 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-13 19:29:33 +00:00
Mark M. Hoffman
e5ee8c4b03
bugfix: smart tach handling was not quite finished
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2659 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-12 22:21:25 +00:00
Jean Delvare
85aa44e467
Backport some cleanups and fixes from 2.6.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2658 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-12 19:51:04 +00:00
Jean Delvare
47b99847bb
Support 2.6 kernels and sensors in /usr/bin. Original patch by
...
Giuseppe Della Bianca.
Additional indentation cleanups.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2657 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-11 17:29:00 +00:00
Jean Delvare
fd5761aac5
Backports from 2.6:
...
* Default to kind lm83 if forced.
* Fix temperature macros.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2656 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-09 18:36:02 +00:00
Jean Delvare
76fd9cd677
Fix LM83 critical limit in Linux 2.6 (support both old temp_crit
...
and new temp3_crit).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2655 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-08 20:10:24 +00:00
Jean Delvare
a942af3cfc
Allow an alternate sysfs file name for chip features. This is
...
needed to provide backward compatibility when changes are made
to the sysfs interface (policy change or driver fix).
The first item for which this is needed is VID files. The name
we chose, in0_ref, is bad (because motherboard manufacturers can
use any input for VCore, regardless of the recommendations.
Thus, the new name cpu0_vid is better. Drivers will be updated
later.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2654 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-08 16:38:28 +00:00
Mark M. Hoffman
57320d467a
first draft at a driver for LM93
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2653 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-05 03:44:30 +00:00
Jean Delvare
6cd3332205
Fix (unused) logical device enable register value.
...
Fix pwm_enable being inverted.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2652 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-01 09:17:37 +00:00
Jean Delvare
3145dca984
Discard outdated module parameters.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2651 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-01 08:59:48 +00:00
Jean Delvare
7a3d256045
Detect the LM63.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2650 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-31 16:09:37 +00:00
Jean Delvare
c74c331d1e
Patch by Kris Van Hees:
...
Here is a small patch that fixes the setting of limits on the temp2 sensors
in the MTP008 chip. The code (embarassingly written by myself when I wrote
the MTP008 chip driver a long time ago) would always update the hyst and max
limits of the first temp sensor, even when you tried to set it for the 2nd
or 3rd sensors.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2649 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-31 13:00:59 +00:00
Mark D. Studebaker
be21b1fdaa
spoof LOGNAME and HOSTNAME when making html man pages
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2648 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-24 19:15:09 +00:00
Mark D. Studebaker
86e0a5ef92
cleanups - remove parens in synopsis (docbook doesn't like);
...
replace I\u2\dC with I2C since man2html doesn't translate it
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2647 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-24 19:00:21 +00:00
Mark D. Studebaker
e4790ad057
remove my email address
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2646 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-24 18:58:56 +00:00
Mark D. Studebaker
1187c8b952
shorten sensor types for w8378x so lines don't wrap on 80-column terminal
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2645 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-24 18:38:04 +00:00
Mark D. Studebaker
70d2d75e54
remove reset of chip by driver on initialization
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2644 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-24 18:20:07 +00:00
Mark D. Studebaker
8ec58b6b76
fix alphabetical order
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2643 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-24 17:54:10 +00:00
Jean Delvare
687fb60ff4
Support 2.6 smsc47m1 better.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2642 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-23 17:35:19 +00:00
Jean Delvare
1f15d4d019
Update.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2641 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-18 19:59:29 +00:00
Jean Delvare
7ec4284d27
Perl cleanups as suggested by ton of #perl@ircnet (part 2).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2640 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-14 14:58:21 +00:00