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
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
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
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
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
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
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
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
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
ec48efad1c
Fix LM75 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2637 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-08 19:16:14 +00:00
Jean Delvare
d282a5f3be
Add LM86, MAX6657 and MAX6658 support to the lm90 driver.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2633 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-04 19:12:18 +00:00
Jean Delvare
1b99a9c4ad
More init stuff.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2629 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-03 15:50:27 +00:00
Jean Delvare
d6d0d33352
Rework detection to take benefits of the no-register addresses
...
returning the last read value. Should prevent about any
misdetection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2627 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-03 09:01:09 +00:00
Jean Delvare
96ce2beda2
Additional debug message on thermistor/thermal diodes conflict.
...
Implement init sequence as documented by National Semiconductor
(init >= 2).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2620 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-30 21:01:32 +00:00
Jean Delvare
049b4667ba
Fix IN_TO_REG and TEMP_TO_REG macros.
...
Drop unneeded variable.
Refine detection using status registers.
Update limit registers again.
Init high limits if they read 0.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2619 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-27 19:43:51 +00:00
Jean Delvare
1b2dbfa2cd
Implement read error handling (backport from 2.6).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2610 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-26 09:43:15 +00:00
Jean Delvare
9ec1e83e94
Fix fan_div file when fan count is less than 3.
...
Change several debugging strings.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2609 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-25 18:50:06 +00:00
Jean Delvare
e7e4c799da
Implement "make user_uninstall". Original patch contributed by
...
Rudolf Marek.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2604 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-20 14:18:28 +00:00
Jean Delvare
4fd3781e12
Add VID support to the pc87360 driver.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2603 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-19 21:54:08 +00:00
Mark D. Studebaker
09611e791d
add support for VRM 10.0
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2600 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-19 17:07:40 +00:00
Jean Delvare
f52172bfbc
Drop out-of-date init code.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2599 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-19 16:24:57 +00:00
Mark D. Studebaker
a535570d62
fix default VRM for w83791d; was undefined 9.2, now 9.0
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2598 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-19 16:17:49 +00:00
Jean Delvare
acb6e485ca
Refine detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2597 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-19 07:14:48 +00:00
Jean Delvare
937734ebdb
Change voltage magnitude from 2 to 3, so as to limit the
...
rounding errors.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2595 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-18 18:17:50 +00:00
Mark M. Hoffman
e439883223
Incorporate Khali's review suggestions
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2594 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-13 18:44:23 +00:00
Mark M. Hoffman
326167f967
Add alternate VCORE/in0 calculation method
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2593 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-13 17:32:56 +00:00
Jean Delvare
4c789fad92
Fix temperature limits limits (backport from Jonas Munsin's 2.6
...
patch).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2586 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-08 19:43:59 +00:00
Jean Delvare
9d921b0e59
Rework fan trustability function.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2585 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-06 17:42:41 +00:00
Jean Delvare
249d4363cf
Fix FAN_TO_REG.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2581 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-05 12:27:02 +00:00
Jean Delvare
fb884933da
Prevent fan_min overflow when changing fan_div.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2580 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-05 09:54:33 +00:00
Jean Delvare
be77f5a4ce
Initial ADM1030 and ADM1031 support. Contributed by Alexandre
...
d'Alton.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2573 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-03 21:32:19 +00:00
Mark D. Studebaker
f1b420f2df
from Vojtech Pavlik:
...
I'm sending you this little obvious patch which should enable i2c-piix
to work on IBM servers with ServerWorks chipsets. It still will treat
any IBM/Intel machine as a laptop and refuse to work, but it's better
than before.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2570 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-31 04:08:30 +00:00
Jean Delvare
0034d3760a
Don't read new but disabled in/temp inputs.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2565 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-24 21:13:39 +00:00
Jean Delvare
bd3d250159
Initial MAX1619 support, contributed by Alexey Fisher.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2564 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-24 20:25:13 +00:00
Jean Delvare
ed4dfa0cbd
Rework auto fan clock divider algorithm.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2563 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-24 18:40:07 +00:00
Jean Delvare
488b99274d
pc87360 fan clock dividers are now read-only.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2562 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-23 17:35:37 +00:00
Mark D. Studebaker
3e3273d369
add support for ICH6 and 6300ESB (backport of 2.6 patch)
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2558 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-22 04:02:19 +00:00
Jean Delvare
e6679b5f15
Thermal diodes and thermistors share pins.
...
Read fan low limit at init.
Do not read temperatures and voltages if no new data is ready.
Drop PWM debugging.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2554 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-21 12:26:55 +00:00
Jean Delvare
e133906d1f
Fix temp4_crit not being settable.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2551 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-18 19:50:05 +00:00
Jean Delvare
0faf31634a
Fix reading and writing of temp4-6 critical limit.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2548 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-18 17:54:22 +00:00
Jean Delvare
6b9ba068c9
Thermistor support.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2542 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-17 18:35:55 +00:00
Jean Delvare
d58370d0a2
Unconditional prevention of 24RF08 corruption.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2541 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-16 16:29:19 +00:00
Jean Delvare
354572a5e6
Lower conversion rate when forcibly enabling monitoring of
...
battery voltage.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2540 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-16 16:21:19 +00:00