Commit Graph
2389 Commits
Author SHA1 Message Date
Jean Delvare 342b8a2c04 Return error values in detect.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2431 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-10 14:09:50 +00:00
Jean Delvare 2104a15719 Update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2430 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-10 05:57:50 +00:00
Jean Delvare 2901509e24 Correctly set the chip name depending on the type.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2429 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-09 18:57:41 +00:00
Jean Delvare bcfb34bcb7 Drop PWM support for as99127f. Update AS99127F docs.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2428 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-09 18:50:43 +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 4c32b1a881 Fix hyst temp for 2.6 lm75, lm78 and gl518sm. Shame on me.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2426 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-09 17:19:10 +00:00
Jean Delvare c0deaa79c2 Additional configuration info for Epox motheboards (w83697hf).
Thanks to Thomas Schorpp for feedback. Closes ticket #1635.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2425 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-08 19:50:40 +00:00
Jean Delvare 2652853d44 Patch dmi_scan.c in kernel instead of adding our own module.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2424 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-07 20:18:08 +00:00
Jean Delvare af741a7b4d Move IBM detection into dmi_scan.c.
Delete dmi_scan.h, now useless.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2423 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-07 18:36:19 +00:00
Jean Delvare 89749d347b Premliminarily support PC87365 and PC87366.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2422 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-07 18:32:18 +00:00
Jean Delvare 478a83d656 Revert bogus assumption that magnitude of sysfs files can only be
0 or 3.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2421 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-07 18:03:14 +00:00
Jean Delvare 1a7c4d2eed Also support the PC87365 and PC87366.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2420 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-07 17:59:38 +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
Jean Delvare 26d763bb48 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@2418 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-07 17:27:50 +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
Mark D. Studebaker b81fc46380 add 655 support
patch from Ken Healy <k.healy@student.ucc.ie>

This patch experimentally enables SiS 655 support by the i2c-sis645 driver.

It simply modifies the driver to also accept the SiS 655 as a valid host
bridge.

Partially tested on a Gigabyte GA-SINXP1394 (SiS655/963), no problems so far.
Driver successfully enables the SMBus controller, i2cdetect finds the usual
devices, and i2cdump successfully reads the DIMM SPD eeprom's.

The patch is against the lm_sensors-2.8.5 release.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2415 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-06 02:01:09 +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
Philip Edelbrock 3c86797e3d (Phil) Tag and release 2.8.6
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2412 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-05 17:29:20 +00:00
Jean Delvare 092aae7ffe Fix bogus memset (similar to a recent fix to the eeprom driver).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2410 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-04 07:16:30 +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 24b124e07e Update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2408 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-03 15:04:14 +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 4a828818d5 Update status.
Update URI of Joe's site.
        Add link to pwcrack.com.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2406 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-01 17:40:57 +00:00
Jean Delvare 3307085b6b 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@2405 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-04-01 05:48:18 +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 a46739aa1d Update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2402 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-29 17:52:06 +00:00
Jean Delvare 32b628a4fa Fix bogus memset. Reported by Ralf Roesch.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2401 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-29 17:25:15 +00:00
Jean Delvare cbc73ddca1 Add a white space before Volt symbol in pcf8591. Reported by
Aurelien Jarno.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2400 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-28 15:28:25 +00:00
Jean Delvare 3955186c10 Update pcf8591 default configuration, make it compliant with 2.6
driver.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2399 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-28 15:27:26 +00:00
Jean Delvare fb5c1fd230 Change pcf8591 magnitude (libsensors only) so as to display
values in pseudo-volts, much like what the 2.6 driver handles.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2398 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-28 13:01:34 +00:00
Jean Delvare 46867ff39c Backport a few fixes from 2.6:
* remove two unused structure members
* remove needless kind checks (only one kind)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2397 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-28 12:00:42 +00:00
Jean Delvare 6828de49ec Support 2.6 pcf8591 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2396 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-28 11:48:58 +00:00
Jean Delvare 835d3937dd Backport misdetection prevention patch from 2.6:
* Use unused bits of two more registers (configuration and conversion
rate) to reduce misdetections.

* Return with -ENODEV if the detection fails.

* Change the order in which we try to identify the chips. We better
finish with the LM84 and the MAX1617, in this order, because they are
harder to identify and are more likely to result in false positives.

* Refine LM84 detection. The LM84 has less features than the other chips
(chip cannot be stopped, conversion rate cannot be set, no low limits)
so it has extra unused bits.

* Do not intialize the chip if it was detected as an LM84. This one
cannot be stopped so why would we try to start it again? And as said
right before, conversion rate isn't changeable either.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2395 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-27 16:12:20 +00:00
Jean Delvare 1022db4ca3 Autodetect if we need to link against libiconv.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2394 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-27 10:30:04 +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 57d7f9c0ef Do not initialize more bits than needed.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2391 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-25 19:05:40 +00:00
Jean Delvare 652c1790cf Updates.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2390 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-22 20:02:35 +00:00
Jean Delvare 80618f354d Trivial fixes.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2389 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-22 19:55:12 +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
Jean Delvare 8028a99ac0 Print the degree symbol in the terminal's current locale. Original
patch by Aurelien Jarno.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2387 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-21 18:57:09 +00:00
Jean Delvare baee14b641 Drop out-of-date comment about semi-static allocation.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2386 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-21 17:28:36 +00:00
Jean Delvare 416bfd8e68 Fix typo.
Discard it8507-* and it8712-*.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2385 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-21 16:49:41 +00:00
Jean Delvare fc0c6e324b Rename variables for consistency.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2384 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-21 16:47:43 +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
Jean Delvare 67a0c882aa Skip isadump on non-x86 architectures. Patch by Aurelien Jarno.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2382 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-21 13:10:26 +00:00
Jean Delvare 434874ba7d Support it87 in7 and fan3. Patch by Aurelien Jarno.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2381 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-03-21 10:35:49 +00:00