2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 14:25:39 +00:00
Commit Graph

2505 Commits

Author SHA1 Message Date
Jean Delvare
add66b1875 Undo unacceptable hack. Better let things crash if they would,
at least we'll be able to investigate.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2092 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-24 20:18:47 +00:00
Mark D. Studebaker
b62467b7fe updates
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2091 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-24 02:35:03 +00:00
Jean Delvare
4277208906 Remove nasty comment. No, freeing memory is not "strictly
optional."


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2090 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-23 21:26:37 +00:00
Jean Delvare
576aeb20d9 Fix broken strerror call.
Fix several memory leaks.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2089 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-23 21:24:07 +00:00
Jean Delvare
44ff677255 Fix memory leak.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2088 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-23 21:20:57 +00:00
Mark D. Studebaker
f393a88321 bus number is decimal, not hex
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2087 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-22 22:27:47 +00:00
Mark D. Studebaker
1ec05114f4 cleanups
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2086 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-22 22:27:19 +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
e90563ba2f Prevent LM80 misdetections.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2084 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-21 23:12:04 +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
Jean Delvare
b1c4ef69cf Remove ddcmon support. Was broken, and what's the point in
monitoring constant values anyway?


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2082 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-21 20:19:08 +00:00
Mark D. Studebaker
a978c11e94 adjust some mappings; map hyst to min to match what's in kernel -test8/9
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2081 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-21 04:07:22 +00:00
Mark D. Studebaker
5b3e375ef9 add sysfs mappings for non-standard via686a inx
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2080 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-21 04:06:48 +00:00
Mark D. Studebaker
5cef938a0e remove isaset accidentally added in
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2079 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-21 04:05:48 +00:00
Jean Delvare
fac7416e85 Don't use -u2 for diff. Suggested by Troy Henderson.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2078 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-19 21:35:04 +00:00
Mark M. Hoffman
c00cd7ae4f Added links to GKrellM and smartmontools.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2077 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-19 05:34:19 +00:00
Mark D. Studebaker
401f8ce7f2 add getsysname() function which converts standard /proc names to
standard sysfs names and magnitudes


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2076 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-19 03:11:13 +00:00
Mark D. Studebaker
8b28191e86 add back non-standard sysmag for w83781d temps, as this is what
is in kernel right now (2.6.0-test8/test9). Also good for testing.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2075 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-19 03:10:41 +00:00
Mark D. Studebaker
3641c84289 revert previous change to w83781d. Standard conversion function
in proc.c does this for chips with standard names. Additional entries
      still req'd for chips with non-standard names.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2074 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-19 03:04:58 +00:00
Mark M. Hoffman
849d140dbb Fixed minor typo in table-driven do_a_print() that was preventing
auto-printing of unknown chips.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2073 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-18 04:46:54 +00:00
Mark D. Studebaker
1b96bef07c updates
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2072 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-18 02:37:51 +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 D. Studebaker
27cc3b8bf1 don't write to subclients
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2067 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-17 14:22:59 +00:00
Mark D. Studebaker
a6ba35fb66 add sysfs write support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2066 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-17 14:22:05 +00:00
Mark D. Studebaker
4f3ded5af9 use common function to print out available i2c busses;
add sysfs support to that function


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2065 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-17 03:04:09 +00:00
Mark D. Studebaker
e46771300d skip i2c subclients not hidden by sysfs
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2064 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-16 21:09:54 +00:00
Mark D. Studebaker
2f5734a929 sysfs
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2063 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-16 20:32:29 +00:00
Mark D. Studebaker
08e2eda9ff update error message to include sysfs info
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2062 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-16 20:17:30 +00:00
Mark D. Studebaker
6e2c2a4d69 correctly mark ISA chips with special ISA bus number
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2061 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-16 19:54:38 +00:00
Mark D. Studebaker
86a6cdbb06 retrieve i2c adapter name from sysfs
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2060 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-16 19:43:05 +00:00
Mark D. Studebaker
27e9877012 Add preliminary sysfs support. Two entries added to struct sensors_chip_feature.
chips.c support added only for w83781d as an example.
      Advance library version to 3.0.0.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2059 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-16 17:57:29 +00:00
Mark D. Studebaker
9876834233 add some abbreviations to make it more readable
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2058 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-16 17:41:24 +00:00
Mark D. Studebaker
3a25956e5c make do_a_print() table-driven
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2057 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-16 01:22:51 +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
4a0ac962d4 it87 updates
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2054 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-12 03:46:11 +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
3a0da75647 Add VPD method to detect IBM systems. In the long term, the other
methods (DMI and ACPI) are expected to become unnecessary.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2052 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-11 22:08:07 +00:00
Mark M. Hoffman
e93f810917 make it quit earlier if missing $(LINUX)/.config; also add note for
users of stock RedHat kernels


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2051 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-11 07:11:02 +00:00
Jean Delvare
fca824b795 Can have 4 temperature channels (LM83).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2050 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-09 12:14:28 +00:00
Mark D. Studebaker
9e6d84d135 add dependency on the kernel .config file; quit without it
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2049 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-09 03:00:31 +00:00
Mark D. Studebaker
bdebe88c28 handle multiple fans controlled by a single PWM
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2048 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-09 02:32:08 +00:00
Mark D. Studebaker
d0497c3452 detect W83637HF and W83697UF (no drivers yet)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2047 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-09 02:19:35 +00:00
Mark D. Studebaker
07e5024b77 updates...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2046 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-09 01:34:48 +00:00
Mark D. Studebaker
80514f3e2b clarify kernel dependency
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2045 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-09 01:29:56 +00:00
Jean Delvare
3c8f76f8b5 Add support for ADM1029, ADM1030 and ADM1031.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2044 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-08 11:13:46 +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