Commit Graph
2737 Commits
Author SHA1 Message Date
Jean Delvare e9d2eaef30 Discard owner field from i2c_driver structure. I do not restore
inc_use/dec_use because they are not actually used anywhere.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2781 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-03 22:32:17 +00:00
Jean Delvare d6666e1b72 Support the nForce2 Ultra 400.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2780 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-29 20:39:25 +00:00
Jean Delvare fa8a7cf61b Detect the nForce2 Ultra 400 and the nForce3 Pro150 SMBus devices.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2779 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-29 20:24:28 +00:00
Jean Delvare 25a70755cc Sync with recent core changes: i2c_algorithm and i2c_adapter lost
their owner member.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2778 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-27 09:56:21 +00:00
Mark D. Studebaker 9e7e764675 rename lockfile to sensord to match filename. ticket 1806
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2777 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-27 04:26:59 +00:00
Mark D. Studebaker af62c8384d rename lockfile from sensors to lm_sensors; ticket 1806
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2776 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-27 04:24:41 +00:00
Mark D. Studebaker d83fd7e0a2 4.12 update; add Khali story about Supermicro busy-waiting in BIOS
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2775 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-27 03:01:01 +00:00
Mark D. Studebaker 2c4c66442c owner/use changes
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2774 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-27 02:26:50 +00:00
Mark M. Hoffman e4019c9899 Limit SMBus scanning to just one address - the only one we've
ever seen in practice.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2773 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-26 03:25:51 +00:00
Jean Delvare a223ec0fd5 Remove owner from i2c_adapter, restore inc_use and dec_use
instead.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2772 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-25 21:51:18 +00:00
Jean Delvare f7d00ae81d Set via686a voltage limits.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2771 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-25 19:40:09 +00:00
Mark M. Hoffman d57ea204c6 Name fix: lpc57b397 -> lpc47b397
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2770 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-24 04:31:40 +00:00
Mark M. Hoffman 3b64007d60 Add support for SMSC LPC57B397-NC sensor chip.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2769 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-23 16:20:25 +00:00
Jean Delvare 5aef60324d Simplify the configuration file opening code.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2768 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-21 21:36:10 +00:00
Jean Delvare 2898ec26ea Use only one default configuration file (the one "make install"
will install). Display the default configuration file in "sensors --help".
Thanks go to Dave Hylands for the suggestion.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2767 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-21 19:26:56 +00:00
Jean Delvare 7ca0a7018d Make ETCDIR available to compiled programs.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2766 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-21 19:19:21 +00:00
Mark D. Studebaker 8f73f9beed baseline checkin of virtual adapter code from Ken Harrenstien
<klh@google.com> received Sept. '04.
      No changes by me other than include file path fixups.
      Compiles, but will not insmod without i2c-core changes
      or stubs to add xxx_nolock() functions.

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

Here you go.  I apologize for the fact this code is not integrated
into the lm_sensors package structure and thus will require you to
make various little updates.  But I really wanted to get this out
before I'm yanked away again, and am pretty sure you can do it much
faster than I can figure out what needs to be done!

BTW the kernel files are built against 2.4.x where x varies; 18 and 19
should work.

Feel free to clean up anything.

--Ken

On Sat, 18 Sep 2004, Mark Studebaker wrote:

