Jean Delvare
db27a07183
Support 2.6 gl518sm driver.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2250 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-30 20:57:38 +00:00
Jean Delvare
cfb191a884
Add necessary conversions for FSC chips.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2247 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-26 21:50:42 +00:00
Jean Delvare
6d3bdb9ba5
Use unbuffered I/O for 2.6 eeprom to benefit from driver
...
optimization.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2225 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-17 18:12:38 +00:00
Jean Delvare
1262c11c2f
Get rid of the lm90 hyst exception.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2211 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-09 21:35:27 +00:00
Jean Delvare
648fe2056f
Undo libsensors' hyst->min not needed anymore since linux
...
2.6.1-rc1.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2204 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-05 20:39:59 +00:00
Jean Delvare
cc6c1a12a4
Add support for the Linux 2.6 version of the lm90 driver.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2197 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-31 21:30:43 +00:00
Mark D. Studebaker
5ced89019d
better comments for getsysname()
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2196 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-30 22:21:40 +00:00
Mark D. Studebaker
ee719c4963
fix off-by-one bug with 2.6 eeprom handling
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2165 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-13 23:38:08 +00:00
Mark D. Studebaker
01c921f51d
add hack to support eeproms in 2.6 kernels
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2162 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-13 19:01:43 +00:00
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
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
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
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
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
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
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
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
e9c0fce42a
adm1026 and auto-sensors.h patch from P.P.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1777 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-08 21:33:39 +00:00
Kyosti Malkki
1cfe63804a
(Kyösti) Cleanups
...
Copy sysctl enums to chip drivers from sensors.h for now,
as seen in drivers included in 2.5 tree. File no longer included
from kernel side.
Apply i2c-proc change in CVS tagged -km2.
Partial clean and sort of includes everywhere.
Add i2c-dev.h, as a partial copy from i2c.
Add to sensors.h from i2c-proc.h to compile things.
Remove i2c-isa.h.
Reflect header file changes to lib/ and prog/.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1705 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-01-21 20:01:27 +00:00
Jean Delvare
04e0399c6f
Negative magnitude bugfix
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1597 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-11-10 23:13:38 +00:00
Mark D. Studebaker
a21694024e
Change from sensors_x to i2c_x for x =
...
_sysctl_real
_register_entry
_proc_real
_detect
_deregister_entry
_chips_data
which were the global symbols renamed in i2c-proc.[ch] in the
i2c package.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1101 7894878c-1315-0410-8ee3-d5d059ff63e0
2001-05-27 22:49:28 +00:00
Frodo Looijaard
24792039f6
Adrian's copyright patch applied
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@207 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-08 22:50:29 +00:00
Philip Edelbrock
ce7aea9a5a
(Phil) Made slight adjustments so the new file arrangement will build.
...
I added two new make file 'includes': busses/Module.mk and chips/Module.mk
Frodo- You may want to review the makefile structure to make sure that
the system works as you intended.
Note: The docs still need to be updated to reflect the new file arrangement,
but at least it builds!
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@176 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-27 06:10:00 +00:00
Frodo Looijaard
1654f21fc5
Some library cleanup; no interface changes
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@120 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-25 22:15:48 +00:00
Frodo Looijaard
849acbe439
More libary stuff
...
The bus translation functions.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@101 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-22 01:25:25 +00:00
Frodo Looijaard
f26b52021b
More library extensions
...
Most notably, config file line numbers are now stored, so we can now generate
better error messages.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@98 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-21 14:14:25 +00:00
Frodo Looijaard
730efd78ca
More library files
...
This brings the archive into synch with my harddisk...
Everything in the lib directory should compile without problems (yes, even
without warnings even if WARN=1). It is not well-tested, though, and there
are some minor functions which must still be added. It is now almost
usable.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@95 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-20 16:54:03 +00:00