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

2074 Commits

Author SHA1 Message Date
Jean Delvare
0c3e17a4ec Fix sensors segfault on bus freeing (sysfs).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2111 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-29 17:44:30 +00:00
Jean Delvare
784d5be024 Add KT600 support to i2c-viapro.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2110 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-29 16:52:06 +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
9df0724a72 Install to BINDIR, not SBINDIR.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2108 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-29 13:29:59 +00:00
Jean Delvare
3bcb913c3f Add debugging code to trap systems that don't let libsensors
write to /proc. Define DEBUG to have it in, and use strace to
        get the result.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2107 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-29 13:28:54 +00:00
Jean Delvare
3bac773065 Fix typo.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2106 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-29 13:21:02 +00:00
Jean Delvare
f2652439ff Update copyrights and comments.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2105 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-29 13:20:21 +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
bd0840096c Compile with "-g -O" instead of "-O2" when DEBUG is set to 1.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2103 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-29 13:13:54 +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
e3a7d54722 add sysfs support to sensors-detect by using 'i2cdetect -l'
instead of 'cat /proc/bus/i2c'


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2101 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-28 05:10:32 +00:00
Mark D. Studebaker
82caa7986f add -l option to i2cdetect so 'i2cdetect -l'
can be used as a replacement for 'cat /proc/bus/i2c'


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2100 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-28 04:37:08 +00:00
Mark D. Studebaker
0872117cb9 eeprog program from
Stefano Barbato
	stefano@codesink.org


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2099 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-28 03:07:48 +00:00
Mark D. Studebaker
713f3eddb7 simplification
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2098 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-28 02:27:41 +00:00
Mark D. Studebaker
5bfcb08e18 report i2c-dev bus numbers rather than i2c-adapter numbers,
which may be different.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2097 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-27 23:53:10 +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
bd947e0fe5 add 'c' mode for consecutive address byte reads
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2095 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-26 03:45:18 +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
bd719fa164 put in more exceptions to match 2.6.0-test8/9/10 sysfs names and mags
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2093 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-26 02:02:37 +00:00
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