2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-26 03:48:12 +00:00

65 Commits

Author SHA1 Message Date
Frodo Looijaard
300b6bd6d7 Removed 'bit 0-6 of LM75 word read must be zero' detection check, as
it is not necessary true, as proved by Ben Jarvis


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@445 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-05-05 15:51:42 +00:00
Frodo Looijaard
6e95f32c93 Fixed small merging bug in sensors-detect
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@432 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-29 19:18:39 +00:00
Frodo Looijaard
1ade24f919 Geert's PPC support and Hydra driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@430 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-28 18:18:12 +00:00
Frodo Looijaard
a30f405e6e Added warning about addresses 0x69 and 0x6a on the PIIX4 before
probing it for connected chips.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@410 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-22 13:08:59 +00:00
Frodo Looijaard
2c4f8804a5 New program doc-insmod.pl to automatically document the insmod
parameters of a module.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@389 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-14 20:05:16 +00:00
Frodo Looijaard
647ad6e2b7 MAX1617A chip support (both driver and detect)
This one was easy. A MAX1617 is just a MAX1617A with better detection.
Life is beautiful!


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@375 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-10 00:05:10 +00:00
Frodo Looijaard
67689f6f5d Added detection and insmod parameters for the LTC1710
Detection is completely impossible, but sensors-detect now assumes with a
confidence of 1 (the lowest possible) that any chip in the LTC1710 address
range is a real LTC1710. Perhaps I should remove this again, as I don't
think this chip will be encountered 'in the wild' if your name is not Phil -
in which case you would have soldered it to your SMBus yourself, so you
should know what you are doing...


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@372 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-08 19:33:03 +00:00
Frodo Looijaard
5aebed32c6 Corrected ADM1021 and MAX1617 detection
Address 0x2b was also scanned, though it was not in the address range


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@366 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-07 19:08:47 +00:00
Frodo Looijaard
18f0aa90cd Corrected gl5*sm detection error: it looked for it on address 0x4[cd]
instead of 0x2[cd]


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@364 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-07 18:37:36 +00:00
Frodo Looijaard
70a35fa068 Solved a bug which made the detect program unrunnable, as reported by
Mark.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@355 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-04-02 22:38:47 +00:00
Mark D. Studebaker
1067bc4d69 added ds1780 recognition/support. untested.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@349 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-29 00:58:55 +00:00
Frodo Looijaard
15cf77b3b4 Taught the w83781d module about insmod parameters
Also fixed a small lm78 problem and synchronised the detect script with
the Winbond detection.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@341 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-24 21:28:22 +00:00
Frodo Looijaard
bdb8f575b7 sensors-detect new feature
The detection program can now be told that it should probe for more
addresses than the kernel driver module; it automatically generates
the necessary insmod parameters for the module if chips are found on
these non-standard addresses. Very useful for the LM78, for instance;
the driver still only check 0x20-0x2f, but the probe program checks
all addresses.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@336 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-23 21:48:41 +00:00
Frodo Looijaard
b4b1293b25 LM78 insmod parameters and better detection
Supported insmod parameters:
  ignore, ignore_range
  probe, probe_range
  force, force_lm78, force_lm78j, force_lm79

force* overrules ignore* overrules probe*

The *_range parameters need three elements for each specification:
  bus,start_addr,end_addr
The address ranges are inclusive.
The other parameters need two elements for each specification:
  bus,addr
In each case, '-1' stands for 'any I2C bus', and 9191 stands for
'the ISA bus' (Bonus question: who can figure out why I choose 9191?)
In each case, just append if you want several specification, for example:
  insmod lm78 probe=9191,0x2a0,1,0x56

force_* does no detection, not even chip detection; it blindly assumes
you know what you are doing. plain force does the chip detection, but
nothing else; but it can still fail if the register read-out does not
match a chip type.

Detection is done in exactly the same way as sensors-detect, except that
only the range 0x20-0x2f is examined by default. This needs to be
synchronized somehow with the detect script. I would rather scan the whole
I2C address range, but with those clueless PIIX4 hangs when clock chips
are read, that would simply give too much trouble.

The detect script has slightly better ISA detection now, too.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@325 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-19 06:25:02 +00:00
Frodo Looijaard
96ac13566f Finished renaming of detect.pl
* Either Phil had not done a 'cvs update', or I forgot a 'cvs commit'; anyway,
  the last changes to detect.pl have been ported to sensors-detect.
* Added a rule to the Makefile fragment to install it in $(SBINDIR).
* Added SBINDIR to the main Makefile.
* Deleted detect.pl


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@323 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-18 15:12:01 +00:00
Frodo Looijaard
a9a3659fe9 Minor fixes
* No more redefined complaints of MODULE_* symbols for 2.0 kernels
  This was introduced by the last archive of Simon
