Commit Graph
838 Commits
Author SHA1 Message Date
Mark D. Studebaker 972abea7df change pwm and smart guardian entries to 644 to enable writes.
note that pwm is non-standard and so 'fancontrol' still
      won;t work with this driver. Ticket #1429.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2143 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-07 23:57:51 +00:00
Jean Delvare 5bdbb3744f Display a message if a Force-CPCI735-like config register is
found. Should help debugging the problem.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2140 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-06 21:48:32 +00:00
Mark M. Hoffman 87738febe9 Use lm75.h temp to/from reg conversions.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2135 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-03 06:06:22 +00:00
Mark M. Hoffman 6a9a7ff0eb (mmh) Pulled the TEMP_TO_REG and TEMP_FROM_REG functions into a separate
header and gave them the prefix LM75_. Also rewrote them according
	to the lm75 datasheet.  The next step is to replace all the various
	scattered (broken?) copies of these functions (especially in Winbond
	subclients) with this one.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2130 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-02 05:53:27 +00:00
Jean Delvare 0247cfa944 Fix byte writes used by eeprom.c. Similar to a recent fix made
to i2c-nforce2.c. Patch by Hans-Frieder Vogt <hfvogt@arcor.de>.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2127 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-01 19:39:00 +00:00
Jean Delvare a3c77b0191 Fix IN_FROM_REG rounding.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2124 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-30 11:40:20 +00:00
Jean Delvare c1e28f8896 Init cleanups (unused vars and functions, and more).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2123 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-30 11:27:42 +00:00
Jean Delvare e5483ca3b6 Cleanups (again).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2122 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-30 11:01:48 +00:00
Jean Delvare 0f00db6a1f Cleanups.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2121 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-30 09:47:56 +00:00
Jean Delvare d835fc770d Support AMD8111 again. Patch by from Philip Pokorny
<ppokorny@penguincomputing.com>.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2120 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-30 09:17:33 +00:00
Jean Delvare 72f129f3c2 Add support for KT600. Requested by Lou
<lm-sensors@fixit.nospammail.net>.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2109 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-29 16:51:04 +00:00
Jean Delvare eeea6d92b7 Whitespace changes.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2104 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-29 13:18:55 +00:00
Jean Delvare f2fe6cbd68 Rehabilitate Alexander Wold as the driver's author.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2102 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-28 20:12:02 +00:00
Mark D. Studebaker 7d16642a33 hopefully fix byte writes used by eeprom.c
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2096 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-27 02:37:43 +00:00
Mark D. Studebaker 9098477852 add failure printks
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2094 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-26 03:17:01 +00:00
Mark D. Studebaker 320562a22b don't build module dependencies for user and user_install
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2085 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-22 02:32:30 +00:00
Jean Delvare 9f8ececd48 Disable Tom Tini's workaround by default. It can be re-enabled
by using the (new) fix_hstcfg parameter.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2083 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-21 22:57:38 +00:00
Mark D. Studebaker 06d823b430 remove initialization of limits by driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2071 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-18 02:37:31 +00:00
Mark D. Studebaker 8cf5eaa5f1 remove initialization of limits in driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2070 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-18 02:31:40 +00:00
Mark D. Studebaker 41190cc718 remove initialization of limits by driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2069 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-18 02:24:50 +00:00
Mark D. Studebaker b048a1cac9 remove initialization of limits by driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2068 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-18 02:19:41 +00:00
Mark M. Hoffman bbbf8fa851 Added support for pwm1, which works (apparently) on ASB100-A only.
Thanks to "Vitaly V. Bursov" <vitalyb@mail333.com> for this info.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2056 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-15 06:43:51 +00:00
Jean Delvare 08cebfef4c Fix a bug in detection. Could have failed to detect the chip and
still return with no error code.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2055 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-14 20:08:37 +00:00
Mark D. Studebaker b1741b5366 add sensor type selection in /proc for it87
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2053 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-12 01:36:12 +00:00
Jean Delvare dfe2ecd683 Fix detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2043 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-05 21:39:58 +00:00
Jean Delvare 9413c3153f Add support for the ADM1032.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2039 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-02 19:37:45 +00:00
Jean Delvare cc6fd520e8 Comment a mysterious bitmask.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2038 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-02 19:32:49 +00:00
Mark M. Hoffman ca4b268555 First shot at independent driver for ASB100 "Bach"
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2036 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-29 05:37:52 +00:00
Jean Delvare b118dc6bad New FSC Hermes chip driver, contributed by Reinhard Nissl
<rnissl@gmx.de>.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2035 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-28 21:28:45 +00:00
Jean Delvare e574d476b5 Fix W83791D detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2034 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-28 19:17:04 +00:00
Mark D. Studebaker 34076ded72 pwm and smart guardian fan patch from
Michael Hufer <michael.hufer@freenet.de>

------------------------

> First, I added a new mod parameter "reset_it87" which controls whether
> or not the chip is reset on module load (modprobe it87 reset_it=1,
> default) or not(modprobe it87 reset_it87=0).
> Since this worked out quiet nicely I decided to go one step further
> and also add the chips manual and automatic temperature controlled fan
> speed features (PWM etc.).
>
> Finally I also updated the doc to document the new features.
>
> Attached is a diff against the current cvs version.

------------------------
           Subject:
            Re: fan speed for it87?? chips added
      Date:
            Fri, 26 Sep 2003 23:28:35 +0200
      From:
            Michael Hufer <michael.hufer@freenet.de>
        To:
            sensors@Stimpy.netroedge.com, Jean Delvare <khali@linux-fr.org>

