Jean Delvare
783c6a0ed6
Adapt probing method to address. Should prevent any kind of
...
EEPROM corruption. Previous method (quick writes for every
address) can be forced with -q. Read bytes can be forced with -r.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2465 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-21 20:58:05 +00:00
Jean Delvare
8fa6d819ce
Drop LTC1710 support.
...
Disable EEPROM write-protection detection by default.
Use byte reads for probing on ranges 0x30-0x37 and 0x50-0x5F
(where EEPROMs live). This should efficiently prevent the
AT24RF08 corruption.
Rephrase IBM systems warning.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2463 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-20 19:40:02 +00:00
Mark D. Studebaker
379a2143d3
add code authors to man pages
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2456 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-20 01:25:22 +00:00
Jean Delvare
f32d63565a
Support ALi 1563 bus (Linux 2.6 only).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2455 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-19 19:53:23 +00:00
Mark D. Studebaker
588589924f
restore slave addr in eeprom_detect()
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2451 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-18 14:31:21 +00:00
Mark D. Studebaker
49754b948f
support detection of eeprom shadows we now know are
...
software write-protect registers.
prevent Vaio detection from running more than once.
update eeprom driver documentation.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2448 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-18 00:38:28 +00:00
Jean Delvare
8756685f86
Detect LM92, LM76, MAX6633, MAX6634, MAX6635.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2439 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-14 17:21:26 +00:00
Jean Delvare
4a6fb11424
Scan all logical devices of PC87365/PC87366.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2438 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-13 18:07:46 +00:00
Jean Delvare
731d350aeb
Explicitely support the ADM1028.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2433 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-10 17:24:46 +00:00
Jean Delvare
368979f60a
Add support of Analog Devices ADT7461 and ADT7467.
...
Improve support of Analog Devices ADM1027/ADT7460/ADT7463.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2432 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-10 16:45:48 +00:00
Jean Delvare
2cdac4e54a
The pc87360 driver now support the PC87365 and PC87366 as well,
...
and can write to registers. Untested.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2427 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-09 18:41:30 +00:00
Jean Delvare
6589dbb3d2
Rename pc87360-fan driver to pc87360.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2419 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-07 17:30:54 +00:00
Mark M. Hoffman
5f25412789
Add support for SiS655/SiS96x I2C bus.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2417 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-07 01:18:42 +00:00
Jean Delvare
d3e51c2084
More efficient Super I/O detection. Should reduce the I/O ports
...
hammering a lot.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2416 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-06 19:14:45 +00:00
Jean Delvare
d5e4af0245
List a few non-sensors Super IO chips.
...
Use a hash for modules list, for performance.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2414 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-05 19:01:14 +00:00
Jean Delvare
668dd20ac6
Review comments on Super IO chips declaration.
...
Add two SMSC Super IO chips.
Support 2.6 /proc/modules (with underscores).
Fix double input request for /etc/sysconfig creation.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2413 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-05 18:29:27 +00:00
Jean Delvare
bc84ffa4a1
Update superio comments.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2409 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-03 18:26:21 +00:00
Jean Delvare
01bf87d950
Refactor Super IO data.
...
Support Super IO chips at 0x4e.
Better devfs compatibility.
Misc cleanups in ISA and Super IO user interaction.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2407 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-03 14:55:45 +00:00
Jean Delvare
c1d0ddea28
Even stricter MAX1617 and LM84 detection tests.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2404 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-31 19:17:02 +00:00
Jean Delvare
18d6d587cc
Preleminary (read-only) National Semiconductor PC87360, PC87363
...
and PC87364 fan monitor and controller support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2403 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-31 18:58:05 +00:00
Jean Delvare
a1b40ade8b
Rework adm1021 and clones detection. Should hopefully prevent more
...
misdetections.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2393 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-27 09:19:31 +00:00
Mark D. Studebaker
6dd6a90af5
add smart battery manager and charger detection
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2392 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-27 02:50:11 +00:00
Jean Delvare
3d7dcf2574
New manual pages, courtesy of the Debian folks.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2388 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-22 19:53:44 +00:00
Mark D. Studebaker
0b1c5d4a03
fix broken smart battery detection
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2383 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-21 16:40:46 +00:00
Mark D. Studebaker
e1c8fe7676
scan address 0x03 again
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2377 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-20 17:23:31 +00:00
Mark D. Studebaker
d9ab520272
spelling fix
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2375 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-20 16:10:39 +00:00
Jean Delvare
453d6dc1e0
New Perl script, scans sensors-detect and prints statistics.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2373 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-20 10:33:51 +00:00
Jean Delvare
1a4c1fe191
Drop support of undetectable adapters.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2372 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-20 09:29:50 +00:00
Jean Delvare
e3ced8dff4
Do not scan 0x00-0x03 and 0x78-0x7f by default. Can be forced
...
with -f.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2371 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-20 08:38:20 +00:00
Jean Delvare
0fb8b6f04b
Add support for the PCA9540.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2367 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-19 18:22:30 +00:00
Jean Delvare
77468b7dfc
Add a "white list" of IBM systems.
...
Limit i2c addresses scanning.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2365 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-19 18:07:01 +00:00
Jean Delvare
36329a0336
Support SMSC 47B27x.
...
Fix bogus comment.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2364 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-19 17:57:42 +00:00
Mark M. Hoffman
dbf8948a78
Added custom detection for some SiS chipsets. This resolves a long-
...
standing false detection problem. Other changes in support of this custom
detection:
1) Changed pci_list to a hash, with keys of the form "1039:0016"
2) Added @kernel_version detection and comparison routine (thanks Khali)
3) Removed legacy sub: read_proc_pci
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2358 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-15 04:23:54 +00:00
Mark M. Hoffman
c4ca60614b
Fix pattern match for sis645
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2354 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-14 17:57:15 +00:00
Jean Delvare
dc8835e31f
Add ALi M5879 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2353 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-13 18:29:26 +00:00
Jean Delvare
d3d6231f3c
Suggest that default answers are good.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2351 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-09 22:08:32 +00:00
Jean Delvare
1a5df45d8b
Add MAX6900 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2347 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-08 20:49:08 +00:00
Mark D. Studebaker
2edf79f350
don't print device ID if 0
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2338 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-05 04:31:10 +00:00
Jean Delvare
f5f14fb585
Fix 47B27x device ID.
...
Do not hardcode ports in exit_superio().
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2331 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-03 20:19:10 +00:00
Jean Delvare
476217a3b3
More Super IO chips. Reworked exit sequences policy.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2330 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-02 21:05:44 +00:00
Jean Delvare
b1d14ec032
Enable IT8705 and Nat'l PC87366 Super IO detection.
...
Use the same escape sequence for all Super IO chips.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2329 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-29 22:14:01 +00:00
Jean Delvare
b769ea66c5
Fix broken superio exit sequence handling.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2323 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-28 22:00:35 +00:00
Jean Delvare
1397060c61
Add GeForce FX 5600 as supported by rivatv.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2303 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-21 18:50:57 +00:00
Jean Delvare
ed4282e27c
Add support for W83L785R. Improve W83L784R/AR.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2301 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-21 13:51:57 +00:00
Jean Delvare
c97dfa8fde
Add support for the W83637HF.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2289 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-13 18:10:43 +00:00
Jean Delvare
68730b9590
Add heuristics to the LM80 detection function. Should prevent
...
misdetections. Thanks to Lennard Klein for testing.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2283 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-11 22:07:02 +00:00
Jean Delvare
af8f2cdf9f
Driver fscher is ready.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2263 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-02-02 22:05:51 +00:00
Jean Delvare
f86e3d4aa7
Ensure /usr/local/sbin is in runner's path.
...
Fix /sbin too.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2227 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-01-18 07:26:37 +00:00
Mark D. Studebaker
64aeb747a4
remove -o and -g args to install
...
Date: Thu, 18 Dec 2003 22:42:36 +0100
From: Haakon Riiser <haakon.riiser@fys.uio.no >
To: sensors@Stimpy.netroedge.com
Subject: lm_sensors 2.8.2 / DESTDIR / root
The reason for this email is that I always try to avoid running
Makefiles as root, even during 'make install'. Therefore, I
always use the DESTDIR feature, when it's available. Until today,
I always built i2c and lm_sensors by doing
$ make
$ make -i install DESTDIR=/foo
$ cd /foo && su root && fix permissions/ownership && install
The -i flag to make install is a kludge to avoid having to be root
while installing to the DESTDIR, and it's only required because
the files are installed with "-o root -g root". Using the -i
flag is of course not a good idea, since more fatal errors can
easily fly by undetected.
Today, I upgraded to Linux 2.6.0, and tried a similar install
procedure for lm_sensors, except that the make target is now "user"
and the install target is "user_install". I now noticed that the
DESTDIR variable is not used everywhere in "user_install", so I
couldn't use the -i kludge anymore. Instead, I wrote a patch that
removes the "-o root -g root" arguments to install everywhere, and
I also tried to add DESTDIR to all files/directories installed.
(The patch only applies to lm_sensors, not i2c, since only
lm_sensors is required in Linux 2.6.0.)
There's really no reason to say -o root -g root anyway, since if you
do install directly with make install, you have to be logged in as
root, and then the files will get the right ownership by default.
Much of the point of installing to a temporary DESTDIR is that you
don't have to be root, and that you can prepare the installation
by hand. Fixing the ownership is trivial:
chown -R root.root $DESTDIR
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2189 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-23 23:13:38 +00:00
Jean Delvare
5c4b5f75d5
rpath patch by Joerg Dorchain <joerg@dorchain.net>.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2185 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-16 19:59:50 +00:00