Commit Graph
2908 Commits
Author SHA1 Message Date
Jean Delvare 09804db12d Prevent repeated resets on new variants of the VIA Pro (KT800).
This is done by not taking care of additional status bits. This is a
backport from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2953 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 12:38:59 +00:00
Jean Delvare 5204524572 Trailing spaces cleanup.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2952 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 12:19:40 +00:00
Jean Delvare 351f76ed67 Update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2951 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 12:18:29 +00:00
Jean Delvare f10ddad667 Add preliminary support for the w83627ehf.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2950 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 12:11:03 +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
Jean Delvare ba1dcff82d Misc cleaups.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2945 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 10:34:52 +00:00
Jean Delvare 7f4d4d32f1 Add detection for the nForce3 250Gb and nForce4 SMBus masters.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2944 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 10:21:15 +00:00
Mark D. Studebaker dfd9bea03e Updates
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2943 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 02:24:02 +00:00
Mark D. Studebaker d2c47f4f5d add delay loops everywhere, as recommended by the ALI 1535 Bios Programming Guide.
Should fix stability problems.
      Patch by Ubel Walter <ubel@heidenhain.de>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2942 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 02:22:10 +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
Jean Delvare a7fe97cf1d Search for the udev db file/directory location in
/etc/udev/udev.conf. Should be more efficient that regularly adding
new possible names. Too bad distributions didn't agree on one name.
Hopefully the Linux Standard Base will address the issue soon.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2939 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-20 21:10:24 +00:00
Jean Delvare a20ea3611f On my system (Slackware 10.1), /dev/.udev.tdb is a directory,
not a file. Let's only check for its existence and not type.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2938 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-20 12:20:10 +00:00
Jean Delvare 1005cd3616 The PC87591 Super-I/O chips actually have sensors, but no driver
yet.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2937 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-20 11:58:49 +00:00
Jean Delvare 54fbb68314 Preliminary detection of the National Semiconductor PC87591
Super-I/O chip. Still no idea how the registers are accessed.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2936 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-20 09:05:03 +00:00
Jean Delvare 0afe020cf1 Compile kernel modules with -fno-strict-aliasing on all
architectures. This prevents warnings in kernel header files.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2935 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-19 11:18:17 +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 051881731e vt1211 2.6 support (fix uch_config)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2932 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-15 22:16:05 +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 57782cede2 fix handling of alternate config file name
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2930 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-15 19:24:25 +00:00
Jean Delvare 6312bfab53 Big update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2929 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-11 21:46:58 +00:00
Jean Delvare 9611f9a935 Set proper compiler flags for mips, sparc32, sparc64.
Patch by Aurelien Jarno.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2928 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-11 20:51:35 +00:00
Mark D. Studebaker 44c0a5bdfe bump to 3.0.8 for upcoming 2.9.1 release
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2927 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-10 19:24:54 +00:00
Mark D. Studebaker 2d0431933c updates
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2926 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-10 19:16:32 +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
Jean Delvare ea7211cf37 Support the separate it8712 prefix. Patch from Aurelien Jarno.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2922 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-06 22:19:40 +00:00
Jean Delvare 861bbbdeb0 Read the number of device files to create on the command line
if provided.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2921 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-06 13:41:18 +00:00
Jean Delvare 163871a6b2 Userspace support for the ADT7461 (patch by James Chapman).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2920 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-03 21:05:57 +00:00
Jean Delvare 4a4dafa487 Support the Linux 2.6 lm92 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2919 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-02-28 19:04:39 +00:00
Jean Delvare 8db3815961 Update the list of supported chips.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2918 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-02-20 20:12:05 +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
Jean Delvare e921c91c1e Update it87 documentation which was reported to be outdated.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2914 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-02-19 17:17:54 +00:00
Mark D. Studebaker 37a9ffca3d add links to 2nd mail archive
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2913 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-02-19 16:34:34 +00:00
Jean Delvare f12e94feab Skip useless SMBus read in lm92_detect.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2912 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-02-18 19:15:27 +00:00
Jean Delvare d6072fda51 Reflect all currently supported devices (contributed by
Hans-Frieder Vogt). Some other cleanups.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2911 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-02-18 18:55:46 +00:00
Jean Delvare a08ea9da28 nForce3 and nForce4 now supported.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2910 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-02-17 21:44:05 +00:00
Jean Delvare 5ee1b793e7 Add support for the nForce4. Patch from Hans-Frieder Vogt.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2909 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-02-17 21:40:14 +00:00
Mark D. Studebaker bf42775541 make the module installed detection work for 2.4 kernels too
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2908 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-02-13 23:49:58 +00:00
Mark D. Studebaker 382b2c5b19 add i2c-ipmi to modprobe list if bmcsensors is on the list
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2907 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-02-13 23:04:54 +00:00
Mark D. Studebaker 9cd1f3213e print warning if required chip modules are not found
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2906 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-02-13 22:33:43 +00:00
Mark D. Studebaker 2fcad0c85a don't print 'algorithm unavailable'
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2905 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-02-13 17:23:08 +00:00
Mark D. Studebaker 05018a9613 add special driver name "use-isa-instead",
add vt1211 alias detection


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2904 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-02-13 16:56:42 +00:00