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
Frodo Looijaard
0ee18505f5 Oops?!? the chips.h include file of the library was not installed?!?
I wonder how people using libsensors managed to work without it...


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@212 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-10 14:59:56 +00:00
Philip Edelbrock
25a196faf1 (Phil) Added Mark D. Studebaker's (<mds@eng.paradyne.com>) bus driver
for the SMBus host on Acer Labs Inc. (ALI) M1541 and M1543C South Bridges.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@211 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-10 04:33:01 +00:00
Frodo Looijaard
9f600e9c2c Documentation updates, small bug fixes
I am trying to create a more-or-less standard documentation format for
doc/chips/* files. I am not quite satisfied with the lm75 and lm78 docs
yet, but it is starting to come. Basically, I want as much information
in it as possible, and to generate most of it automatically. But that is
harder than I though it would be.

Also, a small library bugfix (class problem) and a doc-features fix.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@210 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-09 23:57:27 +00:00
Frodo Looijaard
ed5aeab91c Corrected Acer device id; fallback in case a device is unknown to the
kernel.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@209 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-09 22:41:58 +00:00
Frodo Looijaard
5ff3e45aa0 New program: doc-features
This program automatically documents the available features for each chip.
Basically, it translates the data in lib/chips.c back to a human-readable
format.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@208 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-09 15:59:24 +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
Frodo Looijaard
ef520b720d Manual page for the sensors(1) command
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@206 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-08 20:13:56 +00:00
Frodo Looijaard
73026248d4 Man-pages
I finally merged in Adrian's man-pages. libsensors.3 is unchanged from his
version; sensors.conf.5 is heavily edited, not because he did a bad job,
but because his source material was not very well written :-). It should
now tell you more about the config file than you ever wanted to know...


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@205 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-08 19:57:30 +00:00
Philip Edelbrock
724d51f5f4 (Phil) Just some minor updates. It probably could benefit from a good
looking over by others, too.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@204 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-07 20:55:27 +00:00
Frodo Looijaard
76363d959e Added Aladdin chipset to detect program.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@203 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-07 19:13:02 +00:00
Kyosti Malkki
9ab5512ee3 (Kyösti) Modifications in makefiles to reflect the changed location
of i2cdetect.c from prog/dump to prog/detect. Should now compile cleanly.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@202 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-07 15:34:51 +00:00
Philip Edelbrock
9155afb864 (Phil) Moved i2cdetect.c from prog/dump to prog/detect. Be sure to do a
'cvs update'.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@201 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-07 02:28:08 +00:00
Philip Edelbrock
5f3330bea8 (Phil) Added documenation for the Linear Technology LTC1710.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@200 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-07 02:10:33 +00:00
Kyosti Malkki
26ebdf4fa3 (Kyösti) SiS5595 documentation forwarding you to LM78 documents.
Renamed sensors entry from "SiS 5595 Sensor-*" to "sis5595-*"
Added this name in sensors.conf.eg to use lm78 names for inputs.
Small related document updates.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@199 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-07 01:58:06 +00:00
Philip Edelbrock
945198257b (Phil) Added documentation for the ADM1021.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@198 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-07 01:28:20 +00:00
Philip Edelbrock
bfccc6a6e3 (Phil) Added some ADM9240 documentation.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@197 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-07 00:55:27 +00:00
Kyosti Malkki
79aed13889 (Kyösti) Support for the sensor hardware in SiS 5595. This has an
integrated LM78, so the driver is only a customized copy of lm78.c
This southbridge can also do i2c, but this not enough documented in
the datasheet. So i2c is currently not supported.

Some cosmetic changes for VIA driver and documentation.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@196 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-06 12:04:48 +00:00
Frodo Looijaard
7ecccc1ff0 The beginnings of the detect program
Right now, it can detect several adapters: the PIIX4, the VIA Southbridge and
the SIS southbridge. The tough stuff will be the separate devices...


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@195 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-06 01:04:57 +00:00
Frodo Looijaard
b9b60a0195 Automatically delete old kernel modules on a 'make install'
It tries to delete bit-via.o, bit-mb.o, isa.o and piix4.o in the module
install directory.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@194 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-05 13:25:49 +00:00
Philip Edelbrock
b86777ddd3 (Phil) Changed voltage scalers to (slightly more?) sane values.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@193 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-05 07:47:13 +00:00
Philip Edelbrock
c5ccb700b2 (Phil) Minor change in initialization of device. Hopefully this will
turn the device 'on' correctly so it starts monitoring.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@192 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-05 02:33:53 +00:00
Frodo Looijaard
552a504b87 Update of TODO list
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@191 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-03 00:33:55 +00:00
Frodo Looijaard
6fe26d90fe PROC_CALL ioctl hook in i2c-dev added
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@190 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-02 17:13:00 +00:00
Frodo Looijaard
e5abaab541 2.2.x kernel PAGE_MASK bug work-around.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@189 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-02 17:01:32 +00:00
Frodo Looijaard
92a1100bcb Slight update in docs
Added Kyösti to the contributors list. Put the CDRom bug in the BUGS file.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@188 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-02 16:54:55 +00:00
Kyosti Malkki
4928c0d7bc (Kyösti) : Via driver and related documentation moved under
lm_sensors2 source tree. Improvements in VIA driver,
            now checks revision code and refuses to load the
            module if bit_test (in algo-bit) fails.
            (Also fixes previous unsuccessfull CVS commit)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@187 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-31 22:55:35 +00:00
Kyosti Malkki
e2f85d427e (Kyösti) : Via driver and related documentation moved under
lm_sensors2 source tree. Improvement in VI


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@186 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-31 21:29:53 +00:00
Frodo Looijaard
1554bc1d47 EXPORT_* fix for 2.1 kernels
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@185 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-29 13:46:09 +00:00
Frodo Looijaard
634cb32ac0 Update to the latest (mod-19990118) kernel archive
I really hope I did not forget an add or remove. If strange things happen
when you compile, please let me know.

There may still be problems with the EXPORT_* stuff; it seems to work now
for kernel 2.0.36pre19, but it may give trouble for earlier kernels. We
need to check that.

Some i2c modules may be a bit verbose at this moment.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@184 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-29 13:40:25 +00:00
Frodo Looijaard
a9ed098e1a Put the newest Simon Vogl archive in the archive directory
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@183 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-29 12:51:26 +00:00
Frodo Looijaard
065e52c2b1 Changed all isa.h references to i2c-isa.h
vi `find -type f|xargs grep -l isa.h` worked like a charm :-)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@182 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-29 00:17:11 +00:00
Philip Edelbrock
b1cb5b860b (Phil) Renamed isa.h to i2c-isa.h. Note: '#include "isa.h"'s need to be
updated.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@181 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-28 22:51:38 +00:00
Frodo Looijaard
face12a534 Stuff to get rid of the LM_SENSORS define
Until now, all installed include files depended on a #defined variable
LM_SENSORS: if it was defined, other files were included as "somefile.h"
instead of <linux/somefile.h>. This was clearly dangerous, and is fixed
now, by automatically deleting the offending lines from the include file
when it is installed.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@180 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-28 15:36:01 +00:00
Frodo Looijaard
f31a1f45f2 Makefile tweaks for the new kernel directory structure
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@179 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-28 14:45:20 +00:00
Philip Edelbrock
e05ff970ae (Phil) This is just a CVS test.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@178 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-27 19:23:32 +00:00
Philip Edelbrock
412327936e (Phil) Whoops.. minor typo fixed. Everything builds, and most modules
have been tested.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@177 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-27 06:21:46 +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
Philip Edelbrock
5d35c0d282 (Phil) Oh boy, here we go! :') This is the removal of the original files
found under lm_sensors2/src and moved to lm_sensors/kernel (and new
sub-directories), as suggested by Frodo (from his email):

  kernel (i2c-dev.c, i2c-proc.c, sensors.c, smbus.c, compat.h)
   |
   |-- include (smbus.h, sensors.h, i2c-dev.h, isa.h)
   |
   |-- busses (i2c-isa.c, i2c-piix4.c, i2c-via.c)
   |
   |-- chips (adm1021.c, adm9240.c, eeprom.c, gl518sm.c, lm75.c, lm78.c,
              lm80.c, ltc1710.c, w83781d.c)

There may need to be more shuffling of a few more files, but this is the
bulk of the movement.  Of course, none of this will compile without some
changes to the appropriate 'make' files.

Also note that this commit notes only the removal and not the insertion
of the copies because that insertions were done by hand on the CVS
repository its self.

Last note, the change history (and comment logs) are intact, but the tags
were removed on the new files (because the files didn't really exist when
the tags were first made).

Don't forget to do a 'cvs update -d', and to also remove lm_sensors2/src!


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@175 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-26 05:37:11 +00:00
Frodo Looijaard
eeddf2c5c7 Small Makefile typo fix
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@174 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-25 22:04:35 +00:00
Philip Edelbrock
bf7943bb69 (Phil) Added adm9240 and adm1021 entries into the lib and added VID
output to ADM9240.  Status/alarms values need to be implemented instead
of a raw output, but I'll do that too.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@173 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-24 00:15:12 +00:00
Philip Edelbrock
c55834ae8e (Phil) Added some simple detection (checks low byte of manufacturer ID),
and I fixed a small bug in the VID code (highest order bit was being lost).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@172 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-23 23:47:37 +00:00
Frodo Looijaard
d96873ab52 gl518sm alarms fix, more things TODO and a new useful address
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@171 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-18 23:14:07 +00:00
Philip Edelbrock
ac12669af9 (Phil) Released 2.1.2 (finally).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@170 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-16 22:35:30 +00:00
Frodo Looijaard
33269d5252 Small fixes to make all programs compile cleanly with libc6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@168 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-14 00:41:44 +00:00
Frodo Looijaard
fefbf31867 New program 'i2cdetect', which scans your i2c bus for connected devices
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@167 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-13 21:08:50 +00:00
Frodo Looijaard
1867246ee0 Documentation updates, and a very small print fix in i2cdump.c
Note especially the autoloading of i2c-dev by adding the following line
to /etc/module.conf (or /etc/conf.module):
  alias char-major-89 i2c-dev


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@166 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-13 21:00:04 +00:00
Frodo Looijaard
8c18675d85 i2c-dev is now working!
You can now use i2cdump to dump SMBus device registers!


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@165 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-13 20:47:52 +00:00
Frodo Looijaard
50573c910d More i2c-dev fixes
* Made some smbus.h symbols visible in non-kernel mode
* Some i2c-dev.h fixes


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@164 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-13 20:25:21 +00:00
Frodo Looijaard
351441d5d8 Added a program to dump the registers of an SMBus device. Do not try
it yet; there are still bugs, which cause kernel oopses.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@163 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-13 20:23:48 +00:00
Frodo Looijaard
21fafe4241 A small program to create /dev/i2c-* nodes
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@162 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-13 20:09:44 +00:00