Jean Delvare
750f943973
If VBAT monitoring is disabled, enable it. Original patch from an
...
anonymous contributor in ticket #2218 .
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4455 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-18 12:17:05 +00:00
Jean Delvare
2362e26b04
Really preserve the fan speed reading when changing the fan clock divider.
...
Changeset r4452 was incomplete.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4454 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-17 18:52:53 +00:00
Jean Delvare
971d793d02
Add support for the w83627ehf VID function.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4453 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-17 16:50:57 +00:00
Jean Delvare
5769166303
Really preserve the fan speed reading when changing the fan clock divider.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4452 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-17 13:00:02 +00:00
Jean Delvare
9befc96918
Disable debugging by default.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4448 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-15 09:21:06 +00:00
Jean Delvare
4efcb0a736
New w83627ehf driver, for the W83627EHF/EHG chip. Backported from Linux 2.6,
...
based on preliminary work by Yuan My (Winbond). Thanks to Bernardo Motta
at Observit for providing the hardware that made it possible.
Note that support for the W83627DHG isn't included, but it could easily be
added later is anyone needs it.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4447 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-15 09:15:18 +00:00
Mark M. Hoffman
0b0888128f
Bugfix: report current prochot value properly.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4401 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-13 03:43:05 +00:00
Jean Delvare
d7521f982b
Spelling fix: explicitly.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4348 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-18 09:45:21 +00:00
Jean Delvare
946fc47468
smsc47m1: Get rid of a useless semaphore (backport from Linux 2.6).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4332 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-23 14:48:54 +00:00
Jean Delvare
820bd2eda7
Add support for the SMSC LPC47M292 fans.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4331 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-23 14:33:32 +00:00
Jean Delvare
745df245fa
Cleanup a legacy comment that has been replicated to many drivers
...
but is no longer true. Backported from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4328 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-20 09:40:08 +00:00
Jean Delvare
86da07df5b
Drop unused mutexes in 3 drivers. Backport from Linux 2.6.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4327 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-20 09:32:55 +00:00
Jean Delvare
3979540106
bmcsensors: Fix debugging messages.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4322 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-15 10:17:37 +00:00
Jean Delvare
e0dfabe9f2
bmcsensors: Fix fragile structure initialization.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4277 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-02 18:41:52 +00:00
Jean Delvare
4a82f3e86c
bmcsensors: Fix several compilation warnings.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4276 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-02 18:35:41 +00:00
Jean Delvare
84d4715bc6
f71805f: Fix the device address decoding
...
The lowest 3 bits are ignored, and the chip decodes all 8 addresses,
not only the 2 it needs. This is a backport from Linux 2.6.20.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4263 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-15 09:25:45 +00:00
Jean Delvare
8e305c484f
List the SMSC LPC47M112 as supported.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4218 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-10-19 09:55:14 +00:00
Jean Delvare
4626fc46e6
Delete the icspll driver. It was rather useless, not built by default,
...
supposedly dangerous, and has nothing to do with sensors.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4197 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-10-06 14:39:58 +00:00
Jean Delvare
a4fc9253af
vt1211: Rework the voltage and temperature conversions and the temperature
...
input order to match the Linux 2.6 driver.
libsensors: Change vt1211 temp3-7 magnitude from 1 to 3.
sensors.conf.eg: Adjust the vt1211 section to match the new driver
interface.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4168 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-23 09:32:29 +00:00
Rudolf Marek
c9bd83748b
Fix the homepage address
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4157 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-17 21:01:35 +00:00
Jean Delvare
09bd83fa7d
vt1211 fixes:
...
* No in6
* More inputs can be missing (depends on UCH config)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4154 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-07 19:51:25 +00:00
Jean Delvare
2396d5cab7
Enhance w83791d support. Add output for in7, in8, in9, fan4 and fan5.
...
Also update to display the (beep) properly due to the fact that the
w83791d beep enable mask is different than the alarm mask.
Patch from Sven Anders and Charles Spirakis.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4096 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-18 16:06:55 +00:00
Jean Delvare
05ef6df32d
Oops, revert a change which I did not intend to commit at this point.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4070 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-07-24 19:38:38 +00:00
Jean Delvare
dee46838bb
Makefile: Silent errors on missing dependency files.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4069 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-07-24 19:34:09 +00:00
Jean Delvare
c7ce94770a
lm83: Add LM82 support (2.6 backport)
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4048 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-23 13:16:09 +00:00
Jean Delvare
3098b38071
w83792d: Fix PWM range. Backport from Linux 2.6, patch from Yuan Mu.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4040 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-05 08:06:27 +00:00
Jean Delvare
0fc147568d
Drop out-of-date comment.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4038 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-04 06:30:04 +00:00
Frodo Looijaard
b81de6e42e
Fix the subclient handling.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4031 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-31 14:31:01 +00:00
Jean Delvare
184cb1e3c7
Use real-time alarm registers instead of interrupt registers for
...
W83782D, W83627HF, W83783S and W83791D. This is a backport from Linux
2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3260 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-02-23 23:11:17 +00:00
Rudolf Marek
c83a8a43e8
Add back the temp1 in vt1211, patch from Juerg Haefliger <juergh@gmail.com>
...
This patch enables the reading of temp1 (Reading3) from the VT1211.
Reading3 returns the V1211's internal temperature.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3246 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-27 21:02:09 +00:00
Jean Delvare
0dec718da5
Drop unused struct member lm75.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3228 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-10 11:22:06 +00:00
Jean Delvare
b36654cb3b
Add 2.4 kernel and user-space support for the Winbond W83687THF
...
chip. Needs testing.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3226 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-10 11:17:17 +00:00
Jean Delvare
9f9be64fab
Fix a reported compilation breakage with gcc 3.4 due to inline
...
functions being called before their actual definition. Thanks to Greg
Kroah-Hartman for the report.
Also, drop an unused lock.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3225 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-09 20:02:21 +00:00
Jean Delvare
de5a8c5abb
Cleanups to the fan and set_fan_div code.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3218 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-12-17 17:36:05 +00:00
Jean Delvare
fb223c5d24
Fix fan div auto-adjust. Patch from Yuan Mu.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3217 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-12-17 17:26:35 +00:00
Jean Delvare
e843854352
Simplify message logging.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3215 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-12-13 19:53:22 +00:00
Jean Delvare
a359166a48
Check for Fintek ID.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3214 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-12-13 19:44:04 +00:00
Jean Delvare
dafffa2ec4
Rewrite the Super-I/O register access part so that we do not rely
...
on globals. The resulting code is slightly more compact too (both source
and compiled binary).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3213 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-12-13 19:35:17 +00:00
Jean Delvare
c1ff1bbd55
Initialize the chip before registering it.
...
Drop useless local variable initialization.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3212 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-12-12 20:24:53 +00:00
Jean Delvare
a51b72b468
Drop useless local variable.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3211 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-12-11 10:05:17 +00:00
Jean Delvare
0b298a851e
Fix fan control mode (PWM/DC) reporting.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3210 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-12-11 09:58:01 +00:00
Jean Delvare
faf61c24c8
Patch from Yuan Mu, with bug fixes and code cleanups backported
...
from Linux 2.6:
* Fan inputs 4, 5, 6 and 7 can be disabled.
* Simplify voltage reading code.
* Simplify and inline w83792d_{read,write}_value.
* Drop unused lock.
* Make needlessly global functions static.
* Fix the bug where tolerance 2 and tolerance 3 can not be set.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3209 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-12-11 09:20:21 +00:00
Jean Delvare
1bb52a68df
Remove trailing whitespace. Patch from Yuan Mu.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3208 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-12-11 08:25:59 +00:00
Jean Delvare
0d65cedd4c
Patch from Yuan Mu:
...
This patch fixes a typo in set VCORE function, in_min should be in_max.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3205 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-12-09 19:35:58 +00:00
Jean Delvare
06153c7a4c
Display VID as 0V for W83627THF when GPIO5 is not used as VID
...
inputs. Backport of Yuan Mu's patch for Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3204 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-12-09 19:29:01 +00:00
Jean Delvare
ae63690c60
Patch from Anton V. Staaf:
...
"(...) I found what I think is a bug in the it87_fan_div setting code.
(...) What was happening was that the check to make sure the third fan's
divisor was either 2 or 8 was using the wrong member of the it87 data
structure. This was causing the if to never fail and thus always force
the divisor to 2."
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3200 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-21 20:07:02 +00:00
Jean Delvare
5cd5fde08d
vt8231 cleanups, to get the 2.4 driver, libsensors and sensors
...
in line with the new 2.6 driver. The most important changes are temp
inputs renumbering, and conversion formulas changes, because part of the
conversions are now done by the driver as required by the interface
standard.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3194 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-19 14:55:30 +00:00
Jean Delvare
ea30854a22
Drop DEFAULT_VRM, as it makes no sense to have a single default
...
VRM for all drivers. Same was done it Linux 2.6 some times ago.
Also comment out all "set vrm" lines in sensors.conf.eg, as Linux 2.6
now accurately deduces the VRM from the CPU model.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3190 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-12 09:30:38 +00:00
Jean Delvare
a5438bfb88
Drop now unused register define.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3186 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-07 19:09:17 +00:00
Jean Delvare
9d0d49eead
Coding style fixes, partly contributed by Ymu@Winbond.com.tw.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3185 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-11-06 22:00:10 +00:00