Commit Graph
550 Commits
Author SHA1 Message Date
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 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
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 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 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 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 a85e36816b Better suggested value for force_addr.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2730 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-14 20:15:11 +00:00
Jean Delvare ee346718b8 New lm63 driver for National Semiconductor's LM63 temperature
sensor with integrated fan monitoring and control.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2726 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-13 20:53:30 +00:00
Mark D. Studebaker b67a1d0378 add link to incompatibility list on leenooks that Khali did
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2725 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-12 00:54:06 +00:00
Mark M. Hoffman a16a6e40d6 Added module parameter for VID pin input thresholds.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2715 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-08 21:27:15 +00:00
Mark D. Studebaker 709cdd6b9c fill in location info
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2706 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-10-01 00:08:22 +00:00
Jean Delvare 87f7af95a0 Be more verbose about why hardware donations help.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2704 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-09-28 19:18:41 +00:00
Jean Delvare a5584e8110 Big update. Convert dates to ISO 8601. Reformat, add some
comments. Add the 5 eval boards I have received from Analog
        Devices and National Semiconductor.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2690 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-09-15 21:08:10 +00:00
Jean Delvare 6c96e6495b Stupid typo.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2687 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-09-13 19:34:56 +00:00
Jean Delvare e7e57349c2 Link to Floyd L. Davidson's tellerstats stuff.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2686 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-09-13 19:13:38 +00:00
Jean Delvare 474d9b8bf1 Make it clear that the gl518sm "iterate" trick is gone in the
Linux 2.6 driver (ticket #1767).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2681 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-31 18:53:01 +00:00
Mark M. Hoffman fafcbe79d7 Added support and documentation for auto/PWM:
* temp/pwm channel bindings
 * temp channel base/offsets temperatures
 * temp channel boost/hysteresis limits
 * temp channel minimum PWM
 * temp channel hysteresis for PWM
 * pwm output spin-up minimum and spin-up duration
 * pwm output #PROCHOT and #VRDHOT ramp times

Also...
 * bugfix: #PROCHOT interval handling was broken
 * bugfix: small documentation typo re: prochotN
 * removed some TODO comments resolved by testing
 * moved h/w register #defines into separate header


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2671 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-23 20:29:15 +00:00
Mark M. Hoffman 34f34e64ca Added support and documentation for:
* reading #VRDHOT inputs
 * reading GPIO pins (input only for now)
 * reading alarms status
 * #PROCHOT override control
 * #PROCHOT sampling interval control
 * Manual PWM output control
 * PWM output frequency control

Also, some whitespace cleanup in the driver.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2660 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-13 19:29:33 +00:00
Mark M. Hoffman 57320d467a first draft at a driver for LM93
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2653 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-05 03:44:30 +00:00
Jean Delvare 3145dca984 Discard outdated module parameters.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2651 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-01 08:59:48 +00:00
Jean Delvare d282a5f3be Add LM86, MAX6657 and MAX6658 support to the lm90 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2633 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-04 19:12:18 +00:00
Jean Delvare 8d9f022f71 Detail LM75-compatible chips issues.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2628 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-03 10:58:59 +00:00
Jean Delvare eb4300426a Typo on lm77.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2626 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-03 07:18:09 +00:00
Jean Delvare 30d9c4ec79 The LM77 is not compatible with the LM75.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2625 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-07-03 07:17:52 +00:00
Jean Delvare 5327c4bf2e Improvements.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2611 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-26 09:46:43 +00:00
Jean Delvare 2dab1b51f5 Add 4.6.1 -5V and -12V readings are way out of range!
Update 4.7 What are VID lines? Why is the VID reading wrong?


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2608 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-23 20:33:18 +00:00
Jean Delvare 4fd3781e12 Add VID support to the pc87360 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2603 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-19 21:54:08 +00:00
Mark D. Studebaker ca49b28372 update for kernel 2.6, VRM version 10.0
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2601 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-19 18:44:28 +00:00
Mark D. Studebaker ef54071b5f more 34xx variants
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2577 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-03 22:30:46 +00:00
Jean Delvare 519d22b899 adm1030 & adm1031
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2574 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-03 21:34:49 +00:00
Jean Delvare be77f5a4ce Initial ADM1030 and ADM1031 support. Contributed by Alexandre
d'Alton.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2573 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-03 21:32:19 +00:00
Mark D. Studebaker 77dd1086a8 add fancontrol.pl
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2572 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-31 04:23:24 +00:00
Jean Delvare 2bf9283ebb Fix additional as99127f info.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2569 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-30 20:09:42 +00:00
Jean Delvare bd3d250159 Initial MAX1619 support, contributed by Alexey Fisher.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2564 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-24 20:25:13 +00:00
Mark D. Studebaker 3e3273d369 add support for ICH6 and 6300ESB (backport of 2.6 patch)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2558 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-22 04:02:19 +00:00
Jean Delvare 08fbb96be2 Thermal diodes and thermistors of the PC87366 share pins.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2556 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-21 12:32:10 +00:00
Jean Delvare 15920d5d03 More info about AS99127F PWM.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2555 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-21 12:29:16 +00:00
Jean Delvare cb15ddc856 Update pc87366 entry.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2547 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-18 17:09:13 +00:00
Jean Delvare aa2149f032 The driver now supports thermistor inputs (PC87366). Update
fan clock divisor info.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2544 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-17 18:37:12 +00:00
Mark D. Studebaker c218c9a885 add more info on accuracy
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2535 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-15 16:59:08 +00:00
Jean Delvare 7f22c17c1b Update links to my own pages.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2513 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-08 15:48:07 +00:00
Jean Delvare adcd61f1c5 Update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2508 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-08 10:15:57 +00:00
Jean Delvare 4ef5ecd429 Inverse beep bits of the as99127f in the driver rather than in the
user-space.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2504 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-02 13:49:14 +00:00
Jean Delvare cc405777c3 Misc fixes.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2480 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-26 17:01:24 +00:00
Jean Delvare 635b1b06bc Support the LM99 (and LM89).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2471 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-24 08:10:48 +00:00
Jean Delvare 61ecbe0b81 Fix min fan speed.
Update limitations.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2461 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-20 17:55:41 +00:00
Jean Delvare db71a2a1a4 Support voltages and temperatures of National Semiconductor
PC87365 and PC87366 (read-only).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2453 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-19 19:46:14 +00:00
Mark D. Studebaker f3c310b5ea regenerated with makeinfo 4.7
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2450 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-18 13:46:16 +00:00