Jean Delvare
f922d71607
Fix PWM polarity on read, hopefully for good this time.
...
Fix broken comment about PWM enable bit.
Clean up the PWM enable/disable code.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2981 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-04-24 18:22:10 +00:00
Jean Delvare
ed7efcf02d
The w83792d driver is now included by mkpatch.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2976 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-04-16 13:23:24 +00:00
Jean Delvare
37b65044fe
Do not assume anything on subclient addresses.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2966 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-04-11 21:06:48 +00:00
Jean Delvare
78d71d5ccd
Add EMC6D102 support. Original patch by Rafael Espindola.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2961 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-30 16:57:01 +00:00
Mark D. Studebaker
3c842108c4
negative temperatures fix from Chunhao
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2960 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-29 06:49:34 +00:00
Jean Delvare
4d165ff285
Backport ADT7461 support from Linux 2.6.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2954 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 13:34:47 +00:00
Jean Delvare
352655ff7d
Skip fan_div initialization for disabled fans. This is a
...
backport from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2949 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 11:58:23 +00:00
Jean Delvare
506fee471d
Kill useless ALARMS_FROM_REG macro. This is a backport from
...
Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2948 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 11:56:29 +00:00
Jean Delvare
24c4f308b4
Use s8 instead of u8 for temperature. This simplifies the
...
temperature conversion macros quite a bit, and fixes a bug with negative
temperatures as a side effect.
This is a backport from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2947 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 10:48:27 +00:00
Jean Delvare
5916574d33
Backport Vaio EEPROM detection bug from Linux 2.6.
...
http://archives.andrew.net.au/lm-sensors/msg30047.html
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2946 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 10:42:44 +00:00
Mark D. Studebaker
9ac1d40ae6
fix negative fan values. Patch from Chunhao.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2941 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 01:44:27 +00:00
Jean Delvare
72a3c7ac3b
Stop updating non-existent vid on IT8705F.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2940 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-25 20:23:22 +00:00
Mark D. Studebaker
bff323e3ca
support IPMI version 0.9.
...
Patch from Yani Ioannou <yani.ioannou@gmail.com >
http://bmcsensors-26.sourceforge.net/
and tested by him and others,
based on a previous patch from
Vladislav Bogdanov <slava@nsys.by > located here:
http://bubble.nsys.by/projects/ipmi/
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2934 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-19 02:50:35 +00:00
Jean Delvare
f78a6c2310
Change the ADT7463 identification rules. Patch by Philip Pokorny.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2933 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-18 22:16:54 +00:00
Mark D. Studebaker
e6bff4c2b6
add subclient registration
...
Change default to init=0
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2931 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-15 19:27:28 +00:00
Mark D. Studebaker
e25e3511f4
w83792d driver and userspace support patch from Winbond.
...
by Chunhao Huang <huang0@winbond.com.tw >
submitted by <DZShen@winbond.com.tw >
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2925 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-10 19:03:52 +00:00
Mark M. Hoffman
c6b95bf7e3
Patch by David Knierim <david_knierim@earthlink.net> to fix IN10
...
(+5V) scaling
> I have been hunting down an issue related to the IN10 input of the
> LM93. I have observed that there is a rather large error between the
> actual voltage and the voltage level displayed by sensors(1) (~ .12V).
>
> Please find attached a small patch that fixes this problem. The data
> sheet is very ambiguous and I and another engineer made the same mistake
> calculating the voltage per DAC step the first time we read the spec sheet.
>
> The confusion stems from an entry in the "maximum voltage" column that
> is higher than the value in the "absolute maximum range" column. For 5V
> only, the value in the "register reading at maximum voltage" is for the
> voltage in the "absolute maximum range", NOT the "maximum voltage". Whew!
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2924 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-10 03:45:34 +00:00
Jean Delvare
49aa0ea2b7
Drop pwmenable, as pwm cannot be disabled. This is a backport
...
from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2923 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-09 21:09:52 +00:00
Mark D. Studebaker
b9c1c73625
initialize shutdown bit instead of CMP/INT bit
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2917 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-02-20 16:37:02 +00:00
Jean Delvare
65c760c9ff
Properly differenciate between ADM1027 and ADT7463.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2916 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-02-19 19:17:17 +00:00
Mark D. Studebaker
3ee4fadb09
only initialize CMP/INT bit, and only if necessary
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2915 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-02-19 18:34:54 +00:00
Mark D. Studebaker
bd3556a4f3
mic74 cleanups
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2886 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-02-01 02:07:29 +00:00
Mark D. Studebaker
4815c844cc
MIC74 driver as received from zebo25@yahoo.com.
...
My cleanups to follow.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2885 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-02-01 00:58:16 +00:00
Jean Delvare
ad276d8c4f
Skip final initialization step for AS99127F chips.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2877 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-27 21:26:48 +00:00
Jean Delvare
d3fa22cae3
Make sure that temp2 and temp3 are not disabled. Let's just hope
...
it won't cause trouble if these channels are actually not connected.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2872 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-26 21:42:04 +00:00
Jean Delvare
c06a1850ff
Support the secondary Super-I/O address (0x4e/0x4f). This is a
...
backport from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2870 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-26 21:07:40 +00:00
Jean Delvare
cb2e5b3d27
Cleanups backported from Linux 2.6 by Aurelien Jarno.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2868 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-26 19:49:11 +00:00
Jean Delvare
1756f8d8dd
Drop unused client id.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2867 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-23 18:02:43 +00:00
Jean Delvare
64eeab4ffa
Use standard LSB (0.5 degree C) for AS99127F temp2 and temp3.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2865 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-23 09:10:34 +00:00
Jean Delvare
5d53492dde
Sync with mkpatch.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2864 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-23 09:07:57 +00:00
Jean Delvare
400835efca
Reduce range of accepted I2C addresses.
...
Differenciate between it87 and it8712.
Enable VID for it8712.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2862 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-22 15:46:50 +00:00
Jean Delvare
32cc706dd6
Cleanup detection function (backport from Linux 2.6).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2860 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-22 13:52:07 +00:00
Jean Delvare
89c7dabb13
Fix compilation broken by previous patch.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2854 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-20 19:48:55 +00:00
Jean Delvare
ba51b5f66e
Fix chip detection with newer revisions of the DS1621. Reported
...
by Peter A. Henning, patch by Aurelien Jarno.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2853 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-19 22:19:44 +00:00
Jean Delvare
b6728ccd48
Support IT8705F Super-I/O. Check for logical device activation.
...
Display chip name and revision when found. (backport from Linux 2.6)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2846 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-13 20:08:20 +00:00
Jean Delvare
b6f200507b
Fix incorrect bitmask in PWM clock select debug message.
...
Reported by Mohan Mistry.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2845 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-12 19:26:53 +00:00
Jean Delvare
2c5efab510
Delete unused semaphore.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2839 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-07 20:30:20 +00:00
Jean Delvare
f746f446f7
Fix PCF8574 chips being improperly tagged as PCF8574A chips.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2838 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-07 20:25:48 +00:00
Jean Delvare
aa1f43f680
Do not return negative values to i2c_detect on non-fatal errors.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2837 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-07 20:21:58 +00:00
Jean Delvare
da76debaa5
Kill double variable initialization.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2836 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-07 20:17:30 +00:00
Mark M. Hoffman
9b230178b9
patch by David Knierim:
...
> [...] I've also included a simple patch to lm93.c to
> increase the wait between retries if there is a timeout.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2835 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-06 22:16:37 +00:00
Jean Delvare
c89c31cd52
Better VID support for the W83627THF (backport from Linux 2.6).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2828 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-04 19:57:58 +00:00
Jean Delvare
54a9669491
Don't include <linux/version.h> since we don't need to.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2826 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-04 16:26:51 +00:00
Mark D. Studebaker
e958e52598
(mds) fix compile error of mine. Thanks Axel.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2817 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-31 14:12:37 +00:00
Jean Delvare
987686721c
Fix MAX6657, MAX6658 and MAX6659 detection (backport from Linux
...
2.6).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2816 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-29 11:00:18 +00:00
Jean Delvare
c4d3e5f0fd
Discard the SPD-centric checksum module parameter.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2814 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-29 10:43:57 +00:00
Jean Delvare
4a41567854
Include sensors_compat.h for __devexit_p (only exists since
...
kernel 2.4.17).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2802 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-22 17:46:24 +00:00
Mark D. Studebaker
b92d85efbc
fix lm93_read_block which was retrying even on success.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2788 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-07 15:32:19 +00:00
Jean Delvare
7683ac84a4
Restore controlling_mod argument to i2c_register_entry(). This
...
is needed to properly lock chip drivers in memory while anyone uses their
/proc entries. This also brings back compatibility with the 2.4 Linux
kernel.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2784 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-04 21:18:34 +00:00
Jean Delvare
30e56573c6
Fix typo breaking compilation.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2783 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-03 22:37:27 +00:00