* Correct load order of adapters in detect script modprobe report
  You can't assume things come out of a hash in the same order as you
  put them in, of course :-(


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@303 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-10 20:31:58 +00:00
Frodo Looijaard
64c192a880 Updated CONTRIBUTORS file. Phil, you may want to synchronize it
with your web version.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@301 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-10 01:17:15 +00:00
Frodo Looijaard
d415d98250 Now modprobe line printing handles alias detections too.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@299 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-09 18:11:26 +00:00
Frodo Looijaard
c945d59bbf Added automatic generation of modprobe lines. Also corrected SIS
detection bug

The lesson of today: the control variable in foreach loops is local to the
loop and regains his former value on exit of the loop. Oops.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@298 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-09 16:19:30 +00:00
Frodo Looijaard
7050256b5d Last bug removed (ha!)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@296 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-03 14:18:01 +00:00
Frodo Looijaard
d9e5165439 There we go again... nothing new, except the obvious bug fix. Sigh.
I hope that CVS supports revision numbers of at least seven digits...


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@292 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-02 11:13:46 +00:00
Frodo Looijaard
bf3be66993 More bug fixes. Try again, etc.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@291 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-02 10:04:21 +00:00
Frodo Looijaard
d3a1413c01 Finally fixed the misdetect error.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@290 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-02 08:08:29 +00:00
Frodo Looijaard
3885d0c4a2 Alias detection typo fixed.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@287 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-01 16:18:28 +00:00
Frodo Looijaard
bae506f2df Modified LM75 detection again. It should now be better.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@286 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-01 13:49:06 +00:00
Frodo Looijaard
a900525440 Solved i2c_sub_addrs not being printed problem (I hope)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@285 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-03-01 13:27:57 +00:00
Philip Edelbrock
da3af62988 (Phil) Altered LM75 detection slightly to find my LM75.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@284 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-28 21:24:16 +00:00
Frodo Looijaard
bb8f03cea5 Some internal changes
* Redid the internal report structure
* Separated the report function from main
* Rewrote the structure insertion functions

All in all, the functions have become much more readable and maintainable.
The downside: there are almost certainly new bugs created.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@281 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-28 17:41:46 +00:00
Philip Edelbrock
1a4bc3d1dd (Phil) OK, I changed my mind. Last commit for the eeprom detection
stuff, I hope!


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@280 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-28 17:37:50 +00:00
Philip Edelbrock
a13e4335f8 (Phil) A little bit improved reporting for the eeproms.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@279 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-28 17:32:59 +00:00
Philip Edelbrock
142256a075 (Phil) Getting closer to better EEPROM detection. Checksum test now
works for EEPROMs on PC-100 DIMMs.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@278 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-28 17:24:41 +00:00
Philip Edelbrock
a556f7d706 (Phil) Added beginning detection for serial EEPROMs. Right now if it
finds anything within 0x50-0x57, it will claim it is an EEPROM with a
confidence of '1' (the least confidence).  Using the PC-100 SPD spec
I should be able to add better detection, at least for serial EEPROMs
on PC-100 SDRAM DIMMs.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@276 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-28 16:17:49 +00:00
Frodo Looijaard
41585468c6 Hopefully, the summary is better now. I'm not convinced it is
complete yet.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@275 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-25 12:23:04 +00:00
Frodo Looijaard
8f952fb324 Corrected alias detection
I forgot to set the I2C address correctly, so it was always comparing with
device 0x00 :-(


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@274 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-25 08:37:29 +00:00
Frodo Looijaard
4e7910569f Fixed a few display glitches, as well as a partially empty line for
ISA misdetections.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@273 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-25 08:30:04 +00:00
Frodo Looijaard
57e3c6a28e smbus_access fix in isa detection routines.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@272 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-24 01:33:18 +00:00
Frodo Looijaard
2fd866bf42 Winbond detection fix.
It should now correctly prefer the Winbond above the LM78 for ISA probes.
I hope.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@271 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-24 01:16:40 +00:00
Frodo Looijaard
cf8f722ab7 Latest fixes for Adrian's latest bug report (got deja-vu yet?)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@270 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-24 01:12:05 +00:00
Frodo Looijaard
5efb1b0535 Fixed typo.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@269 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-24 00:28:05 +00:00
Frodo Looijaard
4d0315d601 Selective probing of I2C busses added.
All main functionality is now available; please test and send the output
of the summary to me!


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@268 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-24 00:22:52 +00:00
Frodo Looijaard
9392875415 Added Sis5595 detection
All supported chips are now detected, both on the ISA bus and the I2C bus.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@267 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-23 23:16:09 +00:00
Frodo Looijaard
63848afc0b Alias detection completed for Nat. Sem. LM7* and Winbond chips
A few ISA detections must still be added; also, I want to add the option not
to scan certain I2C addresses.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@266 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-23 20:28:05 +00:00
Frodo Looijaard
cfece5dd19 ISA detection is completed for LM7x and W8378xx
No alias detection (ie. detection of chips connected to both ISA and I2C bus)
is done yet; but all hooks are in.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@265 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-23 14:14:32 +00:00
Frodo Looijaard
0411f7810c Basic ISA probing added, not yet called
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@264 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-22 20:40:16 +00:00
Frodo Looijaard
0560ad7508 More detect bugfixes, this time before Adrian can find them :-)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@263 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-22 19:51:49 +00:00
Frodo Looijaard
c970185246 Several detect things:
* W83782D and W83783S detection added;
* Adrian's latest Winbond detection problem solved;
* inb/outb added (not used yet)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@262 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-22 18:20:35 +00:00
Frodo Looijaard
44d0906e31 Fixed Winbond LM75 emulations non-detect
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@261 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-20 14:40:24 +00:00
Frodo Looijaard
5aa9472f10 ADM1021/MAX1617 now reports the right driver;
Winbond now correctly detected.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@260 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-20 01:15:00 +00:00
Frodo Looijaard
2109930938 Winbond should now overrule the LM75
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@259 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-20 00:54:55 +00:00
Frodo Looijaard
873a6ff023 Fixed small bug, which caused the lowest confidence value to be
selected, instead of the highest (try again now, Adrian)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@257 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-02-19 20:23:29 +00:00