* 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
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
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
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
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
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
definitely should not load.
Also fixed GL520 detection bug. Some other bugs are probably still there.
The report is generated using a very intricate data structure. There
can easily be hidden problems. Just test, test, test :-)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@255 7894878c-1315-0410-8ee3-d5d059ff63e0
It is already very usable, but not quite finished. The final product will
also collect the needed drivers, and output them as modprobe lines and/or
in other formats.
The most important thing right now is to test where possible the detection
algorithms.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@252 7894878c-1315-0410-8ee3-d5d059ff63e0
Well, it still takes some tinkering, and I need to create a user-interface.
If you want to play with it already:
* Uncomment the line beneath test, and put the adapter number (as
corresponding with /dev/i2c-*) behind it as argument;
* It only detects LM78, LM78-J, LM79 and LM80 at of this moment;
* Only LM75 detection is really tested, as I don't have my LM78 connected
to the SMBus.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@250 7894878c-1315-0410-8ee3-d5d059ff63e0
It needs to be expanded a bit and tested, but this means I can start to
write chip detection routines from Perl!
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@238 7894878c-1315-0410-8ee3-d5d059ff63e0
features of it:
- As long as the 'sensors' program works correctly, healthd.sh is compatible
with any hardware.
- Very low loading. Just sleeps (like me) most of the time.
- Easily customizable (very simple and short script).
Todo's/wants:
- Syslogging? I couldn't figure out how to syslog from bash shell (yet).
- After one test, it failed to be automatically 'spawned' from a rc.local
script. I did "healthd.sh &", but that didn't seem to work. Ideas?
- a history utility for making pretty plots and such.
- Written in 'C' for better functionality and efficiency?
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@229 7894878c-1315-0410-8ee3-d5d059ff63e0
(from the Greek meaning 'shortcoming').
A word electrical engineers like me learn to know and love.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@223 7894878c-1315-0410-8ee3-d5d059ff63e0
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
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
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