>>> > On Tue, 7 Sep 2004, Mark Studebaker wrote:
>>
>>>> >>sure, send it over.
>>>> >>Sorry for delay, your mail got buried by other mail and just now spotted it.
>>>> >>mds
>>>> >>
>>>> >>Ken Harrenstien wrote:
>>>> >>
>>>
>>>>> >>>It turned out to be a while before I could get back to this, but
>>>>> >>>everything's been working for a while now and I'd like to send in the
>>>>> >>>new pca954x driver.
>>>>> >>>
>>>>> >>>I was looking at the list in the "new_drivers" file -- it *is* kind of
>>>>> >>>intimidating.  Since some of the changes affect core i2c files, I was
>>>>> >>>hoping that what I could do to start with is just send you a tar of
>>>>> >>>the modified files in their entirety, or a patch-diff of the changes
>>>>> >>>against the 2.8.7 distribution, so you can scope things out and verify
>>>>> >>>they're on the right track for acceptance.  The following files are
>>>>> >>>the ones I've changed so far:
>>>>> >>>
>>>>> >>>        New:
>>>>> >>>                Documentation/i2c/virtual_i2c
>>>>> >>>                drivers/i2c/i2c-virtual.c
>>>>> >>>                drivers/sensors/pca954x.c
>>>>> >>>                include/linux/i2c-virtual.h
>>>>> >>>        Patched:
>>>>> >>>                Documentation/Configure.help
>>>>> >>>                drivers/i2c/Makefile
>>>>> >>>                drivers/i2c/Config.in
>>>>> >>>                drivers/i2c/i2c-core.c
>>>>> >>>                drivers/sensors/Makefile
>>>>> >>>                drivers/sensors/Config.in
>>>>> >>>                include/linux/i2c-id.h
>>>>> >>>                include/linux/i2c.h
>>>>> >>>
>>>>> >>>
>>>>> >>>I plan to write some additional doc once I know that the code itself
>>>>> >>>is acceptable, and you then can tell me what other files need to be
>>>>> >>>updated.
>>>>> >>>
>>>>> >>>To answer a couple other issues you raised:
>>>>> >>>
>>>>> >>>On Thu, 24 Jun 2004, Mark Studebaker wrote:
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>
>>>>>> >>>>(copying the mailing list, already forwarded the first mail to the list)
>>>>>> >>>>
>>>>>> >>>>First I want to ask whether you are working on kernel 2.4 or 2.6.
>>>>
>>>>> >>>
>>>>> >>>
>>>>> >>>2.4.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>
>>>>>> >>>>Third, you may not have realized that Khali recently did a (2.4 kernel) pca9540 driver.
>>>>>> >>>>It is in our sensors package. It however doesn't do any of the bootstrapping or
>>>>>> >>>>bus registering either. It may or may not help you.
>>>>
>>>>> >>>
>>>>> >>>
>>>>> >>>I saw it in the 2.8.7 distrib, and used parts of it as a template.
>>>>> >>>The pca954x driver will support that chip, although the external /proc
>>>>> >>>interface it presents is necessarily different.
>>>>> >>>
>>>>> >>>--Ken


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2765 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-21 16:56:23 +00:00
Jean Delvare 1c9a5c9337 Late update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2764 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-20 07:59:01 +00:00
Mark D. Studebaker d7ade70215 support "linearization function" 1/x.
Modified from a patch by Peter Wilsmore <pwilsmore@asi.com.au>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2763 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-20 01:55:10 +00:00
Mark D. Studebaker 92cb19054e claim support for MAX6625/6626
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2762 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-20 00:42:07 +00:00
Mark D. Studebaker d7dca796b2 add support for 47M15x and 47M192 (fans only)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2761 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-20 00:09:48 +00:00
Jean Delvare eb43082cad The i2c-nforce2 driver now supports the nforce3.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2760 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-16 22:09:40 +00:00
Jean Delvare 504b590bee Add nForce3 support. Patch by Thomas Leibold.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2759 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-16 18:58:26 +00:00
Jean Delvare 88bdbd2232 Update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2758 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-14 17:14:02 +00:00
Jean Delvare 4ac5ca321f Include the new i2c-amd756-s4882 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2757 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-14 17:05:26 +00:00
Jean Delvare 651d95a94e Fix common (mostly harmless) regexp error in bus driver
identification callbacks.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2756 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-14 14:38:15 +00:00
Jean Delvare dfe1645a5a Detect the Philips PCA9556 (8-bit I/O expander).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2755 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-14 14:34:30 +00:00
Jean Delvare 88bb42be00 New driver for SMBus multiplexing support on the Tyan S4882
motherboard.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2754 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-14 14:28:09 +00:00
Jean Delvare 78f0d3fc66 Rename amd756_adapter to amd756_smbus and export it. This is
needed for multiplexing support.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2753 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-14 14:22:37 +00:00
Jean Delvare 1779f0dc81 Delete unused syperio_outb inline function. This is a backport
from a 2.6 kernel patch by Adrian Bunk.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2752 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-06 08:29:21 +00:00
Jean Delvare 385fa90896 Support DDR2 memory module EEPROMs. Patch by Rudolf Marek.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2751 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-05 20:01:19 +00:00
Mark D. Studebaker 2539071f16 comment out i2c-ipmb since it doesn't work
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2750 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-31 21:31:38 +00:00
Jean Delvare 585632736a Add link to E-Sensors. Update entries for xsensors and MBM.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2749 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-28 18:43:31 +00:00
Jean Delvare 3457c6112a Refine byte read retry on error. Patch by David Knierim.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2748 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-26 20:43:54 +00:00
Jean Delvare ac53193d98 Do not scale load average. Patch by Aurelien Jarno.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2747 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-26 20:27:37 +00:00
Mark M. Hoffman 3512e8eb8e bugfix by Axel Thimm <Axel.Thimm@ATrpms.net>:
> Building (the real) 2.8.8 on RH7.3 uncovered a small C99-ism, patch
> against CVS is attached.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2746 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-26 01:17:22 +00:00
Jean Delvare 411dc06a0b Add support for Linux 2.6 lm63 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2745 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-24 20:27:55 +00:00
Mark M. Hoffman f583bf7d8a bugfix: typo in dynamic VID alarms
also adds a couple log messages for failed transactions
patch by David Knierim <david_knierim@earthlink.net>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2744 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-22 04:26:45 +00:00
Jean Delvare ef1168c6b6 Missing s in comment.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2743 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-17 11:10:40 +00:00
Jean Delvare a607f624b2 Reword the i2c-amd756 help to include the nVidia nForce.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2742 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-16 17:23:02 +00:00
Jean Delvare bc4aeb9f53 Do not list Frodo and Phil as contacts for sensors. Only list the
mailing-list.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2741 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-16 17:19:10 +00:00
Jean Delvare cbd983ce83 Display the read bus name. sensors-detect expect it.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2740 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-16 17:11:39 +00:00
Jean Delvare 3eb8495004 Written value can be masked, preserving unmasked bits at the
written location. Similar to what I did for i2cset some times
        ago.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2739 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-16 14:24:55 +00:00
Jean Delvare 5691e2d947 Big update
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2738 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-16 11:02:03 +00:00
Jean Delvare 88e7953e66 Update Supermicro 370DLE record.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2737 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-16 10:04:54 +00:00
Jean Delvare d49077fd70 Clean init function:
* Do not reset the chip.
* Preserve configuration bits we don't explicitely write to.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2736 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-16 09:46:37 +00:00
Jean Delvare 5609f38225 Add info about the Asus CUV4X (as99127f-* section). Thanks to Lea
Gris for reporting.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2735 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-16 07:39:16 +00:00
Mark M. Hoffman c9b412f57c bugfixes:
* read dynamic VCCP error status for IN7 & IN8 (if we're in that mode)
 * unmask #VRDHOT and dynamic VCCP (if we're in that mode) error events
 * move 'start monitoring' command to the end of the inits


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2734 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-15 04:28:42 +00:00
Jean Delvare 14856e37e8 Update anti-thinkpad measures list.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2733 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-14 20:56:47 +00:00
Jean Delvare cf16be61a9 Discard IBM detection code, as it is not needed anymore.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2732 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-14 20:51:17 +00:00