On Friday 26 September 2003 22:40, Jean Delvare wrote:
> > I found and fixed the little problem I had with the original chip
> > initialization. I can now load the module with reset_it87=0 and
> > init=1 without messing up the settings of the power supply fan
> > from the BIOS. It was quite simple after all.
>
> I'm interested in details, can you tell us what it was?

Sure, it actually was something I introduced myself :-(. I initialized the
fan_ctl register with  (read_value & 0x8f | 0x77) to enable the smart
guardian feature for all 3 fans. But the power supply fan does not support
pwm. It can only be operated in on/off mode, i.e. bit 0 must be clear. I
switched it back to the original  (rv & 0x8f | 0x70 ) and everything is back
to working.

> > Do you want me to send the latest diff?
>
> Sure I want.

 Here it comes.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2033 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-28 02:20:31 +00:00
Jean Delvare f67324f3be New FSC Hermes chip driver, contributed by Reinhard Nissl
<rnissl@gmx.de>.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2029 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-27 21:14:26 +00:00
Mark D. Studebaker 39faf50b41 add support for CSB6 based on confirmation in ticket #1424
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2027 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-27 03:03:47 +00:00
Jean Delvare 8b82c4d22d Fix W83627HF detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2025 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-25 18:53:48 +00:00
Mark M. Hoffman 6597650205 Trivial formatting fix.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2024 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-23 04:40:49 +00:00
Mark D. Studebaker f38dc972e0 several bmcsensors fixes:
- fix voltage scaling
	- swap voltage limits
	- use lower critical rather than upper hysteresis
	  for non-temperature sensors
	- increase libsensors support to 20 voltage, 10 fan,
	  10 temperature sensors
	Tickets 1406 and 1407.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2017 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-13 03:01:45 +00:00
Alexander Malysh b1986134c3 (amalysh)
* i2c-sis630.c: sync with 2.6.0-X driver version


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2014 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-11 11:45:04 +00:00
Jean Delvare bf055191f1 Cosmetic fixes backported from Linux 2.6.0-test6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2010 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-10-04 19:48:12 +00:00
Jean Delvare 787a1efef1 Get rid of EEPROM memory types, they were unused. This is a
backport from Linux 2.6 (sort of).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1997 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-09-24 21:05:40 +00:00
Mark M. Hoffman 76c05536bf Use readl/writel for portable access to PCI memory
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1996 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-09-22 04:55:10 +00:00
Mark D. Studebaker 3f571f8d46 (mds)
From:
         Kalev Soikonen <sokos@starman.ee>

  Hi.

I am using lm_sensors in a slightly patched form.
The motherboard is Intel D845BGL, which features
SMSC LPC47M142 LPC Bus I/O controller.

If you look at the 47m10x and 47m14x datasheets,
you'll notice they have different Device ID's
(the former has 0x59, the latter 0x5F). As far
as the fan monitoring is concerned, they are
pretty much identical.

The 47M142 will be recognized with only some
trivial modifications to the code. I've attached
diffs for lm_sensors-2.7.0 and lm_sensors-2.8.0.


Best regards,

Kalev Soikonen


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1993 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-09-13 20:57:38 +00:00
Jean Delvare 93a260e714 Fix init bug (was causing the chipset to stop). Reported by
Ljubomir Bozic Jr..


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1992 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-09-13 20:55:59 +00:00
Mark D. Studebaker 15490f82f5 fix up error returns; from 2.5 patch of MMH
* Greg KH <greg@kroah.com> [2003-06-02 10:20:40 -0700]:

> On Sun, Jun 01, 2003 at 10:38:08AM -0400, Mark M. Hoffman wrote:
> > > This patch against 2.5.70 works for me vs. an SMBus adapter.  It needs
> > re-testing against an ISA adapter since my particular chip is SMBus only.
>
> I've applied this and will send it off to Linus in a bit.


Thanks!

This patch fixes the various return values in the w83781d_detect()
error paths.  It also cleans up some formatting here and there.
It should be applied on top of the previous one.

It works for me; same caveat as above w.r.t. ISA.

Regards,

--
Mark M. Hoffman
mhoffman@lightlink.com


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1990 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-31 22:31:56 +00:00
Mark D. Studebaker 67047df36e add max6650
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1989 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-31 21:49:50 +00:00
John Morris 45576fb3fd (jrm): New driver and other support for the Maxim MAX6650 and MAX6651 chips.
Mainly targetted (and tested) with the 6651, but should work with
       the MAX6550.

       See doc/chips/max6650 for notes, bugs, assumptions, etc.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1987 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-31 20:45:12 +00:00
Mark D. Studebaker 9e27af12f5 make w83627thf a separate type, enhance support
(remove in5, in6; add pwm3)
      fix some printks


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1985 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-31 18:11:13 +00:00
Mark D. Studebaker 969cfd1f8d general cleanup. Fix 697HF PWM. Fix 697HF VBAT and V5SB alarms.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1984 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-30 21:39:09 +00:00
Mark D. Studebaker 6815e0bafe Fix 697HF PWM (ticket 1207). Fix 791D PWM.
Fix 697HF V5SB and VBAT alarms.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1983 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-30 21:38:33 +00:00
Mark D. Studebaker 103344795a add xeontemp driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1978 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-25 00:11:02 +00:00
Jean Delvare bc34ae1749 Divide the eeproms into slices to speed reads up.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1970 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-08-23 19:20:31 +